# 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=korganizer pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules # ppc64le, s390x and riscv64 blocked by qt5-qtwebengine -> kmailtransport arch="all !armhf !ppc64le !s390x !riscv64" url="https://apps.kde.org/korganizer/" pkgdesc="The calendar and scheduling component of Kontact" license="GPL-2.0-or-later" depends="kdepim-runtime" makedepends=" akonadi-calendar-dev akonadi-contacts-dev akonadi-dev akonadi-mime-dev akonadi-notes-dev akonadi-search-dev calendarsupport-dev eventviews-dev extra-cmake-modules incidenceeditor-dev kcalendarcore-dev kcalutils-dev kcmutils-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcontacts-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev kholidays-dev kiconthemes-dev kidentitymanagement-dev kitemviews-dev kjobwidgets-dev kldap-dev kmailtransport-dev kmime-dev knewstuff-dev knotifications-dev kontactinterface-dev kparts-dev kpimtextedit-dev kservice-dev kuserfeedback-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev libkdepim-dev phonon-dev pimcommon-dev qt5-qtbase-dev samurai " checkdepends="xvfb-run" _repo_url="https://invent.kde.org/pim/korganizer.git" source="https://download.kde.org/stable/release-service/$pkgver/src/korganizer-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build # akonadi-sqlite-koeventpopupmenutest and akonadi-mysql-koeventpopupmenutest require running dbus server # reparentingmodeltest is broken local skipped_tests="(" local tests=" akonadi-sqlite-koeventpopupmenu akonadi-mysql-koeventpopupmenu reparentingmodel " for test in $tests; do skipped_tests="$skipped_tests|$test" done skipped_tests="$skipped_tests)test" CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "$skipped_tests" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 9d642590adf445d6d6a31bce350d5fb4bd3ce268bff93f151a3c629ef6ca3c2cb10176c09711421739555009f465eedecc693330fcf5e2d837c15aa79e04b0a4 korganizer-23.04.3.tar.xz "