git » kio.git » commit b480151

Fix selecting binaries from component chooser KCM

author Antonio Rojas
2021-07-14 21:16:58 UTC
committer Antonio Rojas
2021-07-14 21:16:58 UTC
parent e9612742bed5e43678f4e229e3d0b20b1c00125e

Fix selecting binaries from component chooser KCM

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index cdf0e68..6e39fe6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=kio
 pkgver=5.84.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Resource and network access abstraction'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -14,11 +14,17 @@ makedepends=(extra-cmake-modules kdoctools doxygen qt5-tools qt5-doc)
 optdepends=('kio-extras: extra protocols support (sftp, fish and more)' 'kdoctools: for the help kioslave'
             'kio-fuse: to mount remote filesystems via FUSE')
 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/kio/-/commit/8ad69215.patch)
 sha256sums=('96be2b732faf97a484edc5238049ad22f0f233b9e404468f4da40c5ec839e0d3'
-            'SKIP')
+            'SKIP'
+            '1b0e4575282769d64f334ea2c4a9ba17986bdc9bad9813272d350a937668467e')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 8ad69215.patch # Fix selecting binaries from component chooser KCM
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \