Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/font-misc-ethiopic/
Date: Thu, 06 Aug 2020 19:11:41
Message-Id: 1596741070.3bf6fe4b23fa355c815d8624e799647866d12777.mattst88@gentoo
1 commit: 3bf6fe4b23fa355c815d8624e799647866d12777
2 Author: Henrik Pihl <ahvenas <AT> gmail <DOT> com>
3 AuthorDate: Sun Aug 2 19:38:54 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 6 19:11:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bf6fe4b
7
8 media-fonts/font-misc-ethiopic: upgrade to EAPI 7 and xorg-3 eclass
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Henrik Pihl <ahvenas <AT> gmail.com>
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 .../font-misc-ethiopic-1.0.3-r2.ebuild | 20 ++++++++++++++++++++
15 1 file changed, 20 insertions(+)
16
17 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
18 new file mode 100644
19 index 00000000000..69981adc3df
20 --- /dev/null
21 +++ b/media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r2.ebuild
22 @@ -0,0 +1,20 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +FONT_DIR="OTF"
28 +
29 +inherit xorg-3
30 +
31 +DESCRIPTION="Miscellaneous Ethiopic fonts"
32 +
33 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
34 +
35 +FONT_OPTIONS="--with-otf-fontdir=${EPREFIX}/usr/share/fonts/OTF"
36 +
37 +src_install() {
38 + xorg-3_src_install
39 + # TTF fonts are not supposed to be installed.
40 + # Also fixes file collision per bug #309689
41 + rm -r "${ED}/usr/share/fonts/TTF" || die
42 +}