# 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=eventviews pkgver=23.04.3 pkgrel=2 pkgdesc="Library for creating events" # armhf blocked by extra-cmake-modules # ppc64le, s390x and riscv64 blocked by qt5-qtwebengine -> akonadi arch="all !armhf !ppc64le !s390x !riscv64" url="https://kontact.kde.org/" license="GPL-2.0-or-later" depends_dev=" akonadi-calendar-dev akonadi-dev calendarsupport-dev kcalendarcore-dev kcalutils-dev kcodecs-dev kcompletion-dev kdiagram-dev kguiaddons-dev kholidays-dev ki18n-dev kiconthemes-dev kmime-dev kservice-dev libkdepim-dev qt5-qtbase-dev " checkdepends="xvfb-run" makedepends="$depends_dev doxygen extra-cmake-modules graphviz samurai " _repo_url="https://invent.kde.org/pim/eventviews.git" source="https://download.kde.org/stable/release-service/$pkgver/src/eventviews-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" 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() { xvfb-run ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 6d9ec804602b05f761d669f52e0902736ca2fe1b37ad688acad0e22fe1d225f6a5c8cd52117ac84bf91357fedc61f95005ee6eed00836d6aa03b94577a43383d eventviews-23.04.3.tar.xz "