commit:     a8d3d2f62dab71d6f2e63f8e16806fe144df1553
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Mon Oct 17 14:39:23 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Oct 18 21:44:47 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=a8d3d2f6

dev-util/kdevplatform: Remove bogus deps

Gentoo-bug: 595116

Package-Manager: portage-2.3.0

 .../files/kdevplatform-5.0.1-unused-deps.patch     | 24 ++++++++++++++++++++++
 dev-util/kdevplatform/kdevplatform-5.0.9999.ebuild |  4 ++++
 2 files changed, 28 insertions(+)

diff --git a/dev-util/kdevplatform/files/kdevplatform-5.0.1-unused-deps.patch 
b/dev-util/kdevplatform/files/kdevplatform-5.0.1-unused-deps.patch
new file mode 100644
index 0000000..0a0d0f7
--- /dev/null
+++ b/dev-util/kdevplatform/files/kdevplatform-5.0.1-unused-deps.patch
@@ -0,0 +1,24 @@
+commit 9d2423f20458d735454b9917b4b0f5e39a7929f5
+Author: Andreas Sturmlechner <andreas.sturmlech...@gmail.com>
+Date:   Sun Oct 16 09:36:03 2016 +0200
+
+    Remove unused dependencies
+    
+    Qt5Quick, Qt5QuickWidgets only used in welcomepage
+    
+    REVIEW: 129196
+
+diff --git a/shell/CMakeLists.txt b/shell/CMakeLists.txt
+index 97666f3..118acf1 100644
+--- a/shell/CMakeLists.txt
++++ b/shell/CMakeLists.txt
+@@ -121,9 +121,6 @@ LINK_PUBLIC
+     KDev::OutputView
+     KDev::Interfaces
+ LINK_PRIVATE
+-    Qt5::Quick
+-    Qt5::QuickWidgets
+-
+     KF5::GuiAddons
+     KF5::ConfigWidgets
+     KF5::IconThemes

diff --git a/dev-util/kdevplatform/kdevplatform-5.0.9999.ebuild 
b/dev-util/kdevplatform/kdevplatform-5.0.9999.ebuild
index 8d9cf90..a75beb7 100644
--- a/dev-util/kdevplatform/kdevplatform-5.0.9999.ebuild
+++ b/dev-util/kdevplatform/kdevplatform-5.0.9999.ebuild
@@ -70,8 +70,12 @@ RDEPEND="${COMMON_DEPEND}
        !dev-util/kdevplatform:4
 "
 
+REQUIRED_USE="test? ( welcomepage )"
+
 RESTRICT+=" test"
 
+PATCHES=( "${FILESDIR}/${PN}-5.0.1-unused-deps.patch" )
+
 src_prepare() {
        kde5_src_prepare
        # root tests subdirectory actually does not contain tests, installs 
stuff

Reply via email to