void-packages/srcpkgs/libplasma/template

41 lines
1.5 KiB
Bash

# Template file for 'libplasma'
pkgname=libplasma
version=6.1.1
revision=1
build_style=cmake
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools qt6-wayland-tools
qt6-declarative-host-tools wayland-devel gettext pkg-config
kf6-kconfig kf6-kirigami-devel kf6-kcmutils
kf6-kpackage"
makedepends="qt6-base-private-devel qt6-declarative-devel qt6-svg-devel
kf6-kcmutils-devel kf6-ksvg-devel kf6-ki18n-devel kf6-kwindowsystem-devel
kf6-kpackage-devel kf6-kiconthemes-devel kf6-kguiaddons-devel kf6-karchive-devel
kf6-kconfigwidgets-devel plasma-activities-devel wayland-devel
plasma-wayland-protocols qt6-wayland-devel"
short_desc="Plasma library and runtime components"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/plasma/libplasma"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=2f24f10cd232a29fa1dc5618ee300608e9b5dc7798a3e2fffb0a8e439cc422d0
do_check() {
cd build
# disable failing tests
ctest -E "plasma-dialogstatetest|dialognativetest|plasma-dialogqmltest|plasma-themetest|bug485688test|plasma-pluginloadertest"
}
libplasma-devel_package() {
depends="${sourcepkg}>=${version}_${revision} qt6-declarative-devel
qt6-base-devel kf6-kpackage-devel kf6-kwindowsystem-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}