blob: 8e28cbc7381a9b6efa6ed399738936621adfee9f (
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
35
36
37
38
39
40
41
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mailcommon
pkgver=19.12.1
pkgrel=0
pkgdesc="KDE PIM library providing support for mail applications"
arch="all !ppc64le !s390x" # Limited by messagelib -> qt5-qtwebengine
url="https://kontact.kde.org/"
license="GPL-2.0-or-later"
depends_dev="qt5-qtbase-dev qt5-qttools-dev karchive-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev ki18n-dev kiconthemes-dev kitemmodels-dev kitemviews-dev kio-dev ktextwidgets-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev kdbusaddons-dev syntax-highlighting-dev akonadi-dev akonadi-mime-dev libkdepim-dev mailimporter-dev kmailtransport-dev messagelib-dev"
makedepends="$depends_dev extra-cmake-modules"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/mailcommon-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # Requires running dbus server
prepare() {
default_prepare
mkdir "$builddir"/build
}
build() {
cd "$builddir"/build
cmake "$builddir" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"/build
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}
package() {
cd "$builddir"/build
DESTDIR="$pkgdir" make install
}
sha512sums="4af1bb83d4f2a54ba1053708345f47b93b300a14e4cae6ce6f5b631c0155b0973916d26b66fe0a51e6713929a6ea002c07d5d3756b5e9fbdf1b33685b7bb899a mailcommon-19.12.1.tar.xz"
|