void-packages/srcpkgs/libksysguard/template

41 lines
1.4 KiB
Bash

# Template file for 'libksysguard'
pkgname=libksysguard
version=6.0.5
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
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=ca954f5bb57700bd14bae3233a82094ea69d32271cc3edd6d32bcf38db23e177
build_options="webengine"
if [ "$XBPS_TARGET_ENDIAN" = "le" ] &&
[ "$XBPS_WORDSIZE" = 64 ] &&
[ "$XBPS_TARGET_WORDSIZE" = "$XBPS_WORDSIZE" ]; then
build_options_default=webengine
fi
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"
}
}