kde-apps/ktp-auth-handler: Drop unused DEPEND
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 17 Jun 2017 15:56:06 +0000 (17:56 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 17 Jun 2017 15:57:12 +0000 (17:57 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.1

kde-apps/ktp-auth-handler/files/ktp-auth-handler-17.04.2-no-qtwebkit.patch [new file with mode: 0644]
kde-apps/ktp-auth-handler/ktp-auth-handler-17.04.2.ebuild

diff --git a/kde-apps/ktp-auth-handler/files/ktp-auth-handler-17.04.2-no-qtwebkit.patch b/kde-apps/ktp-auth-handler/files/ktp-auth-handler-17.04.2-no-qtwebkit.patch
new file mode 100644 (file)
index 0000000..0a3381e
--- /dev/null
@@ -0,0 +1,25 @@
+From a0e41275bc8f20a6f000ab552ae5fb8fc82e9cff Mon Sep 17 00:00:00 2001
+From: Antonio Rojas <arojas@archlinux.org>
+Date: Sat, 17 Jun 2017 11:40:43 +0200
+Subject: Remove unused dependency
+
+Differential Revision: https://phabricator.kde.org/D6244
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f8870f1..3a192e9 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -13,7 +13,7 @@ find_package(Qt5 5.3 CONFIG REQUIRED COMPONENTS DBus Gui Core Network) #Network
+ find_package(ECM 0.0.11 REQUIRED NO_MODULE)
+ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
+ 
+-find_package(KF5 5.0 REQUIRED COMPONENTS Wallet WidgetsAddons I18n KIO WebKit)
++find_package(KF5 5.0 REQUIRED COMPONENTS Wallet WidgetsAddons I18n KIO)
+ 
+ cmake_policy(SET CMP0002 OLD)
+ 
+-- 
+cgit v0.11.2
index 72197e3cb8a6079b5f12ed4b3a28dae3525bb781..81efcea6e8dd1fef9315c2578ce3733765fd9536 100644 (file)
@@ -12,7 +12,7 @@ LICENSE="LGPL-2.1"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-COMMON_DEPEND="
+DEPEND="
        $(add_frameworks_dep kconfig)
        $(add_frameworks_dep kcoreaddons)
        $(add_frameworks_dep ki18n)
@@ -30,9 +30,8 @@ COMMON_DEPEND="
        net-libs/signond
        net-libs/telepathy-qt[qt5]
 "
-DEPEND="${COMMON_DEPEND}
-       $(add_frameworks_dep kdewebkit)
-"
-RDEPEND="${COMMON_DEPEND}
+RDEPEND="${DEPEND}
        app-crypt/qca:2[ssl]
 "
+
+PATCHES=( "${FILESDIR}/${P}-no-qtwebkit.patch" )