git » kio.git » commit 80acf7e

Fix circular dependency with kinit

author Antonio Rojas
2017-08-24 06:04:19 UTC
committer Antonio Rojas
2017-08-24 06:04:19 UTC
parent c1831a455387348b87e52816fcc187d2d728d6b7

Fix circular dependency with kinit

PKGBUILD +9 -4

diff --git a/PKGBUILD b/PKGBUILD
index b10739a..e696e94 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,23 +3,28 @@
 
 pkgname=kio
 pkgver=5.37.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Resource and network access abstraction'
 arch=('i686' 'x86_64')
 url='https://community.kde.org/Frameworks'
 license=('LGPL')
-depends=('solid' 'kjobwidgets' 'kbookmarks' 'libxslt' 'kwallet' 'desktop-file-utils' 'kinit')
+depends=('solid' 'kjobwidgets' 'kbookmarks' 'libxslt' 'kwallet' 'desktop-file-utils')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'doxygen' 'qt5-tools')
 optdepends=('kio-extras: extra protocols support (sftp, fish and more)' 'kdoctools: for the help kioslave'
             'knetattach: to add new kio-remote entries')
 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}
+        kio-no-kinit-dependency.patch::"https://cgit.kde.org/kio.git/patch/?id=c85a8e03")
 sha256sums=('49448ebcfe182805f8f9cd40c1e2c8e686578cc2e7fa3688204d5ca4e182ac5b'
-            'SKIP')
+            'SKIP'
+            'c4bfae6a1fb228bf009d7b7a0e3cb34ed0be3bfce4293f543084e4e450577c4a')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kio-no-kinit-dependency.patch # prevent circular dependency kio <-> kinit
 }
 
 build() {