From 24c4a5f0956bb6e47323fe34bfc9f16caef335cb Mon Sep 17 00:00:00 2001 From: John Date: Sat, 25 Apr 2020 23:37:47 +0200 Subject: [PATCH] khtml: enable tests --- srcpkgs/khtml/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/khtml/template b/srcpkgs/khtml/template index 2ad743e01b9..64ca3bbdef3 100644 --- a/srcpkgs/khtml/template +++ b/srcpkgs/khtml/template @@ -3,8 +3,7 @@ pkgname=khtml version=5.69.0 revision=1 build_style=cmake -configure_args="-DBUILD_TESTING=OFF - -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson" +configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson" hostmakedepends="kcoreaddons extra-cmake-modules gperf qt5-host-tools qt5-qmake python3 perl gettext" makedepends="kjs-devel kparts-devel jasper-devel giflib-devel libpng-devel" @@ -15,6 +14,10 @@ homepage="https://projects.kde.org/projects/frameworks/khtml" distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz" checksum=2c650bd976490dcb016216f94a73e5e58d83c51bcf6cb145875909f0882d231d +pre_check() { + export QT_QPA_PLATFORM=offscreen +} + khtml-devel_package() { short_desc+=" - development" depends="${makedepends} ${sourcepkg}>=${version}_${revision}"