summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-04-25 19:30:52 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-04-25 19:35:10 +0200
commit632584c8498bfded1bda552160578dfdd47fbd4f (patch)
tree09afb71efa0494f3e118ff3762e597b45c312dc3 /kde-frameworks/kglobalaccel
parentsys-process/procenv: remove old (diff)
downloadgentoo-632584c8498bfded1bda552160578dfdd47fbd4f.tar.gz
gentoo-632584c8498bfded1bda552160578dfdd47fbd4f.tar.bz2
gentoo-632584c8498bfded1bda552160578dfdd47fbd4f.zip
kde-frameworks/kglobalaccel: Drop unused DEPEND
Upstream commit 3670b49d572195f623297eb7f27c62136ffe3490 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'kde-frameworks/kglobalaccel')
-rw-r--r--kde-frameworks/kglobalaccel/files/kglobalaccel-5.33.0-deps.patch44
-rw-r--r--kde-frameworks/kglobalaccel/kglobalaccel-5.33.0-r1.ebuild31
2 files changed, 75 insertions, 0 deletions
diff --git a/kde-frameworks/kglobalaccel/files/kglobalaccel-5.33.0-deps.patch b/kde-frameworks/kglobalaccel/files/kglobalaccel-5.33.0-deps.patch
new file mode 100644
index 000000000000..59d9125c9839
--- /dev/null
+++ b/kde-frameworks/kglobalaccel/files/kglobalaccel-5.33.0-deps.patch
@@ -0,0 +1,44 @@
+commit 3670b49d572195f623297eb7f27c62136ffe3490
+Author: Aleix Pol <aleixpol@kde.org>
+Date: Tue Apr 25 12:25:12 2017 +0200
+
+ build: Remove KService dependency
+
+ Summary:
+ ..as it's not used anywhere (and the KService isn't some kind of
+ "selfinitializing" library, that only needs to be linked to).
+
+ Reviewers: graesslin, cfeck, apol
+
+ Reviewed By: graesslin
+
+ Subscribers: #frameworks
+
+ Tags: #frameworks
+
+ Differential Revision: https://phabricator.kde.org/D5556
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4e5a9e4..670c677 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -39,7 +39,6 @@ find_package(KF5CoreAddons ${KF5_DEP_VERSION} REQUIRED)
+ find_package(KF5Crash ${KF5_DEP_VERSION} REQUIRED)
+ find_package(KF5DBusAddons ${KF5_DEP_VERSION} REQUIRED)
+ find_package(KF5WindowSystem ${KF5_DEP_VERSION} REQUIRED)
+-find_package(KF5Service ${KF5_DEP_VERSION} REQUIRED)
+
+ # no X11 stuff on mac
+ if (NOT APPLE)
+diff --git a/src/runtime/CMakeLists.txt b/src/runtime/CMakeLists.txt
+index 4aeb13c..a318818 100644
+--- a/src/runtime/CMakeLists.txt
++++ b/src/runtime/CMakeLists.txt
+@@ -30,7 +30,6 @@ target_link_libraries(KF5GlobalAccelPrivate
+ KF5::WindowSystem # KKeyServer
+ KF5::CoreAddons # KAboutData
+ KF5::ConfigCore
+- KF5::Service
+ )
+
+ set_target_properties(KF5GlobalAccelPrivate PROPERTIES VERSION ${KGLOBALACCEL_VERSION_STRING}
diff --git a/kde-frameworks/kglobalaccel/kglobalaccel-5.33.0-r1.ebuild b/kde-frameworks/kglobalaccel/kglobalaccel-5.33.0-r1.ebuild
new file mode 100644
index 000000000000..5fc51130a268
--- /dev/null
+++ b/kde-frameworks/kglobalaccel/kglobalaccel-5.33.0-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework to handle global shortcuts"
+KEYWORDS="~amd64 ~arm ~x86"
+LICENSE="LGPL-2+"
+IUSE="nls"
+
+RDEPEND="
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep kwindowsystem X)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtx11extras)
+ x11-libs/libxcb
+ x11-libs/xcb-util-keysyms
+"
+DEPEND="${RDEPEND}
+ nls? ( $(add_qt_dep linguist-tools) )
+"
+
+PATCHES=( "${FILESDIR}/${P}-deps.patch" )