summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarri Nieminen <moikkis@gmail.com>2017-11-25 16:40:22 +0200
committerMatt Turner <mattst88@gentoo.org>2017-11-25 12:18:40 -0800
commit5653411984a7424af40cc3cbb973ac516780cdb9 (patch)
treee547426edf4c223eac0796b30e61efcbfda2fc9a /media-fonts/font-misc-ethiopic
parentmedia-fonts/font-misc-cyrillic: EAPI 3 -> 5 (diff)
downloadgentoo-5653411984a7424af40cc3cbb973ac516780cdb9.tar.gz
gentoo-5653411984a7424af40cc3cbb973ac516780cdb9.tar.bz2
gentoo-5653411984a7424af40cc3cbb973ac516780cdb9.zip
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
Diffstat (limited to 'media-fonts/font-misc-ethiopic')
-rw-r--r--media-fonts/font-misc-ethiopic/Manifest2
-rw-r--r--media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r1.ebuild21
2 files changed, 22 insertions, 1 deletions
diff --git a/media-fonts/font-misc-ethiopic/Manifest b/media-fonts/font-misc-ethiopic/Manifest
index 33f5d559b5d9..5389338f4b99 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 000000000000..fe37758e9525
--- /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
+}