blob: fb3d950324eb30f1a7b5346c3eb671d340a99bf9 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: team/kde <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
pkgname=calendarsupport
pkgver=23.08.1
pkgrel=0
pkgdesc="Library providing calendar support"
# armhf blocked by extra-cmake-modules
# ppc64le, s390x and riscv64 blocked by qt5-qtwebengine -> akonadi
arch="all !armhf !ppc64le !s390x !riscv64"
url="https://kontact.kde.org"
license="GPL-2.0-or-later AND Qt-GPL-exception-1.0 AND LGPL-2.0-or-later"
depends_dev="
akonadi-calendar-dev
akonadi-dev
akonadi-mime-dev
akonadi-notes-dev
kcalendarcore-dev
kcalutils-dev
kcodecs-dev
kguiaddons-dev
kholidays-dev
ki18n-dev
kidentitymanagement-dev
kio-dev
kmime-dev
pimcommon-dev
qt5-qtbase-dev
"
makedepends="$depends_dev
extra-cmake-modules
qt5-qttools-dev
samurai
"
checkdepends="xvfb-run"
_repo_url="https://invent.kde.org/pim/calendarsupport.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/calendarsupport-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
xvfb-run ctest --test-dir build --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
2b82f1725efcd868ea51abb5fc738a3304b3c80010a7912cec4ad037d2100411228660aab604842690093f2eeca967c52fd881cdbeb7ff1010f1ad3d006eaf8c calendarsupport-23.08.1.tar.xz
"
|