[arch-commits] Commit in knewstuff/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Mon Sep 27 18:56:45 UTC 2021


    Date: Monday, September 27, 2021 @ 18:56:45
  Author: arojas
Revision: 424764

Backport crash fix

Modified:
  knewstuff/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-27 18:50:39 UTC (rev 424763)
+++ PKGBUILD	2021-09-27 18:56:45 UTC (rev 424764)
@@ -4,7 +4,7 @@
 
 pkgname=knewstuff
 pkgver=5.86.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Support for downloading application assets from the network'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -13,11 +13,17 @@
 makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc qt5-declarative)
 optdepends=('kirigami2: QML components')
 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/knewstuff/-/commit/d09ba191.patch)
 sha256sums=('26f8b88add9050201e7871349adb3996d75d1ab047aa1a24279743e1425b75b0'
-            'SKIP')
+            'SKIP'
+            '23541c4a71f4d17d530fac13cb01b67d3783380bbebfa5e5decf62383ef0b44d')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < d09ba191.patch # Fix crashes
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF \



More information about the arch-commits mailing list