diff options
| author | Johannes Huber <johu@gentoo.org> | 2014-05-05 16:55:27 +0200 |
|---|---|---|
| committer | Johannes Huber <johu@gentoo.org> | 2014-05-05 16:59:02 +0200 |
| commit | 57b2f591eeed08368c2d6e91fb79c8e298b10502 (patch) | |
| tree | 37b2e0353803864320b029770e593adc8df0d0ae /eclass/kde5-functions.eclass | |
| parent | 464ba3708c0af3db723f7115cab51c15386ce5da (diff) | |
| download | kde-57b2f591eeed08368c2d6e91fb79c8e298b10502.tar.gz kde-57b2f591eeed08368c2d6e91fb79c8e298b10502.tar.bz2 kde-57b2f591eeed08368c2d6e91fb79c8e298b10502.zip | |
[eclass] Add add_kdemisc_dep function
Diffstat (limited to 'eclass/kde5-functions.eclass')
| -rw-r--r-- | eclass/kde5-functions.eclass | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index 48c95b3c386..53a345acc70 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -123,6 +123,21 @@ add_kdebase_dep() { _add_kdecategory_dep kde-base ${1} ${2} ${3} } +# @FUNCTION: add_kdemisc_dep +# @DESCRIPTION: +# Create proper dependency for kde-misc/ dependencies. +# This takes 1 to 3 arguments. The first being the package name, the optional +# second is additional USE flags to append, and the optional third is the +# version to use instead of the automatic version (use sparingly). +# The output of this should be added directly to DEPEND/RDEPEND, and may be +# wrapped in a USE conditional (but not an || conditional without an extra set +# of parentheses). +add_kdemisc_dep() { + debug-print-function ${FUNCNAME} "$@" + + _add_kdecategory_dep kde-misc ${1} ${2} ${3} +} + # @FUNCTION: get_kde_version # @DESCRIPTION: # Translates an ebuild version into a major.minor KDE SC |
