mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
xorg-3.eclass: add FONT_OPENTYPE_COMPAT support
Bug: https://bugs.gentoo.org/698922 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -463,7 +463,13 @@ xorg-3_src_install() {
|
||||
# Don't install libtool archives (even for modules)
|
||||
find "${D}" -type f -name '*.la' -delete || die
|
||||
|
||||
[[ -n ${FONT} ]] && remove_font_metadata
|
||||
if [[ -n ${FONT} ]] ; then
|
||||
if [[ -n ${FONT_OPENTYPE_COMPAT} ]] && in_iuse opentype-compat && use opentype-compat ; then
|
||||
font_wrap_opentype_compat
|
||||
fi
|
||||
|
||||
remove_font_metadata
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: xorg-3_pkg_postinst
|
||||
|
||||
Reference in New Issue
Block a user