libksysguard: add Qt5Webengine module on supported archs

This commit is contained in:
John 2020-03-18 16:31:44 +01:00
parent 6c5d1c8776
commit 1e711a1e0b
1 changed files with 9 additions and 2 deletions

View File

@ -1,11 +1,12 @@
# Template file for 'libksysguard'
pkgname=libksysguard
version=5.18.3
revision=1
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules gettext kauth qt5-host-tools qt5-qmake"
makedepends="plasma-framework-devel qt5-webchannel-devel" # add qt5-webengine later
makedepends="plasma-framework-devel qt5-webchannel-devel
$(vopt_if webengine 'qt5-webengine-devel qt5-location-devel')"
short_desc="KDE libksysguard"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
@ -13,6 +14,12 @@ homepage="https://projects.kde.org/projects/plasma/libksysguard"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=d46113b835cfa7561c7ebb1be5ae89200196befe77c9a53981b18141da381f81
build_options="webengine"
if [ "$XBPS_TARGET_ENDIAN" = "le" ] && [ "$XBPS_TARGET_WORDSIZE" = "$XBPS_WORDSIZE" ]; then
build_options_default=webengine
fi
libksysguard-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"