mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
committed by
Andreas Sturmlechner
parent
1305a4ac64
commit
60a4b74e3d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user