blob: a9012903273488550bcd28448d65fac5da019a38 (
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
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kmailtransport
pkgver=19.08.1
pkgrel=0
pkgdesc="Manage mail transport"
arch="all !ppc64le !s390x" # Limited by libkgapi -> qt5-qtwebengine
url="https://kontact.kde.org/"
license="LGPL-2.0-or-later"
depends_dev="kcmutils-dev kconfigwidgets-dev kwallet-dev ki18n-dev kio-dev kmime-dev akonadi-dev akonadi-mime-dev ksmtp-dev libkgapi-dev"
makedepends="$depends_dev extra-cmake-modules"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/applications/$pkgver/src/kmailtransport-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # Requires OpenGL and running dbus
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="62bc4101cec89d7ec3aff519d35df42ef2c96ebbb66dbfdfff1ef7b7c8bc4ce5a6c6dd466315ba02ee410c628fbc99eadfa3a0ad7ee33a664fb091328adbfcc5 kmailtransport-19.08.1.tar.xz"
|