# 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=akonadi-calendar pkgver=23.04.3 pkgrel=1 pkgdesc="Akonadi calendar integration" # armhf blocked by extra-cmake-modules # ppc64le, s390x and riscv64 blocked by kmailtransport -> libkgapi -> qt5-qtwebengine arch="all !armhf !ppc64le !s390x !riscv64" url="https://community.kde.org/KDE_PIM" license="LGPL-2.0-or-later" depends_dev=" akonadi-contacts-dev>=$pkgver akonadi-dev>=$pkgver kcalendarcore-dev kcalutils-dev kcodecs-dev kdbusaddons-dev ki18n-dev kiconthemes-dev kidentitymanagement-dev kio-dev kmailtransport-dev kwidgetsaddons-dev kxmlgui-dev " makedepends="$depends_dev extra-cmake-modules samurai " checkdepends="xvfb-run" _repo_url="https://invent.kde.org/pim/akonadi-calendar.git" source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-calendar-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" options="!check" # Broken replaces="kalendar>1.0.0" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { xvfb-run ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 004e379961db7467ffdad552dd66f8e7964f47ac43cecce1cd5ba2a0214ae86e32bc9c496de02f429e47d1046f08cbbdc8318ef991819bcec3416c61d1409533 akonadi-calendar-23.04.3.tar.xz "