aports/community/kmail-account-wizard/APKBUILD
2025-04-24 20:45:31 +02:00

70 lines
1.7 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# 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=kmail-account-wizard
pkgver=25.04.0
pkgrel=0
# armhf blocked by extra-cmake-modules
# ppc64le, s390x, riscv64 and armv7 blocked by qt6-qtwebengine -> kmailtransport
arch="all !armhf !ppc64le !s390x !riscv64 !armv7"
url="https://kontact.kde.org/"
pkgdesc="KMail account wizard"
license="GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.2-only"
makedepends="
akonadi-dev
akonadi-mime-dev
extra-cmake-modules
gpgme-dev
kcmutils-dev
kcodecs-dev
kconfig-dev
kcrash-dev
kdbusaddons-dev
kdoctools-dev
kidentitymanagement-dev
kimap-dev
kldap-dev
kmailtransport-dev
knewstuff-dev
knotifications-dev
knotifyconfig-dev
kservice-dev
ktexteditor-dev
kwallet-dev
libkdepim-dev
libkleo-dev
pimcommon-dev
qt6-qtbase-dev
qt6-qtdeclarative-private-dev
samurai
shared-mime-info
"
checkdepends="
dbus
xvfb-run
"
subpackages="$pkgname-lang"
_repo_url="https://invent.kde.org/pim/kmail-account-wizard.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kmail-account-wizard-$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() {
dbus-run-session -- xvfb-run ctest --test-dir build -E "akonadi-(mysql|sqlite)-accountconfigurationtest"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
6db7afe83626d8097f5c4c2d7a19aa4d1294edbe64009e7b8691b29d4472c1084daaab7d5ece17fa6447073e1e6b960ab9289df0e6c80b630fce95c7e13cc64e kmail-account-wizard-25.04.0.tar.xz
"