mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-12 09:12:36 +02:00
72 lines
1.8 KiB
Plaintext
72 lines
1.8 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=mailcommon
|
|
pkgver=23.08.3
|
|
pkgrel=0
|
|
pkgdesc="KDE PIM library providing support for mail applications"
|
|
# riscv64 disabled due to missing rust in recursive dependency
|
|
arch="all !ppc64le !s390x !armhf !riscv64" # Limited by messagelib -> qt5-qtwebengine
|
|
url="https://kontact.kde.org/"
|
|
license="GPL-2.0-or-later"
|
|
# TODO: Consider replacing gnupg with specific gnupg subpackages that mailcommon really needs.
|
|
depends="gnupg"
|
|
depends_dev="
|
|
akonadi-dev
|
|
akonadi-mime-dev
|
|
karchive5-dev
|
|
kcodecs5-dev
|
|
kcompletion5-dev
|
|
kconfig5-dev
|
|
kconfigwidgets5-dev
|
|
kdbusaddons5-dev
|
|
ki18n5-dev
|
|
kiconthemes5-dev
|
|
kio5-dev
|
|
kitemmodels5-dev
|
|
kitemviews5-dev
|
|
kmailtransport-dev
|
|
ktextwidgets5-dev
|
|
kwidgetsaddons5-dev
|
|
kwindowsystem5-dev
|
|
kxmlgui5-dev
|
|
libkdepim-dev
|
|
mailimporter-dev
|
|
messagelib-dev
|
|
qt5-qtbase-dev
|
|
qt5-qttools-dev
|
|
syntax-highlighting5-dev
|
|
"
|
|
makedepends="
|
|
$depends_dev
|
|
extra-cmake-modules
|
|
samurai
|
|
"
|
|
checkdepends="xvfb-run"
|
|
_repo_url="https://invent.kde.org/pim/mailcommon.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/mailcommon-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
options="!check" # Requires running dbus server
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
xvfb-run ctest --test-dir build --output-on-failure
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
fcb4d9069d3b59ea2d1ef88479f13e14144f29e5e582e7dc75ccd49e923e606f15630fa359122943c230ba99d766e046c759055cc5e00aac9ba4b271324bc5d3 mailcommon-23.08.3.tar.xz
|
|
"
|