APKBUILD 1.36 KB
Newer Older
1 2 3
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=incidenceeditor
4
pkgver=21.04.1
5
pkgrel=0
6
pkgdesc="KDE PIM incidence editor"
7
arch="all !ppc64le !s390x !armhf !mips !mips64" # Limited by kmailtransport -> libkgapi -> qt5-qtwebengine
8 9
url="https://kontact.kde.org/"
license="LGPL-2.0-or-later AND GPL-2.0-or-later"
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
depends_dev="
	akonadi-dev
	akonadi-mime-dev
	calendarsupport-dev
	eventviews-dev
	kcalendarcore-dev
	kcalutils-dev
	kcodecs-dev
	kdiagram-dev
	ki18n-dev
	kiconthemes-dev
	kio-dev
	kldap-dev
	kmailtransport-dev
	kmime-dev
	libkdepim-dev
	qt5-qtbase-dev
	"
makedepends="$depends_dev
	extra-cmake-modules
	"
31
checkdepends="xvfb-run"
32
source="https://download.kde.org/stable/release-service/$pkgver/src/incidenceeditor-$pkgver.tar.xz"
33 34 35
subpackages="$pkgname-dev $pkgname-lang"

build() {
36
	cmake -B build \
37
		-DCMAKE_BUILD_TYPE=None \
38 39
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
40
	cmake --build build
41 42 43
}

check() {
44
	cd build
45 46 47

	# akonadi-sqlite-incidencedatetimetest requires running DBus
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "akonadi-sqlite-incidencedatetimetest"
48 49 50
}

package() {
51
	DESTDIR="$pkgdir" cmake --install build
52
}
53 54 55
sha512sums="
11d7ef8e98d2879c604783af43fb2721dc4399e08dff64b510a36c58ba0b59c0f52e04371287e9e24447c95403319f15d6638f5c2589a7afaf36c9450057bdc3  incidenceeditor-21.04.1.tar.xz
"