git » solid.git » commit a3fccc5

Fix automonting of removable drives properly (FS#57630)

author Antonio Rojas
2018-04-09 07:14:17 UTC
committer Antonio Rojas
2018-04-09 07:14:17 UTC
parent 5b07437f3b0d2f0e60ac71aa99b76d67bba3f05e

Fix automonting of removable drives properly (FS#57630)

PKGBUILD +8 -3

diff --git a/PKGBUILD b/PKGBUILD
index a1e56ef..783851d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=solid
 pkgver=5.44.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Hardware integration and detection'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
@@ -13,13 +13,18 @@ depends=(qt5-base media-player-info upower udisks2)
 makedepends=(extra-cmake-modules qt5-tools doxygen qt5-declarative)
 optdepends=('qt5-declarative: QML bindings')
 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}
+        kdebug-391706.patch::"https://cgit.kde.org/solid.git/patch/?id=122a6cd8")
 sha256sums=('01e3b5c35373abd62f6d6951b8798d5a9f460b68302103832d59665d2a29bc23'
-            'SKIP')
+            'SKIP'
+            '72219ab1071975698b31f6992adedc3f0e5f8228c0a38a33d50d73df167a4463')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kdebug-391706.patch # Fix automonting of removable devices
 }
 
 build() {