summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-05-09 15:49:44 +0200
committerUlrich Müller <ulm@gentoo.org>2022-05-12 19:10:33 +0200
commit9985ba736486a2481a530f9f019e26ba63a36878 (patch)
tree031a371350836c562ea6ff0c2be1ae6504084758 /eclass/xorg-3.eclass
parentwaf-utils.eclass: Don't indent eclass documentation (diff)
downloadgentoo-9985ba736486a2481a530f9f019e26ba63a36878.tar.gz
gentoo-9985ba736486a2481a530f9f019e26ba63a36878.tar.bz2
gentoo-9985ba736486a2481a530f9f019e26ba63a36878.zip
xorg-3.eclass: Don't indent eclass documentation
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/xorg-3.eclass')
-rw-r--r--eclass/xorg-3.eclass24
1 files changed, 13 insertions, 11 deletions
diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass
index c68b3041629a..378a7b8c4103 100644
--- a/eclass/xorg-3.eclass
+++ b/eclass/xorg-3.eclass
@@ -152,6 +152,14 @@ BDEPEND+=" ${EAUTORECONF_DEPENDS}"
unset EAUTORECONF_DEPENDS
unset EAUTORECONF_DEPEND
+# @ECLASS_VARIABLE: FONT_DIR
+# @PRE_INHERIT
+# @DESCRIPTION:
+# If you're creating a font package and the suffix of PN is not equal to
+# the subdirectory of /usr/share/fonts/ it should install into, set
+# FONT_DIR to that directory or directories. Set before inheriting this
+# eclass.
+
if [[ ${FONT} == yes ]]; then
RDEPEND+=" media-fonts/encodings
>=x11-apps/mkfontscale-1.2.0"
@@ -160,13 +168,6 @@ if [[ ${FONT} == yes ]]; then
>=x11-apps/mkfontscale-1.2.0"
BDEPEND+=" x11-apps/bdftopcf"
- # @ECLASS_VARIABLE: FONT_DIR
- # @PRE_INHERIT
- # @DESCRIPTION:
- # If you're creating a font package and the suffix of PN is not equal to
- # the subdirectory of /usr/share/fonts/ it should install into, set
- # FONT_DIR to that directory or directories. Set before inheriting this
- # eclass.
[[ -z ${FONT_DIR} ]] && FONT_DIR=${PN##*-}
# Fix case of font directories
@@ -352,6 +353,11 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" econf "${econfargs[@]}"
}
+# @VARIABLE: XORG_CONFIGURE_OPTIONS
+# @DESCRIPTION:
+# Array of an additional options to pass to configure.
+# @DEFAULT_UNSET
+
# @FUNCTION: xorg-3_src_configure
# @DESCRIPTION:
# Perform any necessary pre-configuration steps, then run configure
@@ -360,10 +366,6 @@ xorg-3_src_configure() {
xorg-3_flags_setup
- # @VARIABLE: XORG_CONFIGURE_OPTIONS
- # @DESCRIPTION:
- # Array of an additional options to pass to configure.
- # @DEFAULT_UNSET
local xorgconfadd=("${XORG_CONFIGURE_OPTIONS[@]}")
local FONT_OPTIONS=()