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: Tue, 28 Feb 2023 01:37:10
Message-Id: 1677548184.3ede7d876e7f4fe352101766abdea83540ab91a7.mattst88@gentoo
1 commit: 3ede7d876e7f4fe352101766abdea83540ab91a7
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 01:22:01 2023 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 01:36:24 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ede7d87
7
8 media-fonts/font-misc-ethiopic: Version bump to 1.0.5
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 media-fonts/font-misc-ethiopic/Manifest | 1 +
13 .../font-misc-ethiopic-1.0.5.ebuild | 28 ++++++++++++++++++++++
14 2 files changed, 29 insertions(+)
15
16 diff --git a/media-fonts/font-misc-ethiopic/Manifest b/media-fonts/font-misc-ethiopic/Manifest
17 index 58a204e032ce..bcc4cb8cd0dc 100644
18 --- a/media-fonts/font-misc-ethiopic/Manifest
19 +++ b/media-fonts/font-misc-ethiopic/Manifest
20 @@ -1 +1,2 @@
21 DIST font-misc-ethiopic-1.0.4.tar.bz2 270076 BLAKE2B b27d188fcb5be3e4e5fed810f26c0f5edf5a51a3532bd51b44e55283518bc1a353054da4f37c5535197eeb6958bfe1567ab54d1d9f428b046b84c5d1233aae21 SHA512 4fed9ff3782746898c56dac199e9ca89356f4967779937049b9ff4ffad202317c023859f92d44b371dfa5485d5368ccad648e64b12cde0ed21f7d4aee5affcd5
22 +DIST font-misc-ethiopic-1.0.5.tar.xz 222624 BLAKE2B 8184f7d6ebc72ac4524073670319ef26dcd09b1667973e46fb4756f61a4752104a974a44a8666d9bd011f56b3502746531ae8e608959e124068e4a3d5539ba16 SHA512 7732a828c005e3762b6383729134c5656fd575ac59288504d047fbe26e9965a80519a37b0cc4c6b89379a85a62160c5ea76017f790447a230c015aa7a9143ba0
23
24 diff --git a/media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.5.ebuild b/media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.5.ebuild
25 new file mode 100644
26 index 000000000000..fc918c94867e
27 --- /dev/null
28 +++ b/media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.5.ebuild
29 @@ -0,0 +1,28 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +FONT_DIR="OTF"
35 +XORG_TARBALL_SUFFIX="xz"
36 +XORG_PACKAGE_NAME="misc-ethiopic"
37 +inherit xorg-3
38 +
39 +DESCRIPTION="Miscellaneous Ethiopic fonts"
40 +
41 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
42 +
43 +XORG_CONFIGURE_OPTIONS=(
44 + --with-fontrootdir="${EPREFIX}/usr/share/fonts"
45 +
46 + # This flag unexpectedly doesn't control whether the font (i.e. the .ttf file)
47 + # is installed, but instead only controls whether mkfontscale/mkfontdir is
48 + # run. I suspect this is a bug.
49 + --disable-truetype-install
50 +)
51 +
52 +src_install() {
53 + xorg-3_src_install
54 +
55 + # TTF fonts are not supposed to be installed.
56 + rm -r "${ED}/usr/share/fonts/TTF" || die
57 +}