# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadi pkgver=19.08.1 pkgrel=1 pkgdesc="A cross-desktop storage service for PIM data and meta data providing concurrent read, write, and query access" arch="all" url="https://community.kde.org/KDE_PIM" license="LGPL-2.0-or-later" depends="mariadb" depends_dev="qt5-qtbase-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev ki18n-dev kiconthemes-dev kitemmodels-dev kitemviews-dev kio-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev kcrash-dev boost-dev shared-mime-info libxml2-dev sqlite-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" options="!check" # Requires running dbus server build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_DESIGNERPLUGIN=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="99aee26da19fca2a1a172f875a3ab4b1aee9c3ac92150f06df1dc3cf241144cb17b98d45a346ea09fa6fe96a7c8aafbea0a5b7b80e594b94f525de882d644d75 akonadi-19.08.1.tar.xz"