| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2010 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.29 2009/12/14 19:44:15 abcd Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.30 2010/02/02 14:20:16 reavertm Exp $ |
| 4 | |
4 | |
| 5 | inherit versionator |
5 | inherit versionator |
| 6 | |
6 | |
| 7 | # @ECLASS: kde4-functions.eclass |
7 | # @ECLASS: kde4-functions.eclass |
| 8 | # @MAINTAINER: |
8 | # @MAINTAINER: |
| … | |
… | |
| 39 | |
39 | |
| 40 | # @ECLASS-VARIABLE: KDE_SLOTS |
40 | # @ECLASS-VARIABLE: KDE_SLOTS |
| 41 | # @DESCRIPTION: |
41 | # @DESCRIPTION: |
| 42 | # The slots used by all KDE versions later than 4.0. The live KDE releases use |
42 | # The slots used by all KDE versions later than 4.0. The live KDE releases use |
| 43 | # KDE_LIVE_SLOTS instead. Values should be ordered. |
43 | # KDE_LIVE_SLOTS instead. Values should be ordered. |
| 44 | KDE_SLOTS=( "4.1" "4.2" "4.3" "4.4" ) |
44 | KDE_SLOTS=( "4.1" "4.2" "4.3" "4.4" "4.5" ) |
| 45 | |
45 | |
| 46 | # @ECLASS-VARIABLE: KDE_LIVE_SLOTS |
46 | # @ECLASS-VARIABLE: KDE_LIVE_SLOTS |
| 47 | # @DESCRIPTION: |
47 | # @DESCRIPTION: |
| 48 | # The slots used by KDE live versions. Values should be ordered. |
48 | # The slots used by KDE live versions. Values should be ordered. |
| 49 | KDE_LIVE_SLOTS=( "live" ) |
49 | KDE_LIVE_SLOTS=( "live" ) |
| … | |
… | |
| 516 | |
516 | |
| 517 | [[ -z ${1} ]] && die "Missing parameter" |
517 | [[ -z ${1} ]] && die "Missing parameter" |
| 518 | |
518 | |
| 519 | local use=${2:+,${2}} |
519 | local use=${2:+,${2}} |
| 520 | |
520 | |
| 521 | echo " !kdeprefix? ( >=kde-base/${1}-${PV}[-kdeprefix${use}] )" |
521 | echo " !kdeprefix? ( >=kde-base/${1}-${PV}[aqua=,-kdeprefix${use}] )" |
| 522 | echo " kdeprefix? ( >=kde-base/${1}-${PV}:${SLOT}[kdeprefix${use}] )" |
522 | echo " kdeprefix? ( >=kde-base/${1}-${PV}:${SLOT}[aqua=,kdeprefix${use}] )" |
| 523 | } |
523 | } |