# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=dolphin pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/applications/system/dolphin" pkgdesc="KDE File Manager" license="GPL-2.0-only" depends=" udisks2 kio-extras " depends_dev=" baloo-dev baloo-widgets-dev kactivities-dev kbookmarks-dev kcmutils-dev kcompletion-dev kconfig-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev kfilemetadata-dev ki18n-dev kiconthemes-dev kinit-dev kio-dev knewstuff-dev knotifications-dev kparts-dev ktextwidgets-dev kuserfeedback-dev kwindowsystem-dev phonon-dev qt5-qtbase-dev solid-dev " makedepends=" $depends_dev extra-cmake-modules ruby-test-unit samurai " checkdepends=" xvfb-run dbus " subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-zsh-completion" _repo_url="https://invent.kde.org/system/dolphin.git" source="https://download.kde.org/stable/release-service/$pkgver/src/dolphin-$pkgver.tar.xz" build() { LDFLAGS="$LDFLAGS -Wl,-z,stack-size=0x100000" \ cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build # kfileitemmodeltest, placesitemmodeltest, dolphinmainwindowtest and kitemlistcontrollertest are broken CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(kfileitemmodel|placesitemmodel|dolphinmainwindow|kitemlistcontroller)test" } package() { DESTDIR="$pkgdir" cmake --install build # We don't ship systemd rm -r "$pkgdir"/usr/lib/systemd } sha512sums=" 6078947b3dd6c1c62ba2306109c9dcc4be6ebb64bb69699f0457aaa1e0b6b0168d8767d73f0f8731984f5b412200c5463df7237c65990ee073f2d35946ad7b9e dolphin-23.04.3.tar.xz "