# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=zanshin pkgver=0.5.71 pkgrel=4 # armhf blocked by qt5-qtdeclarative # mips64, ppc64le and s390x blocked by qt5-qtwebengine -> akonadi-calendar arch="all !armhf !ppc64le !s390x !mips64 !riscv64" url="https://zanshin.kde.org/" pkgdesc="A Getting Things Done application which aims at getting your mind like water" license="(GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.0-or-later" makedepends=" akonadi-calendar-dev boost-dev extra-cmake-modules ki18n-dev kontactinterface-dev krunner-dev kwindowsystem-dev qt5-qtbase-dev " checkdepends=" dbus xvfb-run " source="https://download.kde.org/stable/zanshin/zanshin-$pkgver.tar.xz Port-to-kontactinterface.patch Build-against-recent-Akonadi.patch " subpackages="$pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { # tests-units-akonadi-akonadistoragetest, tests-units-akonadi-akonadicachingstorageintegrationtest, # tests-units-presentation-alltaskspagemodeltest, tests-units-widgets-editorviewtest, # tests-units-widgets-pageviewtest, tests-units-migrator-zanshin021migrationtest, # tests-units-migrator-zanshincontextitemsmigrationtest are broken local skipped_tests="(" local tests=" tests-units-akonadi-akonadistoragetest tests-units-akonadi-akonadicachingstorageintegrationtest tests-units-presentation-alltaskspagemodeltest tests-units-widgets-editorviewtest tests-units-widgets-pageviewtest tests-units-migrator-zanshin021migrationtest tests-units-migrator-zanshincontextitemsmigrationtest" for test in $tests; do skipped_tests="$skipped_tests|$test" done skipped_tests="$skipped_tests)" cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "$skipped_tests" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums="47b4fa8797dd50372dcf176198e1c80348cd1ba604d1ed61cd973956e54ba5551caea33c766d857bc3ad598bd0eae9882ffc315e13e6e3b9c1033d01c8e029d8 zanshin-0.5.71.tar.xz be856c8af20a5673d9dfdf399232bd7ff73bec440cbd5823dd007db99326299b1fca7f1c9f479255750f7f5cfd6ec7d5df5354ff2bcab9fc0b67481f28b8ad66 Port-to-kontactinterface.patch e67c849e7536152e3e0ce99c501023a7b3b63480bc1d75514dec127016b9adf2b6ead4868f73f1061feb660637264e9ee50f9f5fcfd6cfb93a74faa4b48893e0 Build-against-recent-Akonadi.patch"