kparts: enable tests

This commit is contained in:
John 2020-04-25 23:36:37 +02:00
parent 54722c3343
commit 68959b9156
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=kparts
version=5.69.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules gettext
qt5-host-tools qt5-qmake python3"
makedepends="kio-devel"
@ -14,6 +13,10 @@ homepage="https://projects.kde.org/projects/frameworks/kparts"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b852bae4c38ec916ba6029fa7a7ff82bdfaa89beb601a4dd50a4c4f17951bb0f
pre_check() {
export QT_QPA_PLATFORM=offscreen
}
kparts-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"