khtml: enable tests

This commit is contained in:
John 2020-04-25 23:37:47 +02:00
parent 68959b9156
commit 24c4a5f095
No known key found for this signature in database
GPG Key ID: 5FDE97AF468A09B7
1 changed files with 5 additions and 2 deletions

View File

@ -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}"