mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-13 17:52:37 +02:00
58 lines
1.5 KiB
Plaintext
58 lines
1.5 KiB
Plaintext
# 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=kcalutils
|
|
pkgver=23.08.3
|
|
pkgrel=0
|
|
pkgdesc="The KDE calendar utility library"
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
url="https://api.kde.org/kdepim/kcalutils/html"
|
|
license="LGPL-2.0-or-later"
|
|
depends_dev="
|
|
grantlee-dev
|
|
kcalendarcore5-dev
|
|
kcodecs5-dev
|
|
kconfig5-dev
|
|
kconfigwidgets5-dev
|
|
kcoreaddons5-dev
|
|
ki18n5-dev
|
|
kiconthemes5-dev
|
|
kidentitymanagement-dev
|
|
kwidgetsaddons5-dev
|
|
"
|
|
makedepends="
|
|
$depends_dev
|
|
extra-cmake-modules
|
|
samurai
|
|
"
|
|
checkdepends="xvfb-run"
|
|
_repo_url="https://invent.kde.org/pim/kcalutils.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/kcalutils-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
|
|
# kcalutils-testincidenceformatter and kcalutils-testtodotooltip are broken
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kcalutils-test(incidenceformatter|todotooltip|dndfactory)"
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
5bd357f5324ea38d8d6ad26e345ee1fd0a3e28e7e7886f83a939c26075a808b381f0c1683e6de9834fb5797efae7d94ad2a4f8831c4c22c86e64f9e5dd2cedc9 kcalutils-23.08.3.tar.xz
|
|
"
|