39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
# Template file for 'libksysguard'
|
|
pkgname=libksysguard
|
|
version=5.27.4
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules gettext kauth qt5-host-tools qt5-qmake
|
|
kpackage"
|
|
makedepends="plasma-framework-devel qt5-webchannel-devel knewstuff-devel
|
|
libcap-devel libnl3-devel libsensors-devel ki18n-devel kconfig-devel kiconthemes-devel
|
|
$(vopt_if webengine 'qt5-webengine-devel qt5-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=e0128d0c515cba3fde36c4a5cf5872dbf4e58c29a0d297b84f32bcfbe622f8f8
|
|
|
|
build_options="webengine"
|
|
|
|
if [ "$XBPS_TARGET_ENDIAN" = "le" ] && [ "$XBPS_TARGET_WORDSIZE" = "$XBPS_WORDSIZE" ]; then
|
|
# qt5-webengine cannot be built for armv5tel
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
armv5tel*) ;;
|
|
*) build_options_default=webengine ;;
|
|
esac
|
|
fi
|
|
|
|
libksysguard-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="plasma-framework-devel qt5-devel libsensors-devel ki18n-devel
|
|
kconfig-devel kiconthemes-devel
|
|
${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|