kde5-functions.eclass: Drop KDEBASE for other than kdevelop
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Wed, 2 Mar 2016 00:30:14 +0000 (01:30 +0100)
committerMichael Palimaka <kensington@gentoo.org>
Sat, 12 Mar 2016 17:00:30 +0000 (04:00 +1100)
- No kde-base/ package is using kde5.eclass
- CATEGORY is used as distinction between kde-{apps,frameworks.plasma}

eclass/kde5-functions.eclass

index ea894ad39f5d1200e50c96657413ec907d133493..0a6a4347c61300b457a033a805c5ec427be6cc5b 100644 (file)
@@ -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,