summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-05-05 01:06:58 +0200
committerJohannes Huber <johu@gentoo.org>2016-05-06 17:07:37 +0200
commitee16002c620a2a56bfbccfc8e4a231fe1a5468a0 (patch)
treef21a6cd790856808c57cfd9e4772b1662b8b6c86 /kde-apps/ktuberling
parentgames-arcade/savagewheels: fix broken patch (diff)
downloadgentoo-ee16002c620a2a56bfbccfc8e4a231fe1a5468a0.tar.gz
gentoo-ee16002c620a2a56bfbccfc8e4a231fe1a5468a0.tar.bz2
gentoo-ee16002c620a2a56bfbccfc8e4a231fe1a5468a0.zip
kde-apps/ktuberling: Drop unused deps
Gentoo-bug: 581588 Package-Manager: portage-2.2.27 Signed-off-by: Johannes Huber <johu@gentoo.org>
Diffstat (limited to 'kde-apps/ktuberling')
-rw-r--r--kde-apps/ktuberling/files/ktuberling-15.12.3-deps.patch53
-rw-r--r--kde-apps/ktuberling/ktuberling-15.12.3.ebuild6
2 files changed, 56 insertions, 3 deletions
diff --git a/kde-apps/ktuberling/files/ktuberling-15.12.3-deps.patch b/kde-apps/ktuberling/files/ktuberling-15.12.3-deps.patch
new file mode 100644
index 000000000000..e9482222ad15
--- /dev/null
+++ b/kde-apps/ktuberling/files/ktuberling-15.12.3-deps.patch
@@ -0,0 +1,53 @@
+commit ed566185fe698c71714009602c4dfbe4a91e0313
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Thu May 5 00:32:34 2016 +0200
+
+ Fix dependencies (drop unused, add missing)
+
+ REVIEW: 127832
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2df6ca6..884a4b5 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -6,23 +6,18 @@ set (QT_MIN_VERSION "5.3.0")
+ 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 Qml Quick QuickWidgets Svg Test)
+-find_package(KF5 REQUIRED COMPONENTS
+- CoreAddons
+- Config
+- ItemModels
+- WidgetsAddons
+- WindowSystem
++find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS PrintSupport Svg Widgets Xml)
++find_package(KF5 REQUIRED COMPONENTS
++ Completion
+ Config
++ ConfigWidgets
++ CoreAddons
+ DBusAddons
+ I18n
+- ConfigWidgets
+- TextWidgets
++ KDELibs4Support #TODO eventually remove kdelibs4support
++ WidgetsAddons
+ XmlGui
+- KIO
+- NotifyConfig
+- NewStuff
+- KDELibs4Support) #TODO eventually remove kdelibs4support
++)
+
+ find_package(KF5KDEGames 4.9.0 REQUIRED)
+ find_package(Phonon4Qt5 CONFIG REQUIRED)
+@@ -58,7 +53,7 @@ file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/*-apps-ktuberling.png")
+ ecm_add_app_icon(ktuberling_SRCS ICONS ${ICONS_SRCS})
+ add_executable(ktuberling ${ktuberling_SRCS})
+
+-target_link_libraries(ktuberling KF5::KIOCore KF5KDEGames Phonon::phonon4qt5 Qt5::Svg Phonon::phonon4qt5 KF5::DBusAddons KF5::XmlGui KF5::Completion Qt5::PrintSupport KF5::KDELibs4Support)
++target_link_libraries(ktuberling KF5KDEGames Phonon::phonon4qt5 Qt5::Svg KF5::DBusAddons KF5::XmlGui KF5::Completion Qt5::PrintSupport KF5::KDELibs4Support)
+
+ install(TARGETS ktuberling ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
+
diff --git a/kde-apps/ktuberling/ktuberling-15.12.3.ebuild b/kde-apps/ktuberling/ktuberling-15.12.3.ebuild
index 9fd065c03701..ceea7be52d7d 100644
--- a/kde-apps/ktuberling/ktuberling-15.12.3.ebuild
+++ b/kde-apps/ktuberling/ktuberling-15.12.3.ebuild
@@ -4,8 +4,7 @@
EAPI=6
-KDE_HANDBOOK="true"
-KDE_PUNT_BOGUS_DEPS="true"
+KDE_HANDBOOK="forceoptional"
KDE_SELINUX_MODULE="games"
inherit kde5
@@ -35,5 +34,6 @@ DEPEND="
$(add_qt_dep qtxml)
media-libs/phonon[qt5]
"
-
RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-deps.patch" )