| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 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/chromium.eclass,v 1.2 2012/03/14 19:15:44 floppym Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/chromium.eclass,v 1.3 2012/03/23 19:53:51 floppym Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: chromium.eclass |
5 | # @ECLASS: chromium.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Chromium Herd <chromium@gentoo.org> |
7 | # Chromium Herd <chromium@gentoo.org> |
| 8 | # @AUTHOR: |
8 | # @AUTHOR: |
| … | |
… | |
| 10 | # @BLURB: Shared functions for chromium and google-chrome |
10 | # @BLURB: Shared functions for chromium and google-chrome |
| 11 | |
11 | |
| 12 | inherit eutils fdo-mime gnome2-utils linux-info |
12 | inherit eutils fdo-mime gnome2-utils linux-info |
| 13 | |
13 | |
| 14 | EXPORT_FUNCTIONS pkg_preinst pkg_postinst pkg_postrm |
14 | EXPORT_FUNCTIONS pkg_preinst pkg_postinst pkg_postrm |
|
|
15 | |
|
|
16 | if [[ ${PN} == chromium ]]; then |
|
|
17 | IUSE+=" custom-cflags" |
|
|
18 | fi |
| 15 | |
19 | |
| 16 | # @FUNCTION: chromium_check_kernel_config |
20 | # @FUNCTION: chromium_check_kernel_config |
| 17 | # @USAGE: |
21 | # @USAGE: |
| 18 | # @DESCRIPTION: |
22 | # @DESCRIPTION: |
| 19 | # Ensures the system kernel is configured for full Chromium functionality. |
23 | # Ensures the system kernel is configured for full Chromium functionality. |