You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
696 B
28 lines
696 B
# 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
|
|
}
|