# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kio-extras pkgver=19.12.2 pkgrel=1 arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://www.kde.org/applications/internet/" pkgdesc="Additional components to increase the functionality of KIO" license="GPL-2.0-or-later (LGPL-2.1-only OR LGPL-3.0-only)" depends="kinit" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev karchive-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev kdoctools-dev kdnssd-dev kiconthemes-dev ki18n-dev kio-dev solid-dev kbookmarks-dev kguiaddons-dev syntax-highlighting-dev kpty-dev kactivities-dev phonon-dev samba-dev libssh-dev libmtp-dev gperf khtml-dev shared-mime-info nfs-utils-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/release-service/$pkgver/src/kio-extras-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # Requires running dbus-server prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="4586ef6f26c1f6e4491c9afc653052a18eb39f80d616b9ca6059c91e2a1bbc093dfd1055bba8680a542dafd42ae6e0de3d65bc64df34215aa7507e3be66d904d kio-extras-19.12.2.tar.xz"