summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/font-misc-ethiopic')
-rw-r--r--media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r2.ebuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r2.ebuild b/media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r2.ebuild
new file mode 100644
index 000000000000..69981adc3df3
--- /dev/null
+++ b/media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r2.ebuild
@@ -0,0 +1,20 @@
+# 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"
+
+FONT_OPTIONS="--with-otf-fontdir=${EPREFIX}/usr/share/fonts/OTF"
+
+src_install() {
+ xorg-3_src_install
+ # TTF fonts are not supposed to be installed.
+ # Also fixes file collision per bug #309689
+ rm -r "${ED}/usr/share/fonts/TTF" || die
+}