summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2011-01-31 00:18:28 +0100
committerAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2011-01-31 00:18:28 +0100
commit54159eef368ef793422c33b2e1f51e6e6b0c7480 (patch)
treec31e15462bc9ddfad5256acde583c810256641d1 /eclass
parentbf089dbeef754719214ccad8ac204a306fd0d11b (diff)
downloadkde-54159eef368ef793422c33b2e1f51e6e6b0c7480.tar.gz
kde-54159eef368ef793422c33b2e1f51e6e6b0c7480.tar.bz2
kde-54159eef368ef793422c33b2e1f51e6e6b0c7480.zip
[eclass] Add support for KDE_OVERRIDE_MINIMAL
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde4-functions.eclass11
1 files changed, 11 insertions, 0 deletions
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass
index 0081cb99996..c4baedb4c86 100644
--- a/eclass/kde4-functions.eclass
+++ b/eclass/kde4-functions.eclass
@@ -21,6 +21,15 @@ case ${EAPI:-0} in
*) die "EAPI=${EAPI} is not supported" ;;
esac
+# @ECLASS-VARIABLE: KDE_OVERRIDE_MINIMAL
+# @DESCRIPTION:
+# For use only in very few well-defined cases; normally it should be unset.
+# If this variable is set, all calls to add_kdebase_dep return a dependency on
+# at least this version, independent of the version of the package itself.
+# If you know exactly that one specific NEW KDE component builds and runs fine
+# with all the rest of KDE at an OLDER version, you can set this old version here.
+# Warning- may lead to general instability and kill your pet targh.
+
# @ECLASS-VARIABLE: KDEBASE
# @DESCRIPTION:
# This gets set to a non-zero value when a package is considered a kde or
@@ -370,6 +379,8 @@ add_kdebase_dep() {
if [[ -n ${3} ]]; then
ver=${3}
+ elif [[ -n ${KDE_MINIMAL_OVERRIDE} ]]; then
+ ver=${KDE_MINIMAL_OVERRIDE}
elif [[ ${KDEBASE} != kde-base ]]; then
ver=${KDE_MINIMAL}
# FIXME remove hack when kdepim-4.4.* is gone