git » plasma-desktop.git » commit d852e8a

Fix kcm-touchpad crash when there is no touchpad

author Antonio Rojas
2019-06-19 17:16:19 UTC
committer Antonio Rojas
2019-06-19 17:16:19 UTC
parent 1b86d3f1cac50d537191d8683df989f740f41e57

Fix kcm-touchpad crash when there is no touchpad

PKGBUILD +8 -3

diff --git a/PKGBUILD b/PKGBUILD
index 8cc5ad5..46ecde1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,18 +5,20 @@
 pkgbase=plasma-desktop
 pkgname=(plasma-desktop knetattach)
 pkgver=5.16.1
-pkgrel=1
+pkgrel=2
 pkgdesc='KDE Plasma Desktop'
 arch=(x86_64)
 url='https://www.kde.org/workspaces/plasmadesktop/'
 license=(LGPL)
-source=("https://download.kde.org/stable/plasma/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/plasma/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}
+        kdebug-408325.patch::"https://cgit.kde.org/plasma-desktop.git/patch/?id=b7127724")
 depends=(polkit-kde-agent libxkbfile kmenuedit appstream-qt systemsettings ksysguard kpeople baloo)
 makedepends=(extra-cmake-modules kdoctools boost xf86-input-evdev xf86-input-synaptics xf86-input-libinput xorg-server-devel
              libibus scim kdesignerplugin)
 groups=(plasma)
 sha256sums=('df04d08beba47871c734ed4ed245746f56c24a5bd53bedae0881e943356049fa'
-            'SKIP')
+            'SKIP'
+            '200a363df4e2e7db9e3df7e9b0887439bf0caec431eec98839f9f772112a1eb6')
 validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell <jr@jriddell.org>
               '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah@kde.org>
               'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson <davidedmundson@kde.org>
@@ -24,6 +26,9 @@ validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell <jr
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kdebug-408325.patch # Fix kcm-touchpad crash when there is no touchpad
 }
 
 build() {