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

Antonio Rojas arojas at archlinux.org
Fri May 29 11:56:14 UTC 2020


    Date: Friday, May 29, 2020 @ 11:56:14
  Author: arojas
Revision: 387813

Fix crash on right click with Qt 5.15

Modified:
  konsole/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-29 09:57:08 UTC (rev 387812)
+++ PKGBUILD	2020-05-29 11:56:14 UTC (rev 387813)
@@ -4,7 +4,7 @@
 
 pkgname=konsole
 pkgver=20.04.1
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://kde.org/applications/system/konsole/'
 pkgdesc="KDE's terminal emulator"
@@ -13,24 +13,24 @@
 depends=(knotifyconfig kpty kparts kinit knewstuff)
 makedepends=(extra-cmake-modules kdoctools)
 optdepends=('keditbookmarks: to manage bookmarks')
-source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
+         kdebug-419526.patch::"https://invent.kde.org/utilities/konsole/commit/e7e8e9d1.patch")
 sha256sums=('b5ada61759b4731cccb3814c4cc9a495c309ad93c9943e4b7e802b3fe53a7932'
-            'SKIP')
+            'SKIP'
+            '92f5fd30536017a0711869a04b5be298326e45e7b19afb2012f319761d0c322f')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
 
 prepare() {
-  mkdir -p build
+  patch -d $pkgname-$pkgver -p1 -i ../kdebug-419526.patch # Fix crash on right-click with Qt 5.15
 }
 
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }


More information about the arch-commits mailing list