aboutsummaryrefslogtreecommitdiffstats
path: root/testing/korganizer/APKBUILD
blob: ef9cb6d2fc3f6d4c2e2f62295a39aa834f2952d4 (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
42
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=korganizer
pkgver=19.12.3
pkgrel=0
arch="all !ppc64le !s390x !armhf" # Limited by kmailtransport -> libkgapi -> qt5-qtwebengine
url="https://kontact.kde.org/components/korganizer.html"
pkgdesc="The calendar and scheduling component of Kontact"
license="GPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev akonadi-search-dev kcodecs-dev
	kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev
	kdbusaddons-dev kdoctools-dev kiconthemes-dev kitemviews-dev kjobwidgets-dev
	kcmutils-dev knewstuff-dev kparts-dev kservice-dev kwidgetsaddons-dev
	kwindowsystem-dev kxmlgui-dev knotifications-dev kholidays-dev kpimtextedit-dev
	akonadi-dev kcontacts-dev kcalendarcore-dev akonadi-contacts-dev kidentitymanagement-dev
	kmailtransport-dev akonadi-mime-dev kcalutils-dev kldap-dev akonadi-calendar-dev
	phonon-dev kontactinterface-dev kmime-dev akonadi-notes-dev kdepim-apps-libs
	pimcommon-dev libkdepim-dev incidenceeditor-dev calendarsupport-dev eventviews-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
	make -C 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" make -C build install
}

sha512sums="3e23871d55b3c62eae9b7cfda70b311f61fa44c998e8ad844a0b9aaab11acda5527ebc8f253392da591cb38aaac04c41aefb827972bb2eed4884dbc57715e29e  korganizer-19.12.3.tar.xz"