commit: 21a9500bd14ddd5676abf3e505fa131ac87c6194
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Tue Mar 15 13:23:11 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 13:23:11 2016 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=21a9500b
kde-apps/ksquares: Remove unused deps, bug 572358
Upstream fixes brought to you by kensington.
Package-Manager: portage-2.2.27
.../files/ksquares-15.12.2-unused-deps.patch | 34 ++++++++++++++++++++++
kde-apps/ksquares/ksquares-15.12.2.ebuild | 2 ++
kde-apps/ksquares/ksquares-15.12.49.9999.ebuild | 4 ++-
kde-apps/ksquares/ksquares-9999.ebuild | 2 +-
4 files changed, 40 insertions(+), 2 deletions(-)
diff --git a/kde-apps/ksquares/files/ksquares-15.12.2-unused-deps.patch
b/kde-apps/ksquares/files/ksquares-15.12.2-unused-deps.patch
new file mode 100644
index 0000000..4bef6c4
--- /dev/null
+++ b/kde-apps/ksquares/files/ksquares-15.12.2-unused-deps.patch
@@ -0,0 +1,34 @@
+--- a/CMakeLists.txt 2015-11-11 11:59:11.000000000 +0100
++++ b/CMakeLists.txt 2016-03-15 14:15:47.399801535 +0100
+@@ -6,23 +6,17 @@
+ find_package(ECM 1.7.0 REQUIRED CONFIG)
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH}
${ECM_KDE_MODULE_DIR})
+
+-find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Test)
+-find_package(KF5 REQUIRED COMPONENTS
+- CoreAddons
+- Config
++find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets)
++find_package(KF5 REQUIRED COMPONENTS
++ Config
++ ConfigWidgets
++ CoreAddons
+ DBusAddons
+ DocTools
+- WidgetsAddons
+- Config
+- I18n
+- GuiAddons
+- ConfigWidgets
+- ItemViews
+- IconThemes
++ I18n
++ WidgetsAddons
+ XmlGui
+- KIO
+- NotifyConfig
+- )
++)
+
+ find_package(KF5KDEGames 4.9.0 REQUIRED)
+
diff --git a/kde-apps/ksquares/ksquares-15.12.2.ebuild
b/kde-apps/ksquares/ksquares-15.12.2.ebuild
index 16b42d1..098e200 100644
--- a/kde-apps/ksquares/ksquares-15.12.2.ebuild
+++ b/kde-apps/ksquares/ksquares-15.12.2.ebuild
@@ -30,3 +30,5 @@ DEPEND="
$(add_qt_dep qtwidgets)
"
RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-15.12.2-unused-deps.patch" )
diff --git a/kde-apps/ksquares/ksquares-15.12.49.9999.ebuild
b/kde-apps/ksquares/ksquares-15.12.49.9999.ebuild
index cb7faf3..2314999 100644
--- a/kde-apps/ksquares/ksquares-15.12.49.9999.ebuild
+++ b/kde-apps/ksquares/ksquares-15.12.49.9999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
KDE_HANDBOOK="forceoptional"
KDE_PUNT_BOGUS_DEPS="true"
@@ -30,3 +30,5 @@ DEPEND="
$(add_qt_dep qtwidgets)
"
RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-15.12.2-unused-deps.patch" )
diff --git a/kde-apps/ksquares/ksquares-9999.ebuild
b/kde-apps/ksquares/ksquares-9999.ebuild
index f6f4e37..179d753 100644
--- a/kde-apps/ksquares/ksquares-9999.ebuild
+++ b/kde-apps/ksquares/ksquares-9999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
KDE_HANDBOOK="forceoptional"
KDE_PUNT_BOGUS_DEPS="true"