aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-21 14:48:37 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-21 15:02:26 -0300
commit3c06def109e8646ddb01fe4a5f1f00e5e9f5ab98 (patch)
treefd686268fbf697e8408f1e041dde4a085c3c8818 /testing
parent8fad9965439f2dfb5619a83706eb02cf76c34e67 (diff)
downloadaports-3c06def109e8646ddb01fe4a5f1f00e5e9f5ab98.tar.bz2
aports-3c06def109e8646ddb01fe4a5f1f00e5e9f5ab98.tar.xz
testing/libksieve: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/libksieve/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/libksieve/APKBUILD b/testing/libksieve/APKBUILD
new file mode 100644
index 0000000000..ad93bc3efe
--- /dev/null
+++ b/testing/libksieve/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=libksieve
+pkgver=19.04.2
+pkgrel=0
+pkgdesc="KDE PIM library for managing sieves"
+arch="all !ppc64le !s390x" # Limited by qt5-qtwebengine
+url="https://kontact.kde.org/"
+license="GPL-2.0-only"
+depends_dev="qt5-qtbase-dev qt5-qtwebengine-dev ki18n-dev kdoctools-dev kio-dev kiconthemes-dev pimcommon-dev libkdepim-dev knewstuff-dev kwindowsystem-dev karchive-dev syntax-highlighting-dev kmime-dev kidentitymanagement-dev kmailtransport-dev kpimtextedit-dev kimap-dev"
+makedepends="$depends_dev extra-cmake-modules"
+checkdepends="xvfb-run"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ # libksieveui-findbar-findbarbasetest and sieveeditorhelphtmlwidgettest require OpenGL
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(libksieveui-findbar-findbarbase|sieveeditorhelphtmlwidget)test"
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="006f82441619fe988c83e97b423a6998dbb3b6f89d31486af00b711502c0f663430b4e360be18d65d2ee5327fdb2789f7233ba0e0ad08777b837fd72ae341cf7 libksieve-19.04.2.tar.xz"