blob: f93b0b78df54740b1555c7a67bdf82bbc26d2f54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
FONT_DIR="OTF"
inherit xorg-3
DESCRIPTION="Miscellaneous Ethiopic fonts"
KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
XORG_CONFIGURE_OPTIONS=(
--with-fontrootdir="${EPREFIX}/usr/share/fonts"
# This flag unexpectedly doesn't control whether the font (i.e. the .ttf file)
# is installed, but instead only controls whether mkfontscale/mkfontdir is
# run. I suspect this is a bug.
--disable-truetype-install
)
src_install() {
xorg-3_src_install
# TTF fonts are not supposed to be installed.
rm -r "${ED}/usr/share/fonts/TTF" || die
}
|