# 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=kcalutils pkgver=23.04.3 pkgrel=1 pkgdesc="The KDE calendar utility library" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://api.kde.org/kdepim/kcalutils/html" license="LGPL-2.0-or-later" depends_dev=" grantlee-dev kcalendarcore-dev kcodecs-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev ki18n-dev kiconthemes-dev kidentitymanagement-dev kwidgetsaddons-dev " makedepends=" $depends_dev extra-cmake-modules samurai " checkdepends="xvfb-run" _repo_url="https://invent.kde.org/pim/kcalutils.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kcalutils-$pkgver.tar.xz" subpackages="$pkgname-dev $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 # kcalutils-testincidenceformatter and kcalutils-testtodotooltip are broken CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kcalutils-test(incidenceformatter|todotooltip|dndfactory)" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 979b122f8cd205bd7b8c5da58a65ba5542d1f8868037e8e6deec4dfa3b9ff63536677c242f4e70a43307c1a8f2f56fe74957196d3a36479436f4f2c71b32e822 kcalutils-23.04.3.tar.xz "