| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 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-meta.eclass,v 1.17 2009/04/13 00:02:45 scarabeus Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.18 2009/05/09 13:23:15 scarabeus Exp $ |
| 4 | # |
4 | # |
| 5 | # @ECLASS: kde4-meta.eclass |
5 | # @ECLASS: kde4-meta.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # kde@gentoo.org |
7 | # kde@gentoo.org |
| 8 | # @BLURB: Eclass for writing "split" KDE packages. |
8 | # @BLURB: Eclass for writing "split" KDE packages. |
| … | |
… | |
| 120 | case ${BUILD_TYPE} in |
120 | case ${BUILD_TYPE} in |
| 121 | live) |
121 | live) |
| 122 | case ${KMNAME} in |
122 | case ${KMNAME} in |
| 123 | extragear*|playground*) |
123 | extragear*|playground*) |
| 124 | ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}" |
124 | ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}" |
| 125 | ESVN_PROJECT="${KMNAME}" |
125 | ESVN_PROJECT="${KMNAME}${ESVN_PROJECT_SUFFIX}" |
| 126 | ;; |
126 | ;; |
| 127 | esac |
127 | esac |
| 128 | ;; |
128 | ;; |
| 129 | esac |
129 | esac |
| 130 | |
130 | |
| … | |
… | |
| 250 | "${S}"/CMakeLists.txt || die "Sed to exclude bin/kde4 failed" |
250 | "${S}"/CMakeLists.txt || die "Sed to exclude bin/kde4 failed" |
| 251 | fi |
251 | fi |
| 252 | else |
252 | else |
| 253 | local abort tarball tarfile f extractlist moduleprefix postfix |
253 | local abort tarball tarfile f extractlist moduleprefix postfix |
| 254 | case ${PV} in |
254 | case ${PV} in |
|
|
255 | 4.2.85) |
|
|
256 | # block for normally packed upstream unstable snapshots |
|
|
257 | KMTARPARAMS="${KMTARPARAMS} --bzip2" # bz2 |
|
|
258 | postfix="bz2" |
|
|
259 | ;; |
| 255 | 4.2.9* | 4.2.8* | 4.2.7* | 4.2.6*) |
260 | 4.2.9* | 4.2.8* | 4.2.7* | 4.2.6*) |
| 256 | KMTARPARAMS="${KMTARPARAMS} --lzma" # lzma |
261 | KMTARPARAMS="${KMTARPARAMS} --lzma" # lzma |
| 257 | postfix="lzma" |
262 | postfix="lzma" |
| 258 | ;; |
263 | ;; |
| 259 | *) |
264 | *) |