# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcalendarcore pkgver=9999_git1688827063 pkgrel=0 pkgdesc="The KDE calendar access library" options="!check" # RecursOn-ConnectDaily(2|3|6) make the builders stuck arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://community.kde.org/Frameworks" license="LGPL-2.0-or-later" depends_dev="qt5-qtbase-dev libical-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev samurai" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcalendarcore-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" replaces="kcalcore" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { cd build # testrecurtodo, testreadrecurrenceid, testicaltimezones, testmemorycalendar and testtimesininterval are broken CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "test(recurtodo|readrecurrenceid|icaltimezones|memorycalendar|timesininterval)" } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums=" babca9e44582817ccf233f80bd519a91667374d5ab29918ac001b06b08568712f4e0b1f83aa28d7ff82f1e6609581ebbba1df051678389ff7da6e10881d72a83 kcalendarcore-5.108.0.tar.xz " options="$options !strip"