commit: 8bc1f8970d868b676de6e09d9c6b239d90c4fa2f Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> AuthorDate: Wed Mar 2 00:30:14 2016 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Sat Mar 12 17:00:30 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bc1f897
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} eclass/kde5-functions.eclass | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index ea894ad..0a6a434 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,