libksysguard: add Qt5Webengine module on supported archs
This commit is contained in:
parent
6c5d1c8776
commit
1e711a1e0b
|
@ -1,11 +1,12 @@
|
||||||
# Template file for 'libksysguard'
|
# Template file for 'libksysguard'
|
||||||
pkgname=libksysguard
|
pkgname=libksysguard
|
||||||
version=5.18.3
|
version=5.18.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_TESTING=OFF"
|
configure_args="-DBUILD_TESTING=OFF"
|
||||||
hostmakedepends="extra-cmake-modules gettext kauth qt5-host-tools qt5-qmake"
|
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"
|
short_desc="KDE libksysguard"
|
||||||
maintainer="John <johnz@posteo.net>"
|
maintainer="John <johnz@posteo.net>"
|
||||||
license="LGPL-2.1-or-later"
|
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"
|
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=d46113b835cfa7561c7ebb1be5ae89200196befe77c9a53981b18141da381f81
|
checksum=d46113b835cfa7561c7ebb1be5ae89200196befe77c9a53981b18141da381f81
|
||||||
|
|
||||||
|
build_options="webengine"
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_ENDIAN" = "le" ] && [ "$XBPS_TARGET_WORDSIZE" = "$XBPS_WORDSIZE" ]; then
|
||||||
|
build_options_default=webengine
|
||||||
|
fi
|
||||||
|
|
||||||
libksysguard-devel_package() {
|
libksysguard-devel_package() {
|
||||||
short_desc+=" - development"
|
short_desc+=" - development"
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Reference in New Issue