# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=dolphin pkgver=19.12.1 pkgrel=0 arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://kde.org/applications/system/dolphin" pkgdesc="KDE File Manager" license="GPL-2.0-only" depends="udisks2" depends_dev="qt5-qtbase-dev kdoctools-dev kinit-dev kcmutils-dev knewstuff-dev kcoreaddons-dev ki18n-dev kdbusaddons-dev kbookmarks-dev kconfig-dev kio-dev kparts-dev solid-dev kiconthemes-dev kcompletion-dev ktextwidgets-dev knotifications-dev kcrash-dev kwindowsystem-dev phonon-dev baloo-dev baloo-widgets-dev kfilemetadata-dev kactivities-dev" makedepends="$depends_dev extra-cmake-modules ruby-test-unit" checkdepends="xvfb-run dbus" source="https://download.kde.org/stable/release-service/$pkgver/src/dolphin-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build # kfileitemmodeltest, placesitemmodeltest and dolphinmainwindowtest are broken CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(kfileitemmodel|placesitemmodel|dolphinmainwindow)test" } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="a00b13abe9036ac82d4c8c42fe54ad4174d6ca49d733a1ecb86825ce8bfb63d1996d6918afbd3b1681b49eb30754c7dc20017efe0728072b82f6327cd86baec4 dolphin-19.12.1.tar.xz"