Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: eclass/
Date: Mon, 05 May 2014 14:59:11
Message-Id: 1399301942.57b2f591eeed08368c2d6e91fb79c8e298b10502.johu@gentoo
1 commit: 57b2f591eeed08368c2d6e91fb79c8e298b10502
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 5 14:55:27 2014 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Mon May 5 14:59:02 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=57b2f591
7
8 [eclass] Add add_kdemisc_dep function
9
10 ---
11 eclass/kde5-functions.eclass | 15 +++++++++++++++
12 1 file changed, 15 insertions(+)
13
14 diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
15 index 48c95b3..53a345a 100644
16 --- a/eclass/kde5-functions.eclass
17 +++ b/eclass/kde5-functions.eclass
18 @@ -123,6 +123,21 @@ add_kdebase_dep() {
19 _add_kdecategory_dep kde-base ${1} ${2} ${3}
20 }
21
22 +# @FUNCTION: add_kdemisc_dep
23 +# @DESCRIPTION:
24 +# Create proper dependency for kde-misc/ dependencies.
25 +# This takes 1 to 3 arguments. The first being the package name, the optional
26 +# second is additional USE flags to append, and the optional third is the
27 +# version to use instead of the automatic version (use sparingly).
28 +# The output of this should be added directly to DEPEND/RDEPEND, and may be
29 +# wrapped in a USE conditional (but not an || conditional without an extra set
30 +# of parentheses).
31 +add_kdemisc_dep() {
32 + debug-print-function ${FUNCNAME} "$@"
33 +
34 + _add_kdecategory_dep kde-misc ${1} ${2} ${3}
35 +}
36 +
37 # @FUNCTION: get_kde_version
38 # @DESCRIPTION:
39 # Translates an ebuild version into a major.minor KDE SC