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

95 lines
2.1 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=kdepim-addons
pkgver=24.08.1
pkgrel=0
# armhf blocked by extra-cmake-modules
# armv7, ppc64le, s390x and riscv64 blocked by qt6-qtwebengine
# loongarch64 blocked by pimcommon
arch="all !armhf !armv7 !ppc64le !s390x !riscv64 !loongarch64"
url="https://kontact.kde.org/"
pkgdesc="Addons for KDE PIM applications"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
makedepends="
akonadi-calendar-dev
akonadi-contacts-dev
akonadi-dev
akonadi-import-wizard-dev
akonadi-notes-dev
discount-dev
extra-cmake-modules
gpgme-dev
grantlee-dev
grantleetheme-dev
incidenceeditor-dev
kaddressbook-dev
kcalendarcore-dev
kcalutils-dev
kconfig-dev
kcontacts-dev
kdbusaddons-dev
kdeclarative-dev
kholidays-dev
ki18n-dev
kiconthemes-dev
kidentitymanagement-dev
kimap-dev
kio-dev
kitinerary-dev
kmailtransport-dev
kontactinterface-dev
kparts-dev
kpimtextedit-dev
kpkpass-dev
ktnef-dev
kxmlgui-dev
libgravatar-dev
libkdepim-dev
libkleo-dev
libksieve-dev
mailcommon-dev
mailimporter-dev
messagelib-dev
pimcommon-dev
prison-dev
qt6-qtbase-dev
qt6-qtwebengine-dev
samurai
syntax-highlighting-dev
"
checkdepends="
dbus
drkonqi
xvfb-run
"
subpackages="$pkgname-lang"
_repo_url="https://invent.kde.org/pim/kdepim-addons.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdepim-addons-$pkgver.tar.xz"
# net required to download Rust crates
# tests are broken and hang
options="!check net"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DKDEPIMADDONS_BUILD_EXAMPLES=OFF
cmake --build build
}
check() {
dbus-run-session xvfb-run ctest --test-dir build --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
7f325fe8d54416dd7d11817130b848d34054f7b230d0061c48e7c65dda7e40e2a5babb0484720e5efaa87ff88a30690c44617e370baa2a955a45b4da6264e55c kdepim-addons-24.08.1.tar.xz
"