summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Pihl <ahvenas@gmail.com>2020-08-02 22:38:54 +0300
committerMatt Turner <mattst88@gentoo.org>2020-08-06 12:11:10 -0700
commit3bf6fe4b23fa355c815d8624e799647866d12777 (patch)
treea516d9d78f851a07a08623f63d0204f47455feaf /media-fonts
parentmedia-fonts/font-misc-cyrillic: upgrade to EAPI 7 and xorg-3 eclass (diff)
downloadgentoo-3bf6fe4b23fa355c815d8624e799647866d12777.tar.gz
gentoo-3bf6fe4b23fa355c815d8624e799647866d12777.tar.bz2
gentoo-3bf6fe4b23fa355c815d8624e799647866d12777.zip
media-fonts/font-misc-ethiopic: upgrade to EAPI 7 and xorg-3 eclass
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Henrik Pihl <ahvenas@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-fonts')
-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
+}