1 |
commit: 8d785e66ad9d0391cec0dbd00fcfa1a95ef795b9 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 20 10:22:20 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 20 11:38:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d785e66 |
7 |
|
8 |
media-fonts/noto-cjk: Version bump |
9 |
|
10 |
Closes: 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-cjk/Manifest | 1 + |
15 |
media-fonts/noto-cjk/files/70-noto-cjk.conf | 147 ++++++++++++++++++++++++++ |
16 |
media-fonts/noto-cjk/noto-cjk-20170602.ebuild | 27 +++++ |
17 |
3 files changed, 175 insertions(+) |
18 |
|
19 |
diff --git a/media-fonts/noto-cjk/Manifest b/media-fonts/noto-cjk/Manifest |
20 |
index b9b29f2283c..fdc0caa2f06 100644 |
21 |
--- a/media-fonts/noto-cjk/Manifest |
22 |
+++ b/media-fonts/noto-cjk/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST noto-cjk-20150615.tar.xz 390518224 BLAKE2B 273018f6d0792ae90bc0d9f44a43f300a7fbd2ca2cbdbf71af911e1cfc0d4f0bb30b5d1f2b15d9bf4df279266921d46987f166dd4559ea15e747db7a22494145 SHA512 738bd840d14c3fc3665b9c6e50b1b2d5981ccdc5e660a6498b4611b8019208f0880df062741d9dec8bdcd54234eed46655e1c739cf872d9dfa5fa0523954a7d3 |
25 |
+DIST noto-cjk-20170602.tar.gz 1667938394 BLAKE2B 51ed7c48bccef0dff75ddc5ec108b61f0f5ceedc41608919dc1071a2308f96c3d2883af932935c32db6dd017e067079d45776eb865200560f2f9c6b89e57dd8c SHA512 861431e1eb0c21b8b7b03f9a97ae61c59a2e513314a24f0c50e2953daac3cba78fa418af32cf66ec100a26c88f5e07bd33eb3ed80b533d97a452fefa5a06b4dc |
26 |
|
27 |
diff --git a/media-fonts/noto-cjk/files/70-noto-cjk.conf b/media-fonts/noto-cjk/files/70-noto-cjk.conf |
28 |
new file mode 100644 |
29 |
index 00000000000..c1052bb4c57 |
30 |
--- /dev/null |
31 |
+++ b/media-fonts/noto-cjk/files/70-noto-cjk.conf |
32 |
@@ -0,0 +1,147 @@ |
33 |
+<?xml version="1.0"?> |
34 |
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
35 |
+<fontconfig> |
36 |
+ <match target="pattern"> |
37 |
+ <test name="lang"> |
38 |
+ <string>ja</string> |
39 |
+ </test> |
40 |
+ <test name="family"> |
41 |
+ <string>serif</string> |
42 |
+ </test> |
43 |
+ <edit name="family" mode="prepend"> |
44 |
+ <string>Noto Serif CJK JP</string> |
45 |
+ </edit> |
46 |
+ </match> |
47 |
+ |
48 |
+ <match target="pattern"> |
49 |
+ <test name="lang"> |
50 |
+ <string>ko</string> |
51 |
+ </test> |
52 |
+ <test name="family"> |
53 |
+ <string>serif</string> |
54 |
+ </test> |
55 |
+ <edit name="family" mode="prepend"> |
56 |
+ <string>Noto Serif CJK KR</string> |
57 |
+ </edit> |
58 |
+ </match> |
59 |
+ |
60 |
+ <match target="pattern"> |
61 |
+ <test name="lang"> |
62 |
+ <string>zh-cn</string> |
63 |
+ </test> |
64 |
+ <test name="family"> |
65 |
+ <string>serif</string> |
66 |
+ </test> |
67 |
+ <edit name="family" mode="prepend"> |
68 |
+ <string>Noto Serif CJK SC</string> |
69 |
+ </edit> |
70 |
+ </match> |
71 |
+ |
72 |
+ <match target="pattern"> |
73 |
+ <test name="lang"> |
74 |
+ <string>zh-tw</string> |
75 |
+ </test> |
76 |
+ <test name="family"> |
77 |
+ <string>serif</string> |
78 |
+ </test> |
79 |
+ <edit name="family" mode="prepend"> |
80 |
+ <string>Noto Serif CJK TC</string> |
81 |
+ </edit> |
82 |
+ </match> |
83 |
+ |
84 |
+ <match target="pattern"> |
85 |
+ <test name="lang"> |
86 |
+ <string>ja</string> |
87 |
+ </test> |
88 |
+ <test name="family"> |
89 |
+ <string>sans-serif</string> |
90 |
+ </test> |
91 |
+ <edit name="family" mode="prepend"> |
92 |
+ <string>Noto Sans CJK JP</string> |
93 |
+ </edit> |
94 |
+ </match> |
95 |
+ |
96 |
+ <match target="pattern"> |
97 |
+ <test name="lang"> |
98 |
+ <string>ko</string> |
99 |
+ </test> |
100 |
+ <test name="family"> |
101 |
+ <string>sans-serif</string> |
102 |
+ </test> |
103 |
+ <edit name="family" mode="prepend"> |
104 |
+ <string>Noto Sans CJK KR</string> |
105 |
+ </edit> |
106 |
+ </match> |
107 |
+ |
108 |
+ <match target="pattern"> |
109 |
+ <test name="lang"> |
110 |
+ <string>zh-cn</string> |
111 |
+ </test> |
112 |
+ <test name="family"> |
113 |
+ <string>sans-serif</string> |
114 |
+ </test> |
115 |
+ <edit name="family" mode="prepend"> |
116 |
+ <string>Noto Sans CJK SC</string> |
117 |
+ </edit> |
118 |
+ </match> |
119 |
+ |
120 |
+ <match target="pattern"> |
121 |
+ <test name="lang"> |
122 |
+ <string>zh-tw</string> |
123 |
+ </test> |
124 |
+ <test name="family"> |
125 |
+ <string>sans-serif</string> |
126 |
+ </test> |
127 |
+ <edit name="family" mode="prepend"> |
128 |
+ <string>Noto Sans CJK TC</string> |
129 |
+ </edit> |
130 |
+ </match> |
131 |
+ |
132 |
+ <match target="pattern"> |
133 |
+ <test name="lang"> |
134 |
+ <string>ja</string> |
135 |
+ </test> |
136 |
+ <test name="family"> |
137 |
+ <string>monospace</string> |
138 |
+ </test> |
139 |
+ <edit name="family" mode="prepend"> |
140 |
+ <string>Noto Sans Mono CJK JP</string> |
141 |
+ </edit> |
142 |
+ </match> |
143 |
+ |
144 |
+ <match target="pattern"> |
145 |
+ <test name="lang"> |
146 |
+ <string>ko</string> |
147 |
+ </test> |
148 |
+ <test name="family"> |
149 |
+ <string>monospace</string> |
150 |
+ </test> |
151 |
+ <edit name="family" mode="prepend"> |
152 |
+ <string>Noto Sans Mono CJK KR</string> |
153 |
+ </edit> |
154 |
+ </match> |
155 |
+ |
156 |
+ <match target="pattern"> |
157 |
+ <test name="lang"> |
158 |
+ <string>zh-cn</string> |
159 |
+ </test> |
160 |
+ <test name="family"> |
161 |
+ <string>monospace</string> |
162 |
+ </test> |
163 |
+ <edit name="family" mode="prepend"> |
164 |
+ <string>Noto Sans Mono CJK SC</string> |
165 |
+ </edit> |
166 |
+ </match> |
167 |
+ |
168 |
+ <match target="pattern"> |
169 |
+ <test name="lang"> |
170 |
+ <string>zh-tw</string> |
171 |
+ </test> |
172 |
+ <test name="family"> |
173 |
+ <string>monospace</string> |
174 |
+ </test> |
175 |
+ <edit name="family" mode="prepend"> |
176 |
+ <string>Noto Sans Mono CJK TC</string> |
177 |
+ </edit> |
178 |
+ </match> |
179 |
+</fontconfig> |
180 |
|
181 |
diff --git a/media-fonts/noto-cjk/noto-cjk-20170602.ebuild b/media-fonts/noto-cjk/noto-cjk-20170602.ebuild |
182 |
new file mode 100644 |
183 |
index 00000000000..3e65ff1b5d7 |
184 |
--- /dev/null |
185 |
+++ b/media-fonts/noto-cjk/noto-cjk-20170602.ebuild |
186 |
@@ -0,0 +1,27 @@ |
187 |
+# Copyright 1999-2018 Gentoo Authors |
188 |
+# Distributed under the terms of the GNU General Public License v2 |
189 |
+ |
190 |
+EAPI=6 |
191 |
+inherit font |
192 |
+ |
193 |
+DESCRIPTION="Google's CJK font family" |
194 |
+HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlei18n/noto-cjk" |
195 |
+ |
196 |
+COMMIT="32a5844539f2e348ed36b44e990f9b06d7fb89fe" |
197 |
+SRC_URI="https://github.com/googlei18n/noto-cjk/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
198 |
+ |
199 |
+LICENSE="OFL-1.1" |
200 |
+SLOT="0" |
201 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
202 |
+IUSE="" |
203 |
+ |
204 |
+RESTRICT="binchecks strip" |
205 |
+ |
206 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
207 |
+ |
208 |
+FONT_S="${S}" |
209 |
+FONT_SUFFIX="ttc otf" |
210 |
+FONT_CONF=( |
211 |
+ # From ArchLinux |
212 |
+ "${FILESDIR}/70-noto-cjk.conf" |
213 |
+) |