diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-03-02 01:30:14 +0100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-03-13 04:00:30 +1100 |
commit | 8bc1f8970d868b676de6e09d9c6b239d90c4fa2f (patch) | |
tree | 4eba2a67239c94b8b06486302c4ccb5fa41c264d /eclass | |
parent | kde5.eclass: Use "optional" parameter for KDE_TEST and KDE_HANDBOOK (diff) | |
download | gentoo-8bc1f8970d868b676de6e09d9c6b239d90c4fa2f.tar.gz gentoo-8bc1f8970d868b676de6e09d9c6b239d90c4fa2f.tar.bz2 gentoo-8bc1f8970d868b676de6e09d9c6b239d90c4fa2f.zip |
kde5-functions.eclass: Drop KDEBASE for other than kdevelop
- No kde-base/ package is using kde5.eclass
- CATEGORY is used as distinction between kde-{apps,frameworks.plasma}
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde5-functions.eclass | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index ea894ad39f5d..0a6a4347c613 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -45,13 +45,9 @@ esac # @ECLASS-VARIABLE: KDEBASE # @DESCRIPTION: -# This gets set to a non-zero value when a package is considered a kde or +# This gets set to a non-zero value when a package is considered a # kdevelop ebuild. -if [[ ${CATEGORY} = kde-base ]]; then - KDEBASE=kde-base -elif [[ ${CATEGORY} = kde-frameworks ]]; then - KDEBASE=kde-frameworks -elif [[ ${KMNAME-${PN}} = kdevelop ]]; then +if [[ ${KMNAME-${PN}} = kdevelop ]]; then KDEBASE=kdevelop fi @@ -156,7 +152,7 @@ add_frameworks_dep() { # @FUNCTION: add_plasma_dep # @USAGE: <package> [USE flags] [minimum version] # @DESCRIPTION: -# Create proper dependency for kde-base/ dependencies. +# Create proper dependency for kde-plasma/ dependencies. # 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). In addition, |