| 1 | # Copyright 1999-2008 Gentoo Foundation |
1 | # Copyright 1999-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-functions.eclass,v 1.13 2009/03/01 11:44:09 scarabeus Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.14 2009/03/09 19:41:26 scarabeus Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: kde4-functions.eclass |
5 | # @ECLASS: kde4-functions.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # kde@gentoo.org |
7 | # kde@gentoo.org |
| 8 | # @BLURB: Common ebuild functions for KDE 4 packages |
8 | # @BLURB: Common ebuild functions for KDE 4 packages |
| … | |
… | |
| 10 | # This eclass contains all functions shared by the different eclasses, |
10 | # This eclass contains all functions shared by the different eclasses, |
| 11 | # for KDE 4 ebuilds. |
11 | # for KDE 4 ebuilds. |
| 12 | |
12 | |
| 13 | # @ECLASS-VARIABLE: EAPI |
13 | # @ECLASS-VARIABLE: EAPI |
| 14 | # @DESCRIPTION: |
14 | # @DESCRIPTION: |
| 15 | # By default kde eclass wants eapi 2 which might be redefinable. |
15 | # By default kde4 eclasses wants eapi 2 which might be redefinable to newer |
|
|
16 | # versions. |
| 16 | case ${EAPI} in |
17 | case ${EAPI:-0} in |
| 17 | 2) : ;; |
18 | 2) : ;; |
| 18 | *) die "No way! EAPI older than 2 is not supported." ;; |
19 | *) die "No way! EAPI other than 2 is not supported for now." ;; |
| 19 | esac |
20 | esac |
| 20 | |
21 | |
| 21 | # @ECLASS-VARIABLE: KDEBASE |
22 | # @ECLASS-VARIABLE: KDEBASE |
| 22 | # @DESCRIPTION: |
23 | # @DESCRIPTION: |
| 23 | # This gets set to a non-zero value when a package is considered a kde or |
24 | # This gets set to a non-zero value when a package is considered a kde or |