diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-08-21 04:29:51 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-08-21 04:29:51 +1000 |
commit | 2fc0178a73b14b6872cb550c5c84b42080e0b7dd (patch) | |
tree | 4d136718dc204370900ed1777126ba23278b0414 /eclass | |
parent | net-firewall/iptables: use -fpack-struct w/x32 ABI #472388 (diff) | |
download | gentoo-2fc0178a73b14b6872cb550c5c84b42080e0b7dd.tar.gz gentoo-2fc0178a73b14b6872cb550c5c84b42080e0b7dd.tar.bz2 gentoo-2fc0178a73b14b6872cb550c5c84b42080e0b7dd.zip |
kde4-functions.eclass: improve dependency version handling when mixing KDE SC and KDE Applications packages.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde4-functions.eclass | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass index f7a3bda221e4..133fd264b841 100644 --- a/eclass/kde4-functions.eclass +++ b/eclass/kde4-functions.eclass @@ -292,10 +292,10 @@ add_kdeapps_dep() { ver=${KDE_OVERRIDE_MINIMAL} elif [[ ${KDEBASE} != kde-base ]]; then ver=${KDE_MINIMAL} - # if building stable-live version depend just on the raw KDE version - # to allow merging packages against more stable basic stuff - elif [[ ${PV} == *.9999 ]]; then - ver=$(get_kde_version) + # if building kde-apps, live master or stable-live branch, + # use the final SC version since there are no further general releases. + elif [[ ${CATEGORY} == kde-apps || ${PV} == *9999 ]]; then + ver=4.14.3 else ver=${PV} fi @@ -325,16 +325,15 @@ add_kdebase_dep() { ver=${3} elif [[ -n ${KDE_OVERRIDE_MINIMAL} ]]; then ver=${KDE_OVERRIDE_MINIMAL} - elif [[ -n ${KDE_MINIMAL} ]]; then + elif [[ ${KDEBASE} != kde-base ]]; then ver=${KDE_MINIMAL} - # if building live version depend on the final release since there will - # not be any more major development. this solves dep errors as not all - # packages have kde-base live versions now - - # depend on the last sane released version where the normal >=${PV} dep - # is not possible - elif [[ ${CATEGORY} == kde-apps || ${PV} == *9999 ]]; then + # if building live master or kde-apps, use the final SC version + # since there are no further general releases. + elif [[ ${CATEGORY} == kde-apps || ${PV} == 9999 ]]; then ver=4.14.3 + # if building a live version branch (eg. 4.11.49.9999) use the major version + elif [[ ${PV} == *.9999 ]]; then + ver=$(get_kde_version) else ver=${PV} fi |