git » kio.git » commit d335fb2

Fix file picker in Krita (FS#77039)

author Antonio Rojas
2023-01-08 23:30:56 UTC
committer Antonio Rojas
2023-01-08 23:30:56 UTC
parent 2d2d10779e443ff23e4a8bb660ac697b7b3a3f52

Fix file picker in Krita (FS#77039)

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index 5588732..713dd16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=kio
 pkgver=5.101.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Resource and network access abstraction'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -14,12 +14,18 @@ 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/c801571f.patch)
 sha256sums=('25e4d66215b162480ca58728c58a72f49b2a48bd2cc58e8719fbd7dacb79cc63'
-            'SKIP')
+            'SKIP'
+            'aabf8904b22d18d16d5a71ae130ec9a28956e39d5b4ce60347d2a9e2192d91f1')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 options=(debug)
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < c801571f.patch # Fix file picker in Krita
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \