diff options
| author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-02-01 00:16:58 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-02-01 00:16:58 +0100 |
| commit | 92872d197f5987e8db47c109c91b49930dfbc813 (patch) | |
| tree | c639de738cca62379bceb6d7430e4850a5346fb7 /eclass/kde5-functions.eclass | |
| parent | 5adfeb262745a36edb3c688d8feccf5d127e7130 (diff) | |
| download | kde-92872d197f5987e8db47c109c91b49930dfbc813.tar.gz kde-92872d197f5987e8db47c109c91b49930dfbc813.tar.bz2 kde-92872d197f5987e8db47c109c91b49930dfbc813.zip | |
kde5-functions.eclass: add_{frameworks,plasma,kdeapps}_dep slot overrides
Diffstat (limited to 'eclass/kde5-functions.eclass')
| -rw-r--r-- | eclass/kde5-functions.eclass | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index 932c2b8a39e..d87ca20425b 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -129,9 +129,11 @@ _add_category_dep() { # @USAGE: <package> [USE flags] [minimum version] # @DESCRIPTION: # Create proper dependency for kde-frameworks/ dependencies. -# This takes 1 to 3 arguments. The first being the package name, the optional +# This takes 1 to 4 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). +# version to use instead of the automatic version (use sparingly). In addition, +# the optional fourth argument defines slot+operator instead of automatic slot +# (use even more 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). @@ -148,16 +150,18 @@ add_frameworks_dep() { version=${FRAMEWORKS_MINIMAL} fi - _add_category_dep kde-frameworks "${1}" "${2}" "${version}" + _add_category_dep kde-frameworks "${1}" "${2}" "${version}" "${4}" } # @FUNCTION: add_plasma_dep # @USAGE: <package> [USE flags] [minimum version] # @DESCRIPTION: # Create proper dependency for kde-base/ dependencies. -# This takes 1 to 3 arguments. The first being the package name, the optional +# This takes 1 to 4 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). +# version to use instead of the automatic version (use sparingly). In addition, +# the optional fourth argument defines slot+operator instead of automatic slot +# (use even more 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). @@ -174,16 +178,18 @@ add_plasma_dep() { version=${PLASMA_MINIMAL} fi - _add_category_dep kde-plasma "${1}" "${2}" "${version}" + _add_category_dep kde-plasma "${1}" "${2}" "${version}" "${4}" } # @FUNCTION: add_kdeapps_dep # @USAGE: <package> [USE flags] [minimum version] # @DESCRIPTION: # Create proper dependency for kde-apps/ dependencies. -# This takes 1 to 3 arguments. The first being the package name, the optional +# This takes 1 to 4 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). +# version to use instead of the automatic version (use sparingly). In addition, +# the optional fourth argument defines slot+operator instead of automatic slot +# (use even more 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). @@ -205,7 +211,7 @@ add_kdeapps_dep() { fi fi - _add_category_dep kde-apps "${1}" "${2}" "${version}" + _add_category_dep kde-apps "${1}" "${2}" "${version}" "${4}" } # @FUNCTION: add_qt_dep |
