aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdepim-addons/APKBUILD
blob: a716032f5f78e756e06d56a57a7c3c337463a3e5 (plain) (blame)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdepim-addons
pkgver=20.12.2
pkgrel=0
# armhf blocked by extra-cmake-modules
# ppc64le, s390x and mips blocked by kdepim-addons
arch="all !ppc64le !s390x !armhf !mips !mips64"
url="https://kontact.kde.org/"
pkgdesc="Addons for KDE PIM applications"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
makedepends="
	akonadi-calendar-dev
	akonadi-contacts-dev
	akonadi-dev
	akonadi-import-wizard-dev
	akonadi-notes-dev
	discount-dev
	extra-cmake-modules
	gpgme-dev
	grantlee-dev
	grantleetheme-dev
	incidenceeditor-dev
	kcalendarcore-dev
	kcalutils-dev
	kconfig-dev
	kcontacts-dev
	kdbusaddons-dev
	kdeclarative-dev
	kholidays-dev
	ki18n-dev
	kiconthemes-dev
	kidentitymanagement-dev
	kimap-dev
	kio-dev
	kitinerary-dev
	kmailtransport-dev
	kontactinterface-dev
	kparts-dev
	kpimtextedit-dev
	kpkpass-dev
	ktnef-dev
	kxmlgui-dev
	libgravatar-dev
	libkdepim-dev
	libkleo-dev
	libksieve-dev
	mailcommon-dev
	mailimporter-dev
	messagelib-dev
	pimcommon-dev
	prison-dev
	qt5-qtbase-dev
	qt5-qtwebengine-dev
	syntax-highlighting-dev
	"
checkdepends="
	drkonqi
	xvfb-runi
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdepim-addons-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # Require OpenGL and running dbus

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DKDEPIMADDONS_BUILD_EXAMPLES=OFF
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="33ed5c0e6444c292f78767c32778ac11a4d1e567c7fde2c85ab10016ddaa7adef7d29e2c75635b1538abf0e6f59eaeae0810b3b122c9aeadc0de407e476c7797  kdepim-addons-20.12.2.tar.xz"