1 |
commit: 20444166ed5f3f0c2caf9ca6906ebaccaca251d3 |
2 |
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Mar 2 00:30:14 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 2 00:56:45 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=20444166 |
7 |
|
8 |
kde5-functions.eclass: Drop KDEBASE for other than kdevelop |
9 |
|
10 |
- No kde-base/ package is using kde5.eclass |
11 |
- CATEGORY is used as distinction between kde-{apps,frameworks.plasma} |
12 |
|
13 |
eclass/kde5-functions.eclass | 10 +++------- |
14 |
1 file changed, 3 insertions(+), 7 deletions(-) |
15 |
|
16 |
diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass |
17 |
index ea894ad..0a6a434 100644 |
18 |
--- a/eclass/kde5-functions.eclass |
19 |
+++ b/eclass/kde5-functions.eclass |
20 |
@@ -45,13 +45,9 @@ esac |
21 |
|
22 |
# @ECLASS-VARIABLE: KDEBASE |
23 |
# @DESCRIPTION: |
24 |
-# This gets set to a non-zero value when a package is considered a kde or |
25 |
+# This gets set to a non-zero value when a package is considered a |
26 |
# kdevelop ebuild. |
27 |
-if [[ ${CATEGORY} = kde-base ]]; then |
28 |
- KDEBASE=kde-base |
29 |
-elif [[ ${CATEGORY} = kde-frameworks ]]; then |
30 |
- KDEBASE=kde-frameworks |
31 |
-elif [[ ${KMNAME-${PN}} = kdevelop ]]; then |
32 |
+if [[ ${KMNAME-${PN}} = kdevelop ]]; then |
33 |
KDEBASE=kdevelop |
34 |
fi |
35 |
|
36 |
@@ -156,7 +152,7 @@ add_frameworks_dep() { |
37 |
# @FUNCTION: add_plasma_dep |
38 |
# @USAGE: <package> [USE flags] [minimum version] |
39 |
# @DESCRIPTION: |
40 |
-# Create proper dependency for kde-base/ dependencies. |
41 |
+# Create proper dependency for kde-plasma/ dependencies. |
42 |
# This takes 1 to 4 arguments. The first being the package name, the optional |
43 |
# second is additional USE flags to append, and the optional third is the |
44 |
# version to use instead of the automatic version (use sparingly). In addition, |