aports/community/kalarm/APKBUILD
2024-09-13 13:50:51 +00:00

86 lines
1.9 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=kalarm
pkgver=24.08.1
pkgrel=0
pkgdesc="Personal alarm scheduler"
url="https://kontact.kde.org/"
# armhf blocked by extra-cmake-modules
# ppc64le, s390x, riscv64 and armv7 blocked by qt6-qtwebengine -> akonadi
# loongarch64 blocked by pimcommon
arch="all !armhf !ppc64le !s390x !riscv64 !armv7 !loongarch64"
license="GPL-2.0-or-later AND GFDL-1.2-only"
depends="kdepim-runtime"
makedepends="
akonadi-contacts-dev
akonadi-dev
akonadi-mime-dev
extra-cmake-modules
kauth-dev
kcalendarcore-dev
kcalutils-dev
kcmutils-dev
kcodecs-dev
kcompletion-dev
kconfig-dev
kconfigwidgets-dev
kdbusaddons-dev
kdoctools-dev
kglobalaccel-dev
kguiaddons-dev
kholidays-dev
ki18n-dev
kiconthemes-dev
kidentitymanagement-dev
kidletime-dev
kimap-dev
kio-dev
kjobwidgets-dev
kmailtransport-dev
kmime-dev
knotifications-dev
knotifyconfig-dev
kpimtextedit-dev
kservice-dev
kstatusnotifieritem-dev
ktextwidgets-dev
kwidgetsaddons-dev
kwindowsystem-dev
kxmlgui-dev
libkdepim-dev
libxslt-dev
mailcommon-dev
phonon-dev
pimcommon-dev
qgpgme
qt6-qtbase-dev
samurai
vlc-dev
"
subpackages="$pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/pim/kalarm.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kalarm-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
ctest --test-dir build --output-on-failure -E "(kadatetime|kaevent)test"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
80efc63507362d76e8c81fa1ef81d4a2c9c9e72a2cd968ca08614367f063400820160c9ae6fcf2765e70e18ff00862d55d4065c588a2042762398645e5fd51cb kalarm-24.08.1.tar.xz
"