# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=khtml pkgver=5.58.0 pkgrel=0 pkgdesc="The KDE HTML library, ancestor of WebKit" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later AND LGPL-2.1-only" depends_dev="qt5-qtbase-dev perl-dev giflib-dev libjpeg-turbo-dev karchive-dev kcodecs-dev kglobalaccel-dev ki18n-dev kiconthemes-dev kio-dev kjs-dev knotifications-dev kparts-dev sonnet-dev ktextwidgets-dev kwallet-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev" makedepends="$depends_dev extra-cmake-modules gperf" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="f4bc0f9a5a6288e76efe79596957aefeff5757cb447c9752bd20fd6dc48a199311fdcce78c22696d66c5dc2ca509d4c3cde56c0335be1c8e19bf104544546824 khtml-5.58.0.tar.xz"