kde-misc/kio-stash: Drop bogus DEPEND
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 3 Jul 2017 13:55:12 +0000 (15:55 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 4 Jul 2017 13:53:00 +0000 (15:53 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

kde-misc/kio-stash/files/kio-stash-1.0-no-kf5config.patch [new file with mode: 0644]
kde-misc/kio-stash/kio-stash-1.0.ebuild

diff --git a/kde-misc/kio-stash/files/kio-stash-1.0-no-kf5config.patch b/kde-misc/kio-stash/files/kio-stash-1.0-no-kf5config.patch
new file mode 100644 (file)
index 0000000..1e434bb
--- /dev/null
@@ -0,0 +1,43 @@
+commit 624a1f38b9604def78c34e26ac31e1fd21c6673b
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date:   Mon Jul 3 20:36:41 2017 +0200
+
+    Drop unused KF5Config dependency
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0cbd710..1552df6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -27,7 +27,6 @@ find_package(Qt5 ${QT5_MIN_VERSION} REQUIRED COMPONENTS
+ )
+ 
+ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
+-    Config
+     KIO
+     DBusAddons
+     I18n
+diff --git a/src/ioslave/CMakeLists.txt b/src/ioslave/CMakeLists.txt
+index 462fef9..23922f8 100644
+--- a/src/ioslave/CMakeLists.txt
++++ b/src/ioslave/CMakeLists.txt
+@@ -6,8 +6,6 @@ target_link_libraries (kio_filestash
+     Qt5::DBus
+     KF5::KIOCore
+     KF5::I18n
+-    KF5::ConfigCore
+-    KF5::ConfigGui
+ )
+ 
+ set_target_properties(kio_filestash PROPERTIES OUTPUT_NAME "filestash")
+diff --git a/src/ioslave/ioslave.cpp b/src/ioslave/ioslave.cpp
+index b280f11..8928efb 100644
+--- a/src/ioslave/ioslave.cpp
++++ b/src/ioslave/ioslave.cpp
+@@ -34,7 +34,6 @@
+ 
+ #include <KProtocolManager>
+ #include <KLocalizedString>
+-#include <KConfigGroup>
+ #include <KFileItem>
+ #include <KIO/Job>
+ 
index 88a528d43dfd1dffd484d62d4599a4b76bb2b58f..a0b34b7c1542c0d52ef0c19eec3e0145b5840f81 100644 (file)
@@ -18,7 +18,6 @@ IUSE=""
 RESTRICT+=" test"
 
 DEPEND="
-       $(add_frameworks_dep kconfig)
        $(add_frameworks_dep kcoreaddons)
        $(add_frameworks_dep kdbusaddons)
        $(add_frameworks_dep ki18n)
@@ -26,3 +25,5 @@ DEPEND="
        $(add_qt_dep qtdbus)
 "
 RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-no-kf5config.patch" )