# 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-mime pkgver=23.04.3 pkgrel=1 pkgdesc="Libraries and daemons to implement basic email handling" # armhf blocked by extra-cmake-modules # s390x and riscv64 blocked by akonadi # ppc64le blocked by qt5-qtwebengine -> kaccounts-integration arch="all !armhf !s390x !riscv64 !ppc64le" url="https://community.kde.org/KDE_PIM" license="LGPL-2.0-or-later" depends_dev=" akonadi-dev>=$pkgver kcodecs-dev kconfigwidgets-dev kdbusaddons-dev ki18n-dev kio-dev kitemmodels-dev kmime-dev kxmlgui-dev libxslt-dev qt5-qtbase-dev shared-mime-info " makedepends="$depends_dev extra-cmake-modules samurai " _repo_url="https://invent.kde.org/pim/akonadi-mime.git" source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-mime-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { # mailserializerplugintest is broken CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "mailserializerplugintest" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 9dcfd14c9e89a59015704fdad27e75616e6677bf81d2096038bf51cfe62f72aa586c810fb125fdfec814c2ba5a00c7d1a7a8b0db1dff33cdfb076ed4d8813fda akonadi-mime-23.04.3.tar.xz "