aboutsummaryrefslogtreecommitdiffstats
path: root/testing/messagelib/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/messagelib/APKBUILD')
-rw-r--r--testing/messagelib/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/messagelib/APKBUILD b/testing/messagelib/APKBUILD
new file mode 100644
index 0000000000..616b8bd2f6
--- /dev/null
+++ b/testing/messagelib/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=messagelib
+pkgver=19.04.2
+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="a6f4044f05055c40e93830af67d92a5020576be3933669dc0e12fc9d82a5d211b92a276d8c8e8a7c8c903d953d7f4a54766995fbbcb8354504ca67a17d190d8d messagelib-19.04.2.tar.xz"