# 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=libkdepim pkgver=23.04.3 pkgrel=1 pkgdesc="Lib for common KDEPim apps" # armhf blocked by extra-cmake-modules # ppc64le, s390x and riscv64 blocked by qt5-qtwebengine -> akonadi arch="all !armhf !ppc64le !s390x !riscv64" url="https://community.kde.org/KDE_PIM" license="GPL-2.0-or-later AND LGPL-2.0-or-later" depends_dev=" akonadi-contacts-dev akonadi-dev akonadi-search-dev kcmutils-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev ki18n-dev kiconthemes-dev kio-dev kitemviews-dev kjobwidgets-dev kldap-dev kwallet-dev kwidgetsaddons-dev qt5-qtbase-dev " makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev samurai " checkdepends="xvfb-run" _repo_url="https://invent.kde.org/pim/libkdepim.git" source="https://download.kde.org/stable/release-service/$pkgver/src/libkdepim-$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 \ -DBUILD_DESIGNERPLUGIN=ON cmake --build build } check() { xvfb-run ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" ce5e160b97c02e065b1070cfcecbba5be766f7861018233d03a5eb65a7cee05746f33bcc2a842dfca9d2b0556499bac1c10b1b75279a676a74be4c5aa4a6b873 libkdepim-23.04.3.tar.xz "