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

Antonio Rojas arojas at gemini.archlinux.org
Tue May 24 14:25:53 UTC 2022


    Date: Tuesday, May 24, 2022 @ 14:25:53
  Author: arojas
Revision: 446480

Fix crashes when opening settings

Modified:
  kate/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-24 13:40:37 UTC (rev 446479)
+++ PKGBUILD	2022-05-24 14:25:53 UTC (rev 446480)
@@ -5,18 +5,28 @@
 pkgbase=kate
 pkgname=(kwrite kate)
 pkgver=22.04.1
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 license=(GPL LGPL FDL)
 makedepends=(extra-cmake-modules kdoctools plasma-framework knewstuff ktexteditor kactivities kuserfeedback)
-source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgbase-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgbase-$pkgver.tar.xz{,.sig}
+        https://invent.kde.org/utilities/kate/-/commit/e002696b.patch
+        https://invent.kde.org/utilities/kate/-/commit/36ede44f.patch)
 sha256sums=('f46ec33d7edf8032efcd489cc431ebf3f93e703e0e7d88a51e93941fd8509849'
-            'SKIP')
+            'SKIP'
+            '9ae2cfeb66985dd6302baf680f98d20f70f8e895d7ff622b0fbeb70366a4f8f4'
+            '29f66ed1b12100ae4962e10afa021cf6a5f1c0dfd952aa142b89c6776723a46e')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck at kde.org>
               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker at kde.org>
 options=(debug)
 
+prepare() {
+# Fix crash when opening settings
+  patch -d $pkgbase-$pkgver -p1 < e002696b.patch
+  patch -d $pkgbase-$pkgver -p1 < 36ede44f.patch
+}
+
 build() {
   cmake -B build -S $pkgbase-$pkgver \
     -DBUILD_TESTING=OFF



More information about the arch-commits mailing list