void-packages/srcpkgs/libksysguard/template

41 lines
1.4 KiB
Bash

# Template file for 'libksysguard'
pkgname=libksysguard
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 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=bc1ed804373865d3de51e5e1cf7ad11c4b71ea131110a3940725b04332caee52
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"
}
}