summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/kdevplatform/files/kdevplatform-5.0.1-unused-deps.patch24
-rw-r--r--dev-util/kdevplatform/kdevplatform-5.0.9999.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 00000000000..0a0d0f7332c
--- /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.9999.ebuild b/dev-util/kdevplatform/kdevplatform-5.0.9999.ebuild
index 8d9cf901d40..a75beb71af8 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