46 lines
1.5 KiB
Bash
46 lines
1.5 KiB
Bash
# Template file for 'libksysguard'
|
|
pkgname=libksysguard
|
|
version=6.2.0
|
|
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 gettext pkg-config qt6-tools qt6-base
|
|
qt6-declarative-host-tools kf6-kauth-tools kf6-kpackage kf6-kconfig"
|
|
makedepends="qt6-webchannel-devel kf6-knewstuff-devel libpcap-devel libcap-devel
|
|
libcap-devel libnl3-devel libsensors-devel kf6-ki18n-devel kf6-kconfig-devel
|
|
kf6-kiconthemes-devel kf6-kauth-devel kf6-solid-devel kf6-kservice-devel
|
|
$(vopt_if webengine 'qt6-webengine-devel qt6-location-devel')"
|
|
short_desc="KDE libksysguard"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/plasma/libksysguard"
|
|
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=0286a90d0ae1a856efec05cd3a34b695fb2521a3b5b56af2d900c19950228278
|
|
|
|
build_options="webengine"
|
|
|
|
if [ "$XBPS_TARGET_ENDIAN" = "le" ] &&
|
|
[ "$XBPS_WORDSIZE" = 64 ] &&
|
|
[ "$XBPS_TARGET_WORDSIZE" = "$XBPS_WORDSIZE" ]; then
|
|
build_options_default=webengine
|
|
fi
|
|
|
|
do_check() {
|
|
cd build
|
|
ctest -E "processdatamodeltest|cgrouptest"
|
|
}
|
|
|
|
libksysguard-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="libsensors-devel kf6-ki18n-devel
|
|
kf6-kconfig-devel kf6-kiconthemes-devel
|
|
${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|