1 |
Bug: https://bugs.gentoo.org/698922 |
2 |
Signed-off-by: Sam James <sam@g.o> |
3 |
--- |
4 |
eclass/xorg-3.eclass | 8 +++++++- |
5 |
1 file changed, 7 insertions(+), 1 deletion(-) |
6 |
|
7 |
diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass |
8 |
index e120d23efd4f..4469efb73427 100644 |
9 |
--- a/eclass/xorg-3.eclass |
10 |
+++ b/eclass/xorg-3.eclass |
11 |
@@ -463,7 +463,13 @@ xorg-3_src_install() { |
12 |
# Don't install libtool archives (even for modules) |
13 |
find "${D}" -type f -name '*.la' -delete || die |
14 |
|
15 |
- [[ -n ${FONT} ]] && remove_font_metadata |
16 |
+ if [[ -n ${FONT} ]] ; then |
17 |
+ if [[ -n ${FONT_CONVERT_SFNT} ]] && in_iuse convert-sfnt && use convert-sfnt ; then |
18 |
+ font_convert_sfnt |
19 |
+ fi |
20 |
+ |
21 |
+ remove_font_metadata |
22 |
+ fi |
23 |
} |
24 |
|
25 |
# @FUNCTION: xorg-3_pkg_postinst |
26 |
-- |
27 |
2.38.0 |