# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=dolphin pkgver=19.08.2 pkgrel=0 arch="all" 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" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { # kfileitemmodeltest and placesitemmodeltest are broken CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(kfileitemmodel|placesitemmodel)test" } package() { DESTDIR="$pkgdir" make install } sha512sums="97ba07fc6e5f7295297149b8377620c0fb9dedec33833671f29e39f8cb4fb78051bd21d7d63b1dfc48126b03195b3eecc831c3882346a86fbb6ff1122996cbbc dolphin-19.08.2.tar.xz"