summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-31 05:34:48 +0100
committerSam James <sam@gentoo.org>2021-03-31 06:19:55 +0100
commit63ca0790a0c61d65a4ddf1bd2f6a68fd9536552e (patch)
tree01721ef7a592eb0fd161d75e3f39194b2f46f0bf /eclass/mozlinguas-v2.eclass
parentxorg-2.eclass: set various variables as @PRE_INHERIT (diff)
downloadgentoo-63ca0790a0c61d65a4ddf1bd2f6a68fd9536552e.tar.gz
gentoo-63ca0790a0c61d65a4ddf1bd2f6a68fd9536552e.tar.bz2
gentoo-63ca0790a0c61d65a4ddf1bd2f6a68fd9536552e.zip
mozlinguas-v2.eclass: mark various variables as @PRE_INHERIT, @DEFAULT_UNSET
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/mozlinguas-v2.eclass')
-rw-r--r--eclass/mozlinguas-v2.eclass13
1 files changed, 13 insertions, 0 deletions
diff --git a/eclass/mozlinguas-v2.eclass b/eclass/mozlinguas-v2.eclass
index be01ef6aca50..423f0bdcc71a 100644
--- a/eclass/mozlinguas-v2.eclass
+++ b/eclass/mozlinguas-v2.eclass
@@ -28,6 +28,7 @@ esac
EXPORT_FUNCTIONS src_unpack src_compile src_install
# @ECLASS-VARIABLE: MOZ_LANGS
+# @DEFAULT_UNSET
# @DESCRIPTION:
# Array containing the list of language pack xpis available for
# this release. The list can be updated with scripts/get_langs.sh from the
@@ -35,34 +36,40 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install
: ${MOZ_LANGS:=()}
# @ECLASS-VARIABLE: MOZ_PV
+# @DEFAULT_UNSET
# @DESCRIPTION:
# Ebuild package version converted to equivalent upstream version.
# Defaults to ${PV}, and should be overridden for alphas, betas, and RCs
: ${MOZ_PV:="${PV}"}
# @ECLASS-VARIABLE: MOZ_PN
+# @DEFAULT_UNSET
# @DESCRIPTION:
# Ebuild package name converted to equivalent upstream name.
# Defaults to ${PN}, and should be overridden for binary ebuilds.
: ${MOZ_PN:="${PN}"}
# @ECLASS-VARIABLE: MOZ_P
+# @DEFAULT_UNSET
# @DESCRIPTION:
# Ebuild package name + version converted to upstream equivalent.
# Defaults to ${MOZ_PN}-${MOZ_PV}
: ${MOZ_P:="${MOZ_PN}-${MOZ_PV}"}
# @ECLASS-VARIABLE: MOZ_FTP_URI
+# @DEFAULT_UNSET
# @DESCRIPTION:
# The ftp URI prefix for the release tarballs and language packs.
: ${MOZ_FTP_URI:=""}
# @ECLASS-VARIABLE: MOZ_HTTP_URI
+# @PRE_INHERIT
# @DESCRIPTION:
# The http URI prefix for the release tarballs and language packs.
: ${MOZ_HTTP_URI:=""}
# @ECLASS-VARIABLE: MOZ_LANGPACK_HTTP_URI
+# @PRE_INHERIT
# @DESCRIPTION:
# An alternative http URI if it differs from official mozilla URI.
# Defaults to whatever MOZ_HTTP_URI was set to.
@@ -91,6 +98,8 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install
: ${MOZ_LANGPACK_UNOFFICIAL:=""}
# @ECLASS-VARIABLE: MOZ_GENERATE_LANGPACKS
+# @PRE_INHERIT
+# @DEFAULT_UNSET
# @DESCRIPTION:
# This flag specifies whether or not the langpacks should be
# generated directly during the build process, rather than
@@ -106,6 +115,8 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install
: ${MOZ_L10N_SOURCEDIR:="${WORKDIR}/l10n-sources"}
# @ECLASS-VARIABLE: MOZ_L10N_URI_PREFIX
+# @PRE_INHERIT
+# @DEFAULT_UNSET
# @DESCRIPTION:
# The full URI prefix of the distfile for each l10n locale. The
# AB_CD and MOZ_L10N_URI_SUFFIX will be appended to this to complete the
@@ -115,12 +126,14 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install
: ${MOZ_L10N_URI_PREFIX:=""}
# @ECLASS-VARIABLE: MOZ_L10N_URI_SUFFIX
+# @DEFAULT_UNSET
# @DESCRIPTION:
# The suffix of l10n source distfiles.
# Defaults to '.tar.xz'
: ${MOZ_L10N_URI_SUFFIX:=".tar.xz"}
# @ECLASS-VARIABLE: MOZ_FORCE_UPSTREAM_L10N
+# @DEFAULT_UNSET
# @DESCRIPTION:
# Set this to use upstream langpaks even if the package normally
# shouldn't (ie it is an alpha or beta package)