41 lines
1.4 KiB
Bash
41 lines
1.4 KiB
Bash
# Template file for 'libplasma'
|
|
pkgname=libplasma
|
|
version=6.0.5
|
|
revision=4
|
|
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=d35765c039901e739b014ff92640c6cd4a4d8524c26fe4d00bd134d16ab0ccd2
|
|
|
|
do_check() {
|
|
cd build
|
|
# disable failing tests
|
|
ctest -E "plasma-dialogstatetest|dialognativetest"
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|