1 |
commit: 0f21212cc4efface2428a4880a71666537f7488c |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 31 12:35:22 2020 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 31 12:42:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f21212c |
7 |
|
8 |
media-fonts/noto: Bump to a newer snapshot |
9 |
|
10 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
media-fonts/noto/Manifest | 1 + |
14 |
media-fonts/noto/noto-20200521.ebuild | 46 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 47 insertions(+) |
16 |
|
17 |
diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest |
18 |
index fb584b2bbf0..38abdcf1b74 100644 |
19 |
--- a/media-fonts/noto/Manifest |
20 |
+++ b/media-fonts/noto/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST noto-20190524.tar.gz 740252290 BLAKE2B e169ee60c9a83c13656ebd5dbce32aad183bbebc057035c69723788725a1c14a016c37bea7ccf30fc9d776e421515c2fa03f929b5f7bf95d9e3abb1abbeccbbf SHA512 668f7d015da420b3c32f8c0313037bab731bd915875f476beb47e6c3e8d33a30cd608d2f351194607afbf28f8f3efc1eb5f8470c03fd88a83df33b478fa78147 |
23 |
DIST noto-20200308.tar.gz 853685953 BLAKE2B 1f25bf1b763161fc246b0a1ed532d4755e4ef441055d92a8a17a05331bbbe47b4f604492e0403088d5aac9a86e42b27354eb7d4c9bc6286853ce1562b7940344 SHA512 9afec0c150beeb2bb27af58b9118da4bf86a21f25b573be3a01186c0295b9d5f51918d9237fafc76a0388c87a2b8fd780ba450fb8b4c3e65addad729e8f56a9f |
24 |
+DIST noto-20200521.tar.gz 861394318 BLAKE2B e30f7ec58130786414f2dd33acaf9c75f403718612270e346fe51df0cb74088ddc34b699d4af9a494446940aa58a4c2cd043f46208aa7a3004a194703efb464a SHA512 d1090eae56c74237da4e35989d3518dfcb163deee1eb4df64a6be0ccb7e6f2a2207f0602ee5f0156efa2bdb3d105073d2e9a65c8841dbab34207c89c05aeb8bc |
25 |
|
26 |
diff --git a/media-fonts/noto/noto-20200521.ebuild b/media-fonts/noto/noto-20200521.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..8609c13783a |
29 |
--- /dev/null |
30 |
+++ b/media-fonts/noto/noto-20200521.ebuild |
31 |
@@ -0,0 +1,46 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+inherit font |
37 |
+ |
38 |
+DESCRIPTION="Google's font family that aims to support all the world's languages" |
39 |
+HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlei18n/noto-fonts" |
40 |
+ |
41 |
+COMMIT="49313785484cd4d1f4c0329ee3a8801f158f5ba1" |
42 |
+SRC_URI="https://github.com/googlei18n/noto-fonts/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="OFL-1.1" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
47 |
+# Extra allows to optionally reduce disk usage even returning to tofu |
48 |
+# issue as described in https://www.google.com/get/noto/ |
49 |
+IUSE="cjk +extra" |
50 |
+ |
51 |
+RDEPEND="cjk? ( media-fonts/noto-cjk )" |
52 |
+DEPEND="" |
53 |
+ |
54 |
+RESTRICT="binchecks strip" |
55 |
+ |
56 |
+S="${WORKDIR}/${PN}-fonts-${COMMIT}" |
57 |
+ |
58 |
+FONT_SUFFIX="ttf" |
59 |
+FONT_CONF=( |
60 |
+ # From ArchLinux |
61 |
+ "${FILESDIR}/66-noto-serif.conf" |
62 |
+ "${FILESDIR}/66-noto-mono.conf" |
63 |
+ "${FILESDIR}/66-noto-sans.conf" |
64 |
+) |
65 |
+ |
66 |
+src_install() { |
67 |
+ mkdir install-unhinted install-hinted || die |
68 |
+ mv unhinted/*/* install-unhinted/. || die |
69 |
+ mv hinted/*/* install-hinted/. || die |
70 |
+ |
71 |
+ FONT_S="${S}/install-unhinted/" font_src_install |
72 |
+ FONT_S="${S}/install-hinted/" font_src_install |
73 |
+ |
74 |
+ # Allow to drop some fonts optionally for people that want to save |
75 |
+ # disk space. Following ArchLinux options. |
76 |
+ use extra || rm -rf "${ED}"/usr/share/fonts/noto/Noto*{Condensed,SemiBold,Extra}*.ttf |
77 |
+} |