git » kcompletion.git » commit d507ea7

backport a regression fix (https://mail.kde.org/pipermail/distributions/2021-January/000928.html)

author Felix Yan
2021-01-25 22:11:08 UTC
committer Felix Yan
2021-01-25 22:11:08 UTC
parent fd9d973385d73fa13dcfac266496c6e81bc9e1e5

backport a regression fix (https://mail.kde.org/pipermail/distributions/2021-January/000928.html)

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index 5b01c67..ed08093 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=kcompletion
 pkgver=5.78.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Text completion helpers and widgets'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -13,11 +13,17 @@ depends=(kwidgetsaddons kconfig)
 makedepends=(extra-cmake-modules qt5-tools qt5-doc clang python-pyqt5 doxygen sip4)
 optdepends=('python-pyqt5: for the Python bindings')
 groups=(kf5)
-source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}
+        https://invent.kde.org/frameworks/kcompletion/commit/7acda936f06193e9fc85ae5cf9ccc8d65971f657.patch)
 sha256sums=('a73972651b5230c8df2d5d7b463d48004b8fd6672bda164e834eec5345113fa9'
-            'SKIP')
+            'SKIP'
+            '46186dc50a57cdb0bb48f5d03811553a50c2cd3d35c034fd2fadd6854fb259b3')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 7acda936f06193e9fc85ae5cf9ccc8d65971f657.patch
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF \