summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-03-15 14:23:11 +0100
committerAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-03-15 14:23:11 +0100
commit21a9500bd14ddd5676abf3e505fa131ac87c6194 (patch)
treeb1a431e36d2b19305a8acf531cf99f285aafc9e4
parent4120d94fbecaf44ba78ca7d1b4541807ca415d18 (diff)
downloadkde-21a9500bd14ddd5676abf3e505fa131ac87c6194.tar.gz
kde-21a9500bd14ddd5676abf3e505fa131ac87c6194.tar.bz2
kde-21a9500bd14ddd5676abf3e505fa131ac87c6194.zip
kde-apps/ksquares: Remove unused deps, bug 572358
Upstream fixes brought to you by kensington. Package-Manager: portage-2.2.27
-rw-r--r--kde-apps/ksquares/files/ksquares-15.12.2-unused-deps.patch34
-rw-r--r--kde-apps/ksquares/ksquares-15.12.2.ebuild2
-rw-r--r--kde-apps/ksquares/ksquares-15.12.49.9999.ebuild4
-rw-r--r--kde-apps/ksquares/ksquares-9999.ebuild2
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 00000000000..4bef6c4014b
--- /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 16b42d1607a..098e200e7a0 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 cb7faf3486d..2314999ac56 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 f6f4e376043..179d7537423 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"