| 1 | # Copyright 1999-2010 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.38 2010/12/06 10:17:04 tampakrap Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.39 2010/12/29 16:45:19 tampakrap 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: |
| … | |
… | |
| 372 | [[ -z ${1} ]] && die "Missing parameter" |
372 | [[ -z ${1} ]] && die "Missing parameter" |
| 373 | |
373 | |
| 374 | local use=${2:+,${2}} |
374 | local use=${2:+,${2}} |
| 375 | |
375 | |
| 376 | if [[ ${KDEBASE} = kde-base ]]; then |
376 | if [[ ${KDEBASE} = kde-base ]]; then |
| 377 | # FIXME remove hack when kdepim-4.4.{6,7} is gone |
377 | # FIXME remove hack when >kdepim-4.4.5 is gone |
| 378 | local FIXME_PV |
378 | local FIXME_PV |
| 379 | if [[ ${KMNAME} = kdepim || ${PN} = kdepim-runtime ]] && [[ ${PV} = 4.4.6* || ${PV} = 4.4.7* || ${PV} = 4.4.8* ]] && [[ ${1} = kdelibs || ${1} = kdepimlibs ]]; then |
379 | if [[ ${KMNAME} = kdepim || ${PN} = kdepim-runtime ]] && [[ ${PV} = 4.4.6* || ${PV} = 4.4.7* || ${PV} = 4.4.8* || ${PV} = 4.4.9* ]] && [[ ${1} = kdelibs || ${1} = kdepimlibs ]]; then |
| 380 | FIXME_PV=4.4.5 |
380 | FIXME_PV=4.4.5 |
| 381 | else |
381 | else |
| 382 | FIXME_PV=${PV} |
382 | FIXME_PV=${PV} |
| 383 | fi |
383 | fi |
| 384 | |
384 | |