blob: 7dc4af0e699055e6b2ca38d1f1d11b8b0ccc9e56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libksieve
pkgver=20.04.0
pkgrel=0
pkgdesc="KDE PIM library for managing sieves"
arch="all !ppc64le !s390x !armhf !mips !mips64" # 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/release-service/$pkgver/src/libksieve-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make -C build
}
check() {
cd build
# libksieveui-findbar-findbarbasetest, sieveeditorhelphtmlwidgettest and sieveeditor-autocreatescripts-sieveeditorgraphicalmodewidgettest require OpenGL
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(libksieveui-findbar-findbarbase|sieveeditorhelphtmlwidget|sieveeditor-autocreatescripts-sieveeditorgraphicalmodewidget)test"
}
package() {
DESTDIR="$pkgdir" make -C build install
}
sha512sums="0b7dedb8323e54c1afb979ac62ba6fbbce48bded4ed69d35cab402ebfbc555691d075bea7bed077037cab78a4174a977fd2a1b8242a36f3028d20abd03cc91a2 libksieve-20.04.0.tar.xz"
|