aboutsummaryrefslogtreecommitdiffstats
path: root/community/korganizer/APKBUILD
blob: b729545d668886472be35b37990d0d0048a433ae (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=korganizer
pkgver=20.12.2
pkgrel=0
# armhf blocked by extra-cmake-modules
# ppc64le, s390x and mips blocked by kmailtransport
arch="all !armhf !ppc64le !s390x !mips !mips64"
url="https://kontact.kde.org/components/korganizer.html"
pkgdesc="The calendar and scheduling component of Kontact"
license="GPL-2.0-or-later"
depends="kdepim-runtime"
makedepends="
	akonadi-calendar-dev
	akonadi-contacts-dev
	akonadi-dev
	akonadi-mime-dev
	akonadi-notes-dev
	akonadi-search-dev
	calendarsupport-dev
	eventviews-dev
	extra-cmake-modules
	incidenceeditor-dev
	kcalendarcore-dev
	kcalutils-dev
	kcmutils-dev
	kcodecs-dev
	kcompletion-dev
	kconfig-dev
	kconfigwidgets-dev
	kcontacts-dev
	kcoreaddons-dev
	kcrash-dev
	kdbusaddons-dev
	kdoctools-dev
	kholidays-dev
	kiconthemes-dev
	kidentitymanagement-dev
	kitemviews-dev
	kjobwidgets-dev
	kldap-dev
	kmailtransport-dev
	kmime-dev
	knewstuff-dev
	knotifications-dev
	kontactinterface-dev
	kparts-dev
	kpimtextedit-dev
	kservice-dev
	kwidgetsaddons-dev
	kwindowsystem-dev
	kxmlgui-dev
	libkdepim-dev
	phonon-dev
	pimcommon-dev
	qt5-qtbase-dev
	"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/korganizer-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

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

check() {
	cd build
	# akonadi-sqlite-koeventpopupmenutest and akonadi-mysql-koeventpopupmenutest
	# require running dbus server
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "akonadi(-sqlite-koeventpopupmenu|-mysql-koeventpopupmenu)test"
}

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

sha512sums="0170efde8e906ccf9f68bf18a08b44ba49a04bc75211ba8c328b6960b7bbe2e33f58eb614825bf318685e4f5aeb579c214da5b60b7fe478a989f56c4fb31beab  korganizer-20.12.2.tar.xz"