diff --git a/srcpkgs/libksysguard/template b/srcpkgs/libksysguard/template index fd4a69d69d0..72d0cf50cf8 100644 --- a/srcpkgs/libksysguard/template +++ b/srcpkgs/libksysguard/template @@ -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 " 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}"