diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2021-08-01 13:12:12 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-08-16 19:00:09 +0200 |
commit | f26d0ef11f1af7aa4403371b56f17a4a7047b994 (patch) | |
tree | f2c04549ad5a4af96fa1b90540c7de2f2ea2b9dd /eclass/chromium-2.eclass | |
parent | chromium-2.eclass: remove GYP support (diff) | |
download | gentoo-f26d0ef11f1af7aa4403371b56f17a4a7047b994.tar.gz gentoo-f26d0ef11f1af7aa4403371b56f17a4a7047b994.tar.bz2 gentoo-f26d0ef11f1af7aa4403371b56f17a4a7047b994.zip |
chromium-2.eclass: update documentation
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'eclass/chromium-2.eclass')
-rw-r--r-- | eclass/chromium-2.eclass | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/eclass/chromium-2.eclass b/eclass/chromium-2.eclass index 2543078df79b..b97a31e614e6 100644 --- a/eclass/chromium-2.eclass +++ b/eclass/chromium-2.eclass @@ -26,7 +26,8 @@ fi # @FUNCTION: chromium_suid_sandbox_check_kernel_config # @USAGE: # @DESCRIPTION: -# Ensures the system kernel supports features needed for SUID sandbox to work. +# Ensures the system kernel supports features needed for SUID and User namespaces sandbox +# to work. chromium_suid_sandbox_check_kernel_config() { if [[ "${MERGE_TYPE}" == "source" || "${MERGE_TYPE}" == "binary" ]]; then # Warn if the kernel does not support features needed for sandboxing. @@ -50,6 +51,12 @@ chromium_suid_sandbox_check_kernel_config() { # @DESCRIPTION: # List of language packs available for this package. +# @FUNCTION: _chromium_set_l10n_IUSE +# @USAGE: +# @INTERNAL +# @DESCRIPTION: +# Converts and adds CHROMIUM_LANGS to IUSE. Called automatically if +# CHROMIUM_LANGS is defined. _chromium_set_l10n_IUSE() { local lang for lang in ${CHROMIUM_LANGS}; do @@ -105,6 +112,10 @@ chromium_remove_language_paks() { done } +# @FUNCTION: chromium_pkg_die +# @USAGE: +# @DESCRIPTION: +# EBUILD_DEATH_HOOK function to display some warnings/information about build environment. chromium_pkg_die() { if [[ "${EBUILD_PHASE}" != "compile" ]]; then return |