summaryrefslogtreecommitdiff
path: root/user/kmime
diff options
context:
space:
mode:
Diffstat (limited to 'user/kmime')
-rw-r--r--user/kmime/APKBUILD12
-rw-r--r--user/kmime/egregious-versions.patch24
2 files changed, 31 insertions, 5 deletions
diff --git a/user/kmime/APKBUILD b/user/kmime/APKBUILD
index d28c6b378..d637d87b3 100644
--- a/user/kmime/APKBUILD
+++ b/user/kmime/APKBUILD
@@ -1,19 +1,20 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kmime
-pkgver=18.12.3
+pkgver=19.04.0
pkgrel=0
pkgdesc="KDE support library for MIME"
url="https://www.kde.org/"
arch="all"
-options="!check" # wtf
license="LGPL-2.1+"
depends=""
depends_dev="qt5-qtbase-dev"
makedepends="$depends_dev cmake extra-cmake-modules python3 kcodecs-dev
ki18n-dev"
subpackages="$pkgname-dev $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/kmime-$pkgver.tar.xz"
+source="https://download.kde.org/stable/applications/$pkgver/src/kmime-$pkgver.tar.xz
+ egregious-versions.patch
+ "
build() {
cd "$builddir"
@@ -34,7 +35,7 @@ build() {
check() {
cd "$builddir"
# https://bugs.kde.org/show_bug.cgi?id=385479
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E dateformattertest
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(headertest|messagetest|dateformattertest)'
}
package() {
@@ -42,4 +43,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="ed02fa15ef1d437f6c13a8bed4092c62fbbd55595156bd9766a8b980665c18a2a7ab2c841cc7657710480f2e98d275e8d377ccbba32081ef14e2a2aa5db5fb2d kmime-18.12.3.tar.xz"
+sha512sums="6bbc75d77d777edc084c8e1a81e198ed0a3959f1d4d332e442f298ced5a1d4d03613b6c397e9e0a96d81b0693b3e8dbfd0f011c54db0f053c207f16a16926c4e kmime-19.04.0.tar.xz
+b5f04ab4f7ed60bde1eeb50141c5b51a4f285d7b125d834559419d56039c1d540a8d44f508801ae9ac2c6d91c3841d4e64c3856e2c5bfa33eb64175dc9b5c608 egregious-versions.patch"
diff --git a/user/kmime/egregious-versions.patch b/user/kmime/egregious-versions.patch
new file mode 100644
index 000000000..af0411338
--- /dev/null
+++ b/user/kmime/egregious-versions.patch
@@ -0,0 +1,24 @@
+There is absolutely NO REQUIREMENT on these newer versions by KMime.
+
+This is only done to keep in sync with the rest of KDE PIM.
+
+--- kmime-19.04.0/CMakeLists.txt.old 2019-04-12 00:14:19.000000000 +0000
++++ kmime-19.04.0/CMakeLists.txt 2019-04-19 06:18:49.665558623 +0000
+@@ -4,7 +4,7 @@
+ project(KMime VERSION ${PIM_VERSION})
+
+ # ECM setup
+-set(KF5_MIN_VERSION "5.56.0")
++set(KF5_MIN_VERSION "5.54.0")
+
+ find_package(ECM ${KF5_MIN_VERSION} CONFIG REQUIRED)
+ set(CMAKE_MODULE_PATH ${KMime_SOURCE_DIR}/cmake ${ECM_MODULE_PATH})
+@@ -22,7 +22,7 @@
+
+
+ set(KMIME_LIB_VERSION ${PIM_VERSION})
+-set(QT_REQUIRED_VERSION "5.10.0")
++set(QT_REQUIRED_VERSION "5.9.0")
+ find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Core)
+
+ ecm_setup_version(PROJECT VARIABLE_PREFIX KMIME