1 |
commit: 6aadc731d5addbb5abca5f65851c270be4e551ff |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 20 10:21:38 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 20 11:38:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aadc731 |
7 |
|
8 |
media-fonts/noto: Version bump |
9 |
|
10 |
Bug: https://bugs.gentoo.org/616974 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
13 |
|
14 |
media-fonts/noto/Manifest | 1 + |
15 |
media-fonts/noto/files/66-noto-mono.conf | 16 ++++++++++++++ |
16 |
media-fonts/noto/files/66-noto-sans.conf | 16 ++++++++++++++ |
17 |
media-fonts/noto/files/66-noto-serif.conf | 16 ++++++++++++++ |
18 |
media-fonts/noto/noto-20180905.ebuild | 35 +++++++++++++++++++++++++++++++ |
19 |
5 files changed, 84 insertions(+) |
20 |
|
21 |
diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest |
22 |
index 965b6123380..2801605b394 100644 |
23 |
--- a/media-fonts/noto/Manifest |
24 |
+++ b/media-fonts/noto/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST noto-20170403.tar.xz 11083152 BLAKE2B 8281cc19a100d1cbf7f57fba9cba077bb0005f7296f58d48247bef6c804b53597ff359dfab7b7d851e42c0294c757f311979b98dc9f1c22e2d3f3fabe4db77e7 SHA512 f8f1414b5b6f793e86ef3cc6a6320c4545f079b337c7672cb8cccc3c50d21d353d81557da4a555cdb6524c79be3e4c167f7d5aac102c38d64926f3b1887ca7f3 |
27 |
+DIST noto-20180905.tar.gz 666633675 BLAKE2B 209e28ba8feb7367381fb3cc1cb0f1109167f9b339c9a18c347592cb95a060e60f9c01fcfd309d029c235e9ac5de3e808f1b70cad6b5482f2252029b5ab4944e SHA512 f4cf75d91c9c6c607bc3a9ea97114ccd2c691505f919e08ae3ad591e1cd211c85a3ef24abe96ec23e6961bdba0a35c1ecba6f87556ef53661e4afcdcd865602c |
28 |
|
29 |
diff --git a/media-fonts/noto/files/66-noto-mono.conf b/media-fonts/noto/files/66-noto-mono.conf |
30 |
new file mode 100644 |
31 |
index 00000000000..21d6c364a8e |
32 |
--- /dev/null |
33 |
+++ b/media-fonts/noto/files/66-noto-mono.conf |
34 |
@@ -0,0 +1,16 @@ |
35 |
+<?xml version="1.0"?> |
36 |
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
37 |
+<fontconfig> |
38 |
+ <alias> |
39 |
+ <family>monospace</family> |
40 |
+ <prefer> |
41 |
+ <family>Noto Sans Mono</family> |
42 |
+ </prefer> |
43 |
+ </alias> |
44 |
+ <alias> |
45 |
+ <family>Noto Sans Mono</family> |
46 |
+ <default> |
47 |
+ <family>monospace</family> |
48 |
+ </default> |
49 |
+ </alias> |
50 |
+</fontconfig> |
51 |
|
52 |
diff --git a/media-fonts/noto/files/66-noto-sans.conf b/media-fonts/noto/files/66-noto-sans.conf |
53 |
new file mode 100644 |
54 |
index 00000000000..012aebedf8b |
55 |
--- /dev/null |
56 |
+++ b/media-fonts/noto/files/66-noto-sans.conf |
57 |
@@ -0,0 +1,16 @@ |
58 |
+<?xml version="1.0"?> |
59 |
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
60 |
+<fontconfig> |
61 |
+ <alias> |
62 |
+ <family>sans-serif</family> |
63 |
+ <prefer> |
64 |
+ <family>Noto Sans</family> |
65 |
+ </prefer> |
66 |
+ </alias> |
67 |
+ <alias> |
68 |
+ <family>Noto Sans</family> |
69 |
+ <default> |
70 |
+ <family>sans-serif</family> |
71 |
+ </default> |
72 |
+ </alias> |
73 |
+</fontconfig> |
74 |
|
75 |
diff --git a/media-fonts/noto/files/66-noto-serif.conf b/media-fonts/noto/files/66-noto-serif.conf |
76 |
new file mode 100644 |
77 |
index 00000000000..036baf77649 |
78 |
--- /dev/null |
79 |
+++ b/media-fonts/noto/files/66-noto-serif.conf |
80 |
@@ -0,0 +1,16 @@ |
81 |
+<?xml version="1.0"?> |
82 |
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
83 |
+<fontconfig> |
84 |
+ <alias> |
85 |
+ <family>serif</family> |
86 |
+ <prefer> |
87 |
+ <family>Noto Serif</family> |
88 |
+ </prefer> |
89 |
+ </alias> |
90 |
+ <alias> |
91 |
+ <family>Noto Serif</family> |
92 |
+ <default> |
93 |
+ <family>serif</family> |
94 |
+ </default> |
95 |
+ </alias> |
96 |
+</fontconfig> |
97 |
|
98 |
diff --git a/media-fonts/noto/noto-20180905.ebuild b/media-fonts/noto/noto-20180905.ebuild |
99 |
new file mode 100644 |
100 |
index 00000000000..1c15cd81cf2 |
101 |
--- /dev/null |
102 |
+++ b/media-fonts/noto/noto-20180905.ebuild |
103 |
@@ -0,0 +1,35 @@ |
104 |
+# Copyright 1999-2018 Gentoo Authors |
105 |
+# Distributed under the terms of the GNU General Public License v2 |
106 |
+ |
107 |
+EAPI=6 |
108 |
+inherit font |
109 |
+ |
110 |
+DESCRIPTION="Google's font family that aims to support all the world's languages" |
111 |
+HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlei18n/noto-fonts" |
112 |
+ |
113 |
+COMMIT="db5c897c3954ab8dd49bfc3de4f3ef00a7ef6d06" |
114 |
+SRC_URI="https://github.com/googlei18n/noto-fonts/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
115 |
+ |
116 |
+LICENSE="OFL-1.1" |
117 |
+SLOT="0" |
118 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
119 |
+IUSE="cjk" |
120 |
+ |
121 |
+RDEPEND="cjk? ( media-fonts/noto-cjk )" |
122 |
+RESTRICT="binchecks strip" |
123 |
+ |
124 |
+S="${WORKDIR}/${PN}-fonts-${COMMIT}" |
125 |
+ |
126 |
+FONT_SUFFIX="ttf" |
127 |
+FONT_CONF=( |
128 |
+ # From ArchLinux |
129 |
+ "${FILESDIR}/66-noto-serif.conf" |
130 |
+ "${FILESDIR}/66-noto-mono.conf" |
131 |
+ "${FILESDIR}/66-noto-sans.conf" |
132 |
+) |
133 |
+ |
134 |
+src_install() { |
135 |
+ # Don't install in separate subdirs |
136 |
+ FONT_S="${S}/unhinted/" font_src_install |
137 |
+ FONT_S="${S}/hinted/" font_src_install |
138 |
+} |