# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=messagelib pkgver=19.04.3 pkgrel=0 pkgdesc="KDE PIM messaging library" arch="all !ppc64le !s390x" # Limited by qt5-qtwebengine url="https://kontact.kde.org/" license="LGPL-2.0-only OR LGPL-3.0-only AND GPL-2.0-or-later" depends_dev="qt5-qtbase-dev qt5-qtwebengine-dev kcodecs-dev ki18n-dev kmime-dev knewstuff-dev gpgme-dev karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kiconthemes-dev kitemviews-dev kjobwidgets-dev kio-dev kservice-dev sonnet-dev ktextwidgets-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev syntax-highlighting-dev kdbusaddons-dev grantlee-dev akonadi-dev akonadi-mime-dev kcontacts-dev akonadi-contacts-dev grantleetheme-dev libgravatar-dev kidentitymanagement-dev kldap-dev libkdepim-dev libkleo-dev kmailtransport-dev kmbox-dev pimcommon-dev kpimtextedit-dev akonadi-search-dev kdepim-apps-libs-dev" checkdepends="xvfb-run" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" options="!check" # Requires OpenGL and running dbus server build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="ae1c9df358a7eda251b63d2c7b16b230b62e005eb470923d00667402614ae0b199aa1c563f89200379f9f3f746c36104a14a84538508ddcd2d3cea4db820d91b messagelib-19.04.3.tar.xz"