# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdepim-addons pkgver=19.08.2 pkgrel=1 arch="all !ppc64le !s390x" # Limited by kdepim-addons -> kmailtransport -> libkgapi -> qt5-qtwebengine url="https://kontact.kde.org/" pkgdesc="Addons for KDE PIM applications" license="GPL-2.0-or-later AND LGPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebengine-dev ki18n-dev kconfig-dev kdbusaddons-dev akonadi-notes-dev kxmlgui-dev kdeclarative-dev syntax-highlighting-dev kio-dev kiconthemes-dev kparts-dev prison-dev kholidays-dev kcalendarcore-dev kcalutils-dev mailcommon-dev grantlee-dev messagelib-dev libkleo-dev grantleetheme-dev pimcommon-dev libkdepim-dev incidenceeditor-dev akonadi-dev akonadi-calendar-dev libgravatar-dev kpimtextedit-dev kidentitymanagement-dev kimap-dev libksieve-dev ktnef-dev kmailtransport-dev kcontacts-dev akonadi-contacts-dev mailimporter-dev gpgme-dev discount-dev kpkpass-dev kitinerary-dev akonadi-import-wizard-dev kontactinterface-dev" checkdepends="xvfb-runi drkonqi" source="https://download.kde.org/stable/applications/$pkgver/src/kdepim-addons-$pkgver.tar.xz" subpackages="$pkgname-lang" options="!check" # Require OpenGL and running dbus prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DKDEPIMADDONS_BUILD_EXAMPLES=OFF make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="bd04059fadb80ed20b2f071d097580bf4e6ad80c16768215e1880d01dffdfa205bedaf8621b512e56c2e9b94db598e7d081e96ffc937a0365a212dc7d230002a kdepim-addons-19.08.2.tar.xz"