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-meta.eclass,v 1.48 2011/01/12 21:24:58 dilfridge Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.49 2011/03/04 23:19:12 dilfridge 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. |
… | |
… | |
214 | esac |
214 | esac |
215 | case ${KMNAME} in |
215 | case ${KMNAME} in |
216 | kdebase-apps) |
216 | kdebase-apps) |
217 | # kdebase/apps -> kdebase-apps |
217 | # kdebase/apps -> kdebase-apps |
218 | tarball="kdebase-${PV}.tar.${postfix}" |
218 | tarball="kdebase-${PV}.tar.${postfix}" |
|
|
219 | case ${PV} in |
|
|
220 | 4.6.1) |
|
|
221 | ;; |
|
|
222 | *) |
219 | # Go one level deeper for kdebase-apps in tarballs |
223 | # Go one level deeper for kdebase-apps in tarballs |
220 | moduleprefix=apps/ |
224 | moduleprefix=apps/ |
221 | KMTARPARAMS+=" --transform=s|apps/||" |
225 | KMTARPARAMS+=" --transform=s|apps/||" |
|
|
226 | ;; |
|
|
227 | esac |
222 | ;; |
228 | ;; |
223 | kdepim) |
229 | kdepim) |
224 | if [[ ${PV} == 4.5.93 ]] ; then |
230 | if [[ ${PV} == 4.5.93 ]] ; then |
225 | tarball="kdepim-4.6beta3.tar.${postfix}" |
231 | tarball="kdepim-4.6beta3.tar.${postfix}" |
226 | else |
232 | else |
… | |
… | |
310 | # Add some CMake-files to KMEXTRACTONLY. |
316 | # Add some CMake-files to KMEXTRACTONLY. |
311 | # Note that this actually doesn't include KMEXTRA handling. |
317 | # Note that this actually doesn't include KMEXTRA handling. |
312 | # In those cases you should care to add the relevant files to KMEXTRACTONLY |
318 | # In those cases you should care to add the relevant files to KMEXTRACTONLY |
313 | case ${KMNAME} in |
319 | case ${KMNAME} in |
314 | kdebase) |
320 | kdebase) |
|
|
321 | case ${PV} in |
|
|
322 | 4.6.1) |
315 | KMEXTRACTONLY+=" |
323 | KMEXTRACTONLY+=" |
|
|
324 | config-apps.h.cmake |
|
|
325 | ConfigureChecks.cmake" |
|
|
326 | ;; |
|
|
327 | *) |
|
|
328 | KMEXTRACTONLY+=" |
316 | apps/config-apps.h.cmake |
329 | apps/config-apps.h.cmake |
317 | apps/ConfigureChecks.cmake" |
330 | apps/ConfigureChecks.cmake" |
|
|
331 | ;; |
|
|
332 | esac |
318 | ;; |
333 | ;; |
319 | kdebase-apps) |
334 | kdebase-apps) |
320 | KMEXTRACTONLY+=" |
335 | KMEXTRACTONLY+=" |
321 | config-apps.h.cmake |
336 | config-apps.h.cmake |
322 | ConfigureChecks.cmake" |
337 | ConfigureChecks.cmake" |