diff options
author | Aric Belsito <lluixhi@gmail.com> | 2017-03-03 13:20:55 -0800 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-09 08:43:29 +0200 |
commit | e0f828fda782e9f313a2e0bbaa6cca9616a6988a (patch) | |
tree | 5dd2a1fab698a556459da46572f93a7d7d7175b5 /media-fonts/source-han-sans/source-han-sans-1.004.ebuild | |
parent | dev-ruby/http-form_data: add 1.0.2 (diff) | |
download | gentoo-e0f828fda782e9f313a2e0bbaa6cca9616a6988a.tar.gz gentoo-e0f828fda782e9f313a2e0bbaa6cca9616a6988a.tar.bz2 gentoo-e0f828fda782e9f313a2e0bbaa6cca9616a6988a.zip |
media-fonts/source-han-sans: version bump to 1.004
Add myself as proxy-maintainer
Bug: https://bugs.gentoo.org/587074
Closes: https://github.com/gentoo/gentoo/pull/4110
Diffstat (limited to 'media-fonts/source-han-sans/source-han-sans-1.004.ebuild')
-rw-r--r-- | media-fonts/source-han-sans/source-han-sans-1.004.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/media-fonts/source-han-sans/source-han-sans-1.004.ebuild b/media-fonts/source-han-sans/source-han-sans-1.004.ebuild new file mode 100644 index 000000000000..a801140e2f2a --- /dev/null +++ b/media-fonts/source-han-sans/source-han-sans-1.004.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit font + +# Note to maintainers: +# The upstream tarball is huge (over 780 MB), so we use the +# regional subset OTF fonts per region, for the user's convenience. + +DESCRIPTION="Pan-CJK OpenType/CFF font family" +HOMEPAGE="https://github.com/adobe-fonts/source-han-sans/" +SRC_URI=" + l10n_ja? ( https://github.com/adobe-fonts/${PN}/raw/${PV}R/SubsetOTF/SourceHanSansJP.zip -> ${PN}-ja-${PV}.zip ) + l10n_ko? ( https://github.com/adobe-fonts/${PN}/raw/${PV}R/SubsetOTF/SourceHanSansKR.zip -> ${PN}-ko-${PV}.zip ) + l10n_zh-CN? ( https://github.com/adobe-fonts/${PN}/raw/${PV}R/SubsetOTF/SourceHanSansCN.zip -> ${PN}-zh_CN-${PV}.zip ) + l10n_zh-TW? ( https://github.com/adobe-fonts/${PN}/raw/${PV}R/SubsetOTF/SourceHanSansTW.zip -> ${PN}-zh_TW-${PV}.zip )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x64-macos" +IUSE="l10n_ja l10n_ko +l10n_zh-CN l10n_zh-TW" +REQUIRED_USE="|| ( l10n_ja l10n_ko l10n_zh-CN l10n_zh-TW )" + +S=${WORKDIR} +FONT_SUFFIX="otf" +RESTRICT="binchecks strip" + +src_install() { + use l10n_ja && FONT_S="${S}/SourceHanSansJP" font_src_install + use l10n_ko && FONT_S="${S}/SourceHanSansKR" font_src_install + use l10n_zh-CN && FONT_S="${S}/SourceHanSansCN" font_src_install + use l10n_zh-TW && FONT_S="${S}/SourceHanSansTW" font_src_install +} |