/[gentoo-x86]/eclass/chromium.eclass
Gentoo

Diff of /eclass/chromium.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.7
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.5 2012/05/30 06:15:24 phajdan.jr Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/chromium.eclass,v 1.7 2012/09/11 08:15:08 phajdan.jr 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:
30 ERROR_PID_NS="PID_NS is required for sandbox to work" 30 ERROR_PID_NS="PID_NS is required for sandbox to work"
31 ERROR_NET_NS="NET_NS is required for sandbox to work" 31 ERROR_NET_NS="NET_NS is required for sandbox to work"
32 CONFIG_CHECK="~PID_NS ~NET_NS" 32 CONFIG_CHECK="~PID_NS ~NET_NS"
33 check_extra_config 33 check_extra_config
34 fi 34 fi
35}
36
37# @FUNCTION: chromium_check_kernel_config
38# @USAGE:
39# @DESCRIPTION:
40# Ensures the system kernel is configured for full Chromium functionality.
41chromium_check_kernel_config() {
42 eqawarn "chromium_check_kernel_config is deprecated."
43 eqawarn "Please use chromium_suid_sandbox_check_kernel_config if applicable."
44 chromium_suid_sandbox_check_kernel_config
45} 35}
46 36
47# @ECLASS-VARIABLE: CHROMIUM_LANGS 37# @ECLASS-VARIABLE: CHROMIUM_LANGS
48# @DEFAULT_UNSET 38# @DEFAULT_UNSET
49# @DESCRIPTION: 39# @DESCRIPTION:
120 if ! has ${lang} ${CHROMIUM_LANGS}; then 110 if ! has ${lang} ${CHROMIUM_LANGS}; then
121 eqawarn "LINGUAS warning: no ${lang} in LANGS" 111 eqawarn "LINGUAS warning: no ${lang} in LANGS"
122 continue 112 continue
123 fi 113 fi
124 if ! use linguas_${lang}; then 114 if ! use linguas_${lang}; then
125 rm -v "$(_chromium_crlang ${lang}).pak" || die 115 rm "$(_chromium_crlang ${lang}).pak" || die
126 fi 116 fi
127 done 117 done
128} 118}
129 119
130chromium_pkg_preinst() { 120chromium_pkg_preinst() {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20