summaryrefslogtreecommitdiff
path: root/user/libkleo
diff options
context:
space:
mode:
Diffstat (limited to 'user/libkleo')
-rw-r--r--user/libkleo/APKBUILD9
-rw-r--r--user/libkleo/egregious-versions.patch22
2 files changed, 28 insertions, 3 deletions
diff --git a/user/libkleo/APKBUILD b/user/libkleo/APKBUILD
index 841a3d944..48ec55e10 100644
--- a/user/libkleo/APKBUILD
+++ b/user/libkleo/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libkleo
-pkgver=18.12.3
+pkgver=19.04.0
pkgrel=0
pkgdesc="KDE encryption library"
url="https://www.kde.org/"
@@ -13,7 +13,9 @@ depends_dev="qt5-qtbase-dev boost-dev gpgme-dev libgpg-error-dev ki18n-dev kwidg
makedepends="$depends_dev cmake extra-cmake-modules kcompletion-dev kconfig-dev
kcodecs-dev kcoreaddons-dev kpimtextedit-dev kwindowsystem-dev"
subpackages="$pkgname-dev $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/libkleo-$pkgver.tar.xz"
+source="https://download.kde.org/stable/applications/$pkgver/src/libkleo-$pkgver.tar.xz
+ egregious-versions.patch
+ "
build() {
cd "$builddir"
@@ -41,4 +43,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="de7348f2d8aae0d250613fcb7f0fb92e9c9aa979d1457e95e4a3908fddb69ea59f1d70311f24c4affce61c64b638dc95901c80b9d6a4ae019dfb115012a9b348 libkleo-18.12.3.tar.xz"
+sha512sums="5b96c7427afc36ccb46532de57adc5678e52f917f6caeabfaa34a736f0b5cdb1cafa9b69a7988df1cd6da33021bf8ab3fa85cdd76eb2ce491a409f0ab9e12ae3 libkleo-19.04.0.tar.xz
+b9d8baa5212effbcc377c947c51cda1c0ce51a2eee2dae02d430a87cd88f21b1bc4ac19d689a39350fd04ffd057aaee138347d4c4561e9835253ccc5387c5565 egregious-versions.patch"
diff --git a/user/libkleo/egregious-versions.patch b/user/libkleo/egregious-versions.patch
new file mode 100644
index 000000000..440c7bf4f
--- /dev/null
+++ b/user/libkleo/egregious-versions.patch
@@ -0,0 +1,22 @@
+libKleo uses no new APIs.
+
+--- libkleo-19.04.0/CMakeLists.txt.old 2019-04-12 00:16:32.000000000 +0000
++++ libkleo-19.04.0/CMakeLists.txt 2019-04-19 06:31:09.576149789 +0000
+@@ -3,7 +3,7 @@
+
+ project(libkleo VERSION ${PIM_VERSION})
+
+-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 ${ECM_MODULE_PATH})
+@@ -24,7 +24,7 @@
+
+
+ set(LIBKLEO_LIB_VERSION ${PIM_VERSION})
+-set(QT_REQUIRED_VERSION "5.10.0")
++set(QT_REQUIRED_VERSION "5.9.0")
+ set(KDEPIMTEXTEDIT_VERSION "5.11.0")
+
+ find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets)