commit:     5653411984a7424af40cc3cbb973ac516780cdb9
Author:     Harri Nieminen <moikkis <AT> gmail <DOT> com>
AuthorDate: Sat Nov 25 14:40:22 2017 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 20:18:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56534119

media-fonts/font-misc-ethiopic: EAPI 3 -> 5

Also remove unnecessary depedency on x11-apps/bdftopcf

Package-Manager: Portage-2.3.16, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/6296

 media-fonts/font-misc-ethiopic/Manifest             |  2 +-
 .../font-misc-ethiopic-1.0.3-r1.ebuild              | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/media-fonts/font-misc-ethiopic/Manifest 
b/media-fonts/font-misc-ethiopic/Manifest
index 33f5d559b5d..5389338f4b9 100644
--- a/media-fonts/font-misc-ethiopic/Manifest
+++ b/media-fonts/font-misc-ethiopic/Manifest
@@ -1 +1 @@
-DIST font-misc-ethiopic-1.0.3.tar.bz2 245606 SHA256 
53cb1fd83afdbe7939c0eac34003676ee0e6023216892d98054db90b703c98a5 SHA512 
b3e3f7462f37216796730a894761c7d60d5ede0f51351997e6c3c92e3136c788a2710690f482d05ed1396a4b6be452e1f871febc7e5b7a1a67e43bcc1ec7c77d
 WHIRLPOOL 
ce823c72f9b9c021b3d4bcb4756897f6b8f8682940d403e7004550ecfa2ae42439e57a914925a7fe9fc7bdf6c262806fcb125239d54ec61f07467f53addee97c
+DIST font-misc-ethiopic-1.0.3.tar.bz2 245606 BLAKE2B 
e0cf89f4500226b7213d6f3f88b3bf575501140d8742fe5e30b07eefd2c1fe2fc9bfe941639032d3b5ce45eb7e6f352af7b6468e7f8b0fc941ed9cee8d531f96
 SHA512 
b3e3f7462f37216796730a894761c7d60d5ede0f51351997e6c3c92e3136c788a2710690f482d05ed1396a4b6be452e1f871febc7e5b7a1a67e43bcc1ec7c77d

diff --git a/media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r1.ebuild 
b/media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r1.ebuild
new file mode 100644
index 00000000000..fe37758e952
--- /dev/null
+++ b/media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+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
+}

Reply via email to