Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/source-han-sans/
Date: Tue, 28 Jun 2016 13:59:39
Message-Id: 1467120632.70d4537182dae248dc48e65a043ad3faffd13fde.monsieurp@gentoo
1 commit: 70d4537182dae248dc48e65a043ad3faffd13fde
2 Author: namcap <maweiqingorama <AT> gmail <DOT> com>
3 AuthorDate: Mon Jun 27 15:52:52 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 28 13:30:32 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70d45371
7
8 media-fonts/source-han-sans: *.otf does not exist
9
10 The directory containing the .otf files should be "${S}/source-han-sans-zh_TW-1.001", for example, instead of "${S}/source-han-sans-zh-TW-1.001" (zh_TW instead of zh-TW).
11 Closes: https://github.com/gentoo/gentoo/pull/1771
12
13 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
14
15 media-fonts/source-han-sans/source-han-sans-1.001.ebuild | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/media-fonts/source-han-sans/source-han-sans-1.001.ebuild b/media-fonts/source-han-sans/source-han-sans-1.001.ebuild
19 index 34828dc..435227c 100644
20 --- a/media-fonts/source-han-sans/source-han-sans-1.001.ebuild
21 +++ b/media-fonts/source-han-sans/source-han-sans-1.001.ebuild
22 @@ -28,7 +28,7 @@ RESTRICT="binchecks strip"
23
24 src_install() {
25 for l in ja ko zh-CN zh-TW; do
26 - use l10n_${l} && FONT_S="${S}/source-han-sans-${l}-${PV}" font_src_install
27 + use l10n_${l} && FONT_S="${S}/source-han-sans-${l//-/_}-${PV}" font_src_install
28 done
29 dodoc source-han-sans-*-${PV}/*md source-han-sans-*-${PV}/*pdf
30 }