mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user