Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 699610

Summary: media-fonts/source-han-sans-2.001 version bump
Product: Gentoo Linux Reporter: Rin Cat <dev>
Component: Current packagesAssignee: Gentoo Fonts Team <fonts>
Status: UNCONFIRMED ---    
Severity: normal Keywords: EBUILD
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: source-han-sans-2.001.ebuild

Description Rin Cat 2019-11-08 13:53:28 UTC
Created attachment 595430 [details]
source-han-sans-2.001.ebuild

Hi,

This is Source Han Sans fonts 2.001 version which was released on 2019-04-09.
https://github.com/adobe-fonts/source-han-sans/releases/tag/2.001R

Note: this ebuild included a non-standard l10n zh_HK for a new subset Hong Kong version in the release.

Thanks.
Rin Cat
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-11-13 13:54:56 UTC
Comment on attachment 595430 [details]
source-han-sans-2.001.ebuild

--- source-han-sans-1.004.ebuild
+++ source-han-sans-2.001.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2

 EAPI=6
@@ -8,19 +8,20 @@
 # 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"
+DESCRIPTION="Pan-CJK OpenType/CFF sans 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-HK? ( https://github.com/adobe-fonts/${PN}/raw/${PV}R/SubsetOTF/SourceHanSansHK.zip -> ${PN}-zh_HK-${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"
+LICENSE="OFL-1.1"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~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 )"
+IUSE="l10n_ja l10n_ko +l10n_zh-CN l10n_zh-HK l10n_zh-TW"
+REQUIRED_USE="|| ( l10n_ja l10n_ko l10n_zh-CN l10n_zh-HK l10n_zh-TW )"

 S=${WORKDIR}
 FONT_SUFFIX="otf"
@@ -30,5 +31,6 @@
        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-HK && FONT_S="${S}/SourceHanSansHK" font_src_install
        use l10n_zh-TW && FONT_S="${S}/SourceHanSansTW" font_src_install
Comment 2 tastytea 2023-04-14 09:04:28 UTC
2.004 was added on 2022-08-14 in c2546fbe53e4a5fa24cf9d723bc1155c7289654d