From 68959b91562218777e3a53ce2bc5103186ca7c9f Mon Sep 17 00:00:00 2001 From: John Date: Sat, 25 Apr 2020 23:36:37 +0200 Subject: [PATCH] kparts: enable tests --- srcpkgs/kparts/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/kparts/template b/srcpkgs/kparts/template index 5d67cdd9a79..98612c96d76 100644 --- a/srcpkgs/kparts/template +++ b/srcpkgs/kparts/template @@ -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}"