diff options
author | David Michael <fedora.dm0@gmail.com> | 2021-03-15 14:11:26 -0400 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-26 22:32:03 +0100 |
commit | 60a4b74e3d586f78bfdad802aaf313541f26fb62 (patch) | |
tree | f3f91a9f82e2936f612abe59760a11e926429d88 /eclass/font.eclass | |
parent | font.eclass: Drop EAPI-6 support (diff) | |
download | gentoo-60a4b74e3d586f78bfdad802aaf313541f26fb62.tar.gz gentoo-60a4b74e3d586f78bfdad802aaf313541f26fb62.tar.bz2 gentoo-60a4b74e3d586f78bfdad802aaf313541f26fb62.zip |
font.eclass: use BDEPEND with EAPI 7
The mkfontscale program and encodings paths are used in the native
root during src_install, so they need to be in BDEPEND.
Also stop documenting DOCS as an eclass variable since it is a part
of EAPI 6 and only used in eutils.eclass for EAPI 5 support.
Closes: https://bugs.gentoo.org/776412
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/font.eclass')
-rw-r--r-- | eclass/font.eclass | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass index 44e69cc33f0f..45c620419950 100644 --- a/eclass/font.eclass +++ b/eclass/font.eclass @@ -46,21 +46,12 @@ FONTDIR=${FONTDIR:-/usr/share/fonts/${FONT_PN}} # Array containing fontconfig conf files to install. FONT_CONF=( "" ) -# @ECLASS-VARIABLE: DOCS -# @DEFAULT_UNSET -# @DESCRIPTION: -# Space delimited list of docs to install. -# We always install these: -# COPYRIGHT README{,.txt} NEWS AUTHORS BUGS ChangeLog FONTLOG.txt -DOCS=${DOCS:-} - if [[ ${CATEGORY}/${PN} != media-fonts/encodings ]]; then IUSE="X" - DEPEND="X? ( + BDEPEND="X? ( >=x11-apps/mkfontscale-1.2.0 media-fonts/encodings )" - RDEPEND="" fi # @FUNCTION: font_xfont_config |