summaryrefslogtreecommitdiff
path: root/user/lokalize
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-09-19 00:05:46 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-09-19 00:05:46 +0000
commitcc24acfe4ce7c33801aeb362c8ac13ccf2dac2b4 (patch)
tree5615e599278a678ac233adcd437c8eed67070914 /user/lokalize
parenta7f03fc523db2f305ffd73220b12fb5a6bd2b3b6 (diff)
downloadpackages-cc24acfe4ce7c33801aeb362c8ac13ccf2dac2b4.tar.gz
packages-cc24acfe4ce7c33801aeb362c8ac13ccf2dac2b4.tar.bz2
packages-cc24acfe4ce7c33801aeb362c8ac13ccf2dac2b4.tar.xz
packages-cc24acfe4ce7c33801aeb362c8ac13ccf2dac2b4.zip
user/[KDE Applications]: Update to 20.08.1
Diffstat (limited to 'user/lokalize')
-rw-r--r--user/lokalize/APKBUILD9
-rw-r--r--user/lokalize/lts.patch37
2 files changed, 43 insertions, 3 deletions
diff --git a/user/lokalize/APKBUILD b/user/lokalize/APKBUILD
index b48609fd4..1dab84a20 100644
--- a/user/lokalize/APKBUILD
+++ b/user/lokalize/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=lokalize
-pkgver=20.04.3
+pkgver=20.08.1
pkgrel=0
pkgdesc="Computer-aided translation system"
url="https://kde.org/applications/development/org.kde.lokalize"
@@ -16,7 +16,9 @@ makedepends="qt5-qtbase-dev qt5-qtscript-dev cmake extra-cmake-modules kauth-dev
kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev solid-dev sonnet-dev
hunspell-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/release-service/$pkgver/src/lokalize-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/lokalize-$pkgver.tar.xz
+ lts.patch
+ "
build() {
if [ "$CBUILD" != "$CHOST" ]; then
@@ -42,4 +44,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="becc88705957386a1012378e28c025eb4087f46e2f0953eaa3d8f8d6625cce3be1d23bf1a92ef38f02793a0f175115141839e360bce7f9adcf6ccd494b17b65c lokalize-20.04.3.tar.xz"
+sha512sums="9ac2990ee4147114e42ae0098e65ea608a8052d836b5d8a4a4b721d1fa631f6e40a21431ef8c00c03adb7fcc668ea76704f3be207c74347480c33f59ad4f6a22 lokalize-20.08.1.tar.xz
+75b6e97aec4941b7d9ae2d84df58a5f9554169d91dffbf765ee780f8d408bb8aad1f581d8213194df843159677dde9170663740ca78ac7ac3655165dae1fea26 lts.patch"
diff --git a/user/lokalize/lts.patch b/user/lokalize/lts.patch
new file mode 100644
index 000000000..755fdd610
--- /dev/null
+++ b/user/lokalize/lts.patch
@@ -0,0 +1,37 @@
+12c12
+< set(QT_MIN_VERSION "5.14.0")
+---
+> set(QT_MIN_VERSION "5.12.9")
+--- lokalize-20.08.1/CMakeLists.txt.old 2020-09-01 06:29:46.000000000 +0000
++++ lokalize-20.08.1/CMakeLists.txt 2020-09-17 15:42:19.559171111 +0000
+@@ -9,7 +9,7 @@
+
+ project(lokalize VERSION ${RELEASE_SERVICE_VERSION})
+
+-set(QT_MIN_VERSION "5.14.0")
++set(QT_MIN_VERSION "5.12.9")
+ set(KF5_MIN_VERSION "5.71.0")
+
+ # search packages used
+--- lokalize-20.08.1/src/glossary/glossaryview.cpp.old 2020-08-31 19:21:04.000000000 +0000
++++ lokalize-20.08.1/src/glossary/glossaryview.cpp 2020-09-18 02:08:40.084992048 +0000
+@@ -166,7 +166,7 @@
+
+ bool found = false;
+ //m_flowLayout->setEnabled(false);
+- foreach (const QByteArray& termId, QSet<QByteArray>(termIds.begin(), termIds.end())) {
++ foreach (const QByteArray& termId, termIds.toSet()) {
+ // now check which of them are really hits...
+ foreach (const QString& enTerm, glossary.terms(termId, sourceLangCode)) {
+ // ...and if so, which part of termEn list we must thank for match ...
+--- lokalize-20.08.1/src/tests/projectmodeltest.cpp.old 2020-08-31 19:21:04.000000000 +0000
++++ lokalize-20.08.1/src/tests/projectmodeltest.cpp 2020-09-18 02:19:03.517276672 +0000
+@@ -87,7 +87,7 @@
+ model->setUrl(QUrl::fromLocalFile(QFINDTESTDATA("data/dir-halftranslated")), {});
+
+ // Wait for signal
+- while (!loaded.loadRelaxed()) {
++ while (!loaded.load()) {
+ QCoreApplication::processEvents();
+ }
+