diff options
| author | Jonathan Callen <abcd@gentoo.org> | 2011-06-06 17:21:35 -0400 |
|---|---|---|
| committer | Jonathan Callen <abcd@gentoo.org> | 2011-06-06 17:39:15 -0400 |
| commit | a37fe6aa097f8861982cdc6914e6e712dc1fddb8 (patch) | |
| tree | 0a7d28bbcf9b253d161d41833464bf02428e8b73 /eclass/kde4-functions.eclass | |
| parent | b144abbc1924de546e09ac20503413969bd5a2c7 (diff) | |
| download | kde-a37fe6aa097f8861982cdc6914e6e712dc1fddb8.tar.gz kde-a37fe6aa097f8861982cdc6914e6e712dc1fddb8.tar.bz2 kde-a37fe6aa097f8861982cdc6914e6e712dc1fddb8.zip | |
[kde-base] Goodbye kdeprefix (for >= 4.6.4)
Remove all usage of the kdeprefix flag that doesn't die immediately;
remove the flag itself on >= 4.6.4
Diffstat (limited to 'eclass/kde4-functions.eclass')
| -rw-r--r-- | eclass/kde4-functions.eclass | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass index 798c5130032..b40feb3d6f7 100644 --- a/eclass/kde4-functions.eclass +++ b/eclass/kde4-functions.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.49 2011/06/06 17:51:26 abcd Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.50 2011/06/06 21:38:18 abcd Exp $ inherit versionator @@ -350,8 +350,7 @@ load_library_dependencies() { # @FUNCTION: block_other_slots # @DESCRIPTION: -# Create blocks for the current package in other slots when -# installed with USE=-kdeprefix +# Create blocks for the current package in other slots block_other_slots() { debug-print-function ${FUNCNAME} "$@" @@ -381,8 +380,8 @@ block_other_slots() { # As an example, if SLOT=live, then # add_blocker kdelibs 0 :4.3 '<4.3.96:4.4' 9999:live # will add the following to RDEPEND: -# !kdeprefix? ( !kde-base/kdelibs:4.3[-kdeprefix] ) -# !kdeprefix? ( !<kde-base/kdelibs-4.3.96:4.4[-kdeprefix] ) +# !kde-base/kdelibs:4.3 +# !<kde-base/kdelibs-4.3.96:4.4 # !<=kde-base/kdelibs-9999:live add_blocker() { debug-print-function ${FUNCNAME} "$@" @@ -429,12 +428,7 @@ add_kdebase_dep() { local use=${2:+,${2}} - if [[ ${KDEBASE} = kde-base ]]; then - echo " !kdeprefix? ( >=kde-base/${1}-${ver}[aqua=,-kdeprefix${use}] )" - # kdeprefix is no-go for kdepim 4.4 - [[ ( ${KMNAME} == kdepim || ${PN} == kdepim-runtime ) && ${SLOT} == 4.4 ]] || \ - echo " kdeprefix? ( >=kde-base/${1}-${ver}:${SLOT}[aqua=,kdeprefix${use}] )" - elif [[ ${ver} == live ]]; then + if [[ ${ver} == live ]]; then echo " kde-base/${1}:live[aqua=${use}]" else echo " >=kde-base/${1}-${ver}[aqua=${use}]" @@ -535,13 +529,7 @@ _do_blocker() { else atom="<=${pkg}-${!var}" fi - # we always block our own slot, ignoring kdeprefix - if [[ ${SLOT} == ${slot} ]]; then - echo " !${atom}:${slot}${use:+[${use}]}" - else - # we only block other slots on -kdeprefix - echo " !kdeprefix? ( !${atom}:${slot}[-kdeprefix${use:+,${use}}] )" - fi + echo " !${atom}:${slot}${use:+[${use}]}" done # This is a special case block for :3.5; it does not use the |
