git » kscreenlocker.git » commit 9d1c5aa

Fix unlock not working after pressing enter (KDEBUG#380491)

author Antonio Rojas
2017-06-04 20:47:53 UTC
committer Antonio Rojas
2017-06-04 20:47:53 UTC
parent 5f4a22d1e929def02cdc0517286c8b0ca0618408

Fix unlock not working after pressing enter (KDEBUG#380491)

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index 6117c1d..2a93070 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=kscreenlocker
 pkgver=5.10.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Library and components for secure lock screen architecture'
 arch=(i686 x86_64)
 url='https://www.kde.org/workspaces/plasmadesktop/'
@@ -10,15 +10,21 @@ license=(LGPL)
 groups=(plasma)
 depends=(kidletime kwayland kdeclarative)
 makedepends=(extra-cmake-modules python kdoctools kcmutils libxcursor)
-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-380491.patch::"https://cgit.kde.org/kscreenlocker.git/patch/?id=23fa33ce")
 sha256sums=('ee625488caa933fb9c174b80b10b425f51ad23eca3aac7d7de20ac1da7d62ed4'
-            'SKIP')
+            'SKIP'
+            'e2a39c47a77617d062199ffa877bdeb444b34b5abad16f7283f99f83e2dcc4a5')
 validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell
               '348C8651206633FD983A8FC4DEACEA00075E1D76'  # KDE Neon
               'D07BD8662C56CB291B316EB2F5675605C74E02CF') # David Edmundson
 
 prepare() {
   mkdir -p build
+
+# Fix https://bugs.kde.org/show_bug.cgi?id=380491
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kdebug-380491.patch
 }
 
 build() {