| 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.13 2009/03/11 17:41:50 scarabeus Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.15 2009/03/12 17:53:05 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. |
| … | |
… | |
| 31 | ;; |
31 | ;; |
| 32 | esac |
32 | esac |
| 33 | |
33 | |
| 34 | # Add dependencies that all packages in a certain module share. |
34 | # Add dependencies that all packages in a certain module share. |
| 35 | case ${KMNAME} in |
35 | case ${KMNAME} in |
| 36 | kdebase|kdebase-{apps,workspace,runtime}) |
36 | kdebase|kdebase-apps|kdebase-workspace|kdebase-runtime|kdegraphic) |
| 37 | DEPEND="${DEPEND} |
37 | DEPEND="${DEPEND} |
| 38 | >=kde-base/qimageblitz-0.0.4 |
38 | >=kde-base/qimageblitz-0.0.4 |
| 39 | " |
39 | " |
| 40 | RDEPEND="${RDEPEND} |
40 | RDEPEND="${RDEPEND} |
| 41 | >=kde-base/qimageblitz-0.0.4 |
41 | >=kde-base/qimageblitz-0.0.4 |
| … | |
… | |
| 130 | |
130 | |
| 131 | debug-print "line ${LINENO} ${ECLASS}: DEPEND ${DEPEND} - after metapackage-specific dependencies" |
131 | debug-print "line ${LINENO} ${ECLASS}: DEPEND ${DEPEND} - after metapackage-specific dependencies" |
| 132 | debug-print "line ${LINENO} ${ECLASS}: RDEPEND ${RDEPEND} - after metapackage-specific dependencies" |
132 | debug-print "line ${LINENO} ${ECLASS}: RDEPEND ${RDEPEND} - after metapackage-specific dependencies" |
| 133 | |
133 | |
| 134 | # Useful to build kde4-meta style stuff from extragear/playground (plasmoids etc) |
134 | # Useful to build kde4-meta style stuff from extragear/playground (plasmoids etc) |
| 135 | case ${SLOT} in |
135 | case ${BUILD_TYPE} in |
| 136 | live) |
136 | live) |
| 137 | case ${KMNAME} in |
137 | case ${KMNAME} in |
| 138 | extragear*|playground*) |
138 | extragear*|playground*) |
| 139 | ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}" |
139 | ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}" |
| 140 | ;; |
140 | ;; |
| 141 | esac |
141 | esac |
| 142 | ;; |
142 | ;; |
|
|
143 | *) ;; |
| 143 | esac |
144 | esac |
| 144 | |
145 | |
| 145 | # @ECLASS-VARIABLE: KMNAME |
146 | # @ECLASS-VARIABLE: KMNAME |
| 146 | # @DESCRIPTION: |
147 | # @DESCRIPTION: |
| 147 | # Name of the parent-module (e.g. kdebase, kdepim, ...). You _must_ set it |
148 | # Name of the parent-module (e.g. kdebase, kdepim, ...). You _must_ set it |