summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-10-16 09:42:45 +0200
committerMichael Palimaka <kensington@gentoo.org>2016-10-17 05:14:59 +1100
commitd9696ae28b9b675eda8afacfcc5eebce8b0e56e1 (patch)
treecbdbfe40e08ee8b8fab125c62f15fa860ff304d9 /dev-util/kdevplatform
parentmedia-plugins/vdr-osdserver: compile fix gcc-6; some minor compile warnings f... (diff)
downloadgentoo-d9696ae28b9b675eda8afacfcc5eebce8b0e56e1.tar.gz
gentoo-d9696ae28b9b675eda8afacfcc5eebce8b0e56e1.tar.bz2
gentoo-d9696ae28b9b675eda8afacfcc5eebce8b0e56e1.zip
dev-util/kdevplatform: Remove bogus deps
Gentoo-bug: 595116
Diffstat (limited to 'dev-util/kdevplatform')
-rw-r--r--dev-util/kdevplatform/files/kdevplatform-5.0.1-unused-deps.patch24
-rw-r--r--dev-util/kdevplatform/kdevplatform-5.0.1.ebuild4
2 files changed, 28 insertions, 0 deletions
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 000000000000..0a0d0f7332c1
--- /dev/null
+++ b/dev-util/kdevplatform/files/kdevplatform-5.0.1-unused-deps.patch
@@ -0,0 +1,24 @@
+commit 9d2423f20458d735454b9917b4b0f5e39a7929f5
+Author: Andreas Sturmlechner <andreas.sturmlechner@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.1.ebuild b/dev-util/kdevplatform/kdevplatform-5.0.1.ebuild
index 8d9cf901d40e..1ad661f96677 100644
--- a/dev-util/kdevplatform/kdevplatform-5.0.1.ebuild
+++ b/dev-util/kdevplatform/kdevplatform-5.0.1.ebuild
@@ -70,8 +70,12 @@ RDEPEND="${COMMON_DEPEND}
!dev-util/kdevplatform:4
"
+REQUIRED_USE="test? ( welcomepage )"
+
RESTRICT+=" test"
+PATCHES=( "${FILESDIR}/${P}-unused-deps.patch" )
+
src_prepare() {
kde5_src_prepare
# root tests subdirectory actually does not contain tests, installs stuff