pmaports/kde/kmime/APKBUILD
PureTryOut 7f1c8ba865
kde/applications*: update to 18.12.0 [skip ci] (!135)
Add main/qt5-qtspeech, required dependency for kde/kpimtextedit. Disable
check in kde/kimap, as it fails at least with QEMU aarch64.

Change the source url for Sink and Kube to the KDE Download mirror
rather than their GitHub organization (they required rebuilding anyway
due to the applications upgrade).
2019-01-10 09:49:52 +01:00

35 lines
998 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kmime
pkgver=18.12.0
pkgrel=0
pkgdesc='Library for handling mail messages and newsgroup articles'
arch="all"
url='https://community.kde.org/KDE_PIM'
license="LGPL-2.0"
depends=""
depends_dev="qt5-qtbase-dev ki18n-dev kcodecs-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev"
options="!check" # Fails on aarch64 on Outlook attachement naming
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="6299c7b695c2b41ae1f35fe49d55494b2de3bd462ca15a68e3a81fd13497713472edf5bc1637c20ef290db6d29151529f09843422d6d8eb275bbf47e1228c01a kmime-18.12.0.tar.xz"