| 1 | # Copyright 2007-2008 Gentoo Foundation |
1 | # Copyright 2007-2008 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-base.eclass,v 1.2 2008/01/18 02:37:08 ingmar Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.3 2008/02/18 17:00:32 ingmar Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: kde4-base.eclass |
5 | # @ECLASS: kde4-base.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # kde@gentoo.org |
7 | # kde@gentoo.org |
| 8 | # @BLURB: This eclass provides functions for kde 4.0 ebuilds |
8 | # @BLURB: This eclass provides functions for kde 4.0 ebuilds |
| … | |
… | |
| 86 | _pv="-${NEED_KDE}" |
86 | _pv="-${NEED_KDE}" |
| 87 | export NEED_KDE="svn" |
87 | export NEED_KDE="svn" |
| 88 | ;; |
88 | ;; |
| 89 | # The ebuild handles dependencies, KDEDIR, SLOT. |
89 | # The ebuild handles dependencies, KDEDIR, SLOT. |
| 90 | none) |
90 | none) |
| 91 | # This shouldn't be used for kde-base ebuilds. |
91 | : |
| 92 | if [[ -n ${KDEBASE} ]]; then |
|
|
| 93 | die 'Ebuilds part of kde-base ebuilds should not use NEED_KDE="none".' |
|
|
| 94 | fi |
|
|
| 95 | ;; |
92 | ;; |
| 96 | # NEED_KDE=":${SLOT}" |
93 | # NEED_KDE=":${SLOT}" |
| 97 | :kde-4) |
94 | :kde-4) |
| 98 | _kdedir="4.0" |
95 | _kdedir="4.0" |
| 99 | _pv="${NEED_KDE}" |
96 | _pv="${NEED_KDE}" |