commit:     70d4537182dae248dc48e65a043ad3faffd13fde
Author:     namcap <maweiqingorama <AT> gmail <DOT> com>
AuthorDate: Mon Jun 27 15:52:52 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 13:30:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70d45371

media-fonts/source-han-sans: *.otf does not exist

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).
Closes: https://github.com/gentoo/gentoo/pull/1771

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 media-fonts/source-han-sans/source-han-sans-1.001.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index 34828dc..435227c 100644
--- a/media-fonts/source-han-sans/source-han-sans-1.001.ebuild
+++ b/media-fonts/source-han-sans/source-han-sans-1.001.ebuild
@@ -28,7 +28,7 @@ RESTRICT="binchecks strip"
 
 src_install() {
        for l in ja ko zh-CN zh-TW; do
-               use l10n_${l} && FONT_S="${S}/source-han-sans-${l}-${PV}" 
font_src_install
+               use l10n_${l} && FONT_S="${S}/source-han-sans-${l//-/_}-${PV}" 
font_src_install
        done
        dodoc source-han-sans-*-${PV}/*md source-han-sans-*-${PV}/*pdf
 }

Reply via email to