summaryrefslogtreecommitdiff
blob: 8d5c20f78c21ae77d4384f4fc93fbc3b5791bb98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=5
FONT_DIR="OTF"

inherit xorg-2

DESCRIPTION="Miscellaneous Ethiopic fonts"

KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 m68k ~mips ppc ppc64 s390 sparc x86"
IUSE=""

FONT_OPTIONS="--with-otf-fontdir=${EPREFIX}/usr/share/fonts/OTF"

src_install() {
	xorg-2_src_install
	# TTF fonts are not supposed to be installed.
	# Also fixes file collision per bug #309689
	rm -rf "${ED}/usr/share/fonts/TTF" || die
}