mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 04:44:57 +02:00
57 lines
1.5 KiB
Text
57 lines
1.5 KiB
Text
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-applications
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=calendarsupport
|
|
pkgver=25.04.0
|
|
pkgrel=0
|
|
pkgdesc="Library providing calendar support"
|
|
# armhf blocked by qt6-qtdeclarative
|
|
# ppc64le, s390x and riscv64 blocked by qt6-qtwebengine -> akonadi
|
|
# armv7 blocked by messagelib -> akonadi-calendar
|
|
arch="all !armhf !ppc64le !s390x !riscv64 !armv7"
|
|
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
|
|
kcalendarcore-dev
|
|
kcalutils-dev
|
|
kcodecs-dev
|
|
kguiaddons-dev
|
|
kholidays-dev
|
|
ki18n-dev
|
|
kidentitymanagement-dev
|
|
kio-dev
|
|
kmime-dev
|
|
pimcommon-dev
|
|
qt6-qtbase-dev
|
|
"
|
|
makedepends="$depends_dev
|
|
extra-cmake-modules
|
|
qt6-qttools-dev
|
|
samurai
|
|
"
|
|
checkdepends="xwayland-run"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
_repo_url="https://invent.kde.org/pim/calendarsupport.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/calendarsupport-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
wlheadless-run -- ctest --test-dir build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
sha512sums="
|
|
79628f442924c8334db0627a149a29ebdb3eb87d025515d90921f07d6fbfdf4e777dbfe8bfecc5017fec0ddd6877ea3e489e14c98c085fa7a66e8e1fd5b6e96f calendarsupport-25.04.0.tar.xz
|
|
"
|