# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=khtml pkgver=5.61.0 pkgrel=1 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=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="ed0522b43cdda4865c9eddd0839fa5042b1018ba38f25333b89b4044fb3d4e3d1e7da9d59c55aec07ff139a1c3bbd838c30983ed0d0d3340b20d34939892924b khtml-5.61.0.tar.xz"