git » plasma-framework.git » commit 3456438

Backport fix for plasma-nm asking twice for password

author Antonio Rojas
2020-06-23 13:26:28 UTC
committer Antonio Rojas
2020-06-23 13:26:28 UTC
parent 4c284617db36125cb665121375341d5c534667a6

Backport fix for plasma-nm asking twice for password

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index 44aca21..0f5b1fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=plasma-framework
 pkgver=5.71.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Plasma library and runtime components based upon KF5 and Qt5'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -12,11 +12,17 @@ license=(LGPL)
 depends=(kactivities kdeclarative kwayland kirigami2)
 makedepends=(extra-cmake-modules qt5-tools qt5-doc kdoctools doxygen)
 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/plasma-framework/-/commit/7f9e189d.patch)
 sha256sums=('a54c8603ca261c89609a3009536a9217ce3415a7fd63527ed36f266399613067'
-            'SKIP')
+            'SKIP'
+            'c27b915572ccd46f39d85717955bcf78ce4d025c06ce64d9c480a641fe21467f')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 -i ../7f9e189d.patch # Fix plasma-nm asking twice for password
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF \