libksysguard: enable tests

This commit is contained in:
John 2020-04-25 23:35:20 +02:00
parent 2bd3b8150e
commit 54722c3343
No known key found for this signature in database
GPG Key ID: 5FDE97AF468A09B7
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,6 @@ pkgname=libksysguard
version=5.18.4.1
revision=1
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
$(vopt_if webengine 'qt5-webengine-devel qt5-location-devel')"
@ -20,6 +19,10 @@ if [ "$XBPS_TARGET_ENDIAN" = "le" ] && [ "$XBPS_TARGET_WORDSIZE" = "$XBPS_WORDSI
build_options_default=webengine
fi
pre_check() {
export QT_QPA_PLATFORM=offscreen
}
libksysguard-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"