| 1 | # Copyright 2007-2009 Gentoo Foundation |
1 | # Copyright 2007-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-base.eclass,v 1.42 2009/08/03 21:59:53 wired Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.43 2009/08/07 01:00:11 wired 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.X ebuilds |
8 | # @BLURB: This eclass provides functions for kde 4.X ebuilds |
| … | |
… | |
| 19 | if [[ ${BUILD_TYPE} = live ]]; then |
19 | if [[ ${BUILD_TYPE} = live ]]; then |
| 20 | inherit subversion |
20 | inherit subversion |
| 21 | fi |
21 | fi |
| 22 | |
22 | |
| 23 | EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_configure src_compile src_test src_install pkg_postinst pkg_postrm |
23 | EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_configure src_compile src_test src_install pkg_postinst pkg_postrm |
|
|
24 | |
|
|
25 | case ${KDEBASE} in |
|
|
26 | kde-base) |
|
|
27 | HOMEPAGE="http://www.kde.org/" |
|
|
28 | LICENSE="GPL-2" |
|
|
29 | ;; |
|
|
30 | koffice) |
|
|
31 | HOMEPAGE="http://www.koffice.org/" |
|
|
32 | LICENSE="GPL-2" |
|
|
33 | ;; |
|
|
34 | esac |
| 24 | |
35 | |
| 25 | # @ECLASS-VARIABLE: OPENGL_REQUIRED |
36 | # @ECLASS-VARIABLE: OPENGL_REQUIRED |
| 26 | # @DESCRIPTION: |
37 | # @DESCRIPTION: |
| 27 | # Is qt-opengl required? Possible values are 'always', 'optional' and 'never'. |
38 | # Is qt-opengl required? Possible values are 'always', 'optional' and 'never'. |
| 28 | # This variable must be set before inheriting any eclasses. Defaults to 'never'. |
39 | # This variable must be set before inheriting any eclasses. Defaults to 'never'. |