public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/source-han-sans/
Date: Thu, 15 Sep 2022 07:05:46 +0000 (UTC)	[thread overview]
Message-ID: <1663225541.c2546fbe53e4a5fa24cf9d723bc1155c7289654d.juippis@gentoo> (raw)

commit:     c2546fbe53e4a5fa24cf9d723bc1155c7289654d
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sun Aug 14 17:29:38 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Sep 15 07:05:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2546fbe

media-fonts/source-han-sans: add 2.004

add zh-HK, license change, EAPI 7 -> 8, download locations changed

Closes: https://bugs.gentoo.org/865103
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-fonts/source-han-sans/Manifest               |  5 +++
 .../source-han-sans/source-han-sans-2.004.ebuild   | 39 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/media-fonts/source-han-sans/Manifest b/media-fonts/source-han-sans/Manifest
index c3215099399f..e518e45078fa 100644
--- a/media-fonts/source-han-sans/Manifest
+++ b/media-fonts/source-han-sans/Manifest
@@ -1,4 +1,9 @@
 DIST source-han-sans-ja-1.004.zip 26865889 BLAKE2B 26a735dc6d2e5de21cfb52a29d61ca1e85c3fcdb75ed50792a27ffce59acdf9d4a74261bc74981729d584c13a14e1beae1460d3f2a27aaaf0ffd128f37cd745e SHA512 ae310b2e8eb46935b26f53f8177188e26e4a55909a4ad96ff54682d250e661ca5042f76814b97c800f23bd2e55127f8957ccd42c8c55f2bb1333be7903a9d11a
+DIST source-han-sans-ja-2.004.zip 27141614 BLAKE2B f8bff9e69a50d4fd0fb62a7a37f155b6bc7276968d22afd0970d26cc723873d44a21a506a91cee1e3fd51d03da1f5b1053e57743fc12d9c458adf8214d0e6bf2 SHA512 37028a147b53e7da7cc9cca1ced6bf056bba79a290550c2ab4edf8fac1ebebba3fd227402f9517302a2402a643fcbc9c27d7d9e7af4f704cee3164c67f40c2ef
 DIST source-han-sans-ko-1.004.zip 25290327 BLAKE2B de915dc85c84e584e1a6325b35e176c21f7d009653e2b5d8fe24c68df02dac594e64a1d0684a2a65b291a797b4400e4b0e3823deb0f92a473620703c4f8513a7 SHA512 c2a3cfe06254ea05e15c4858d7e6d5759088b41d5ba0f801769681d05eb57c2c981b2a4525a124d4a6c4945360d9bb0e687515d8b8d4c5831565972642298aa1
+DIST source-han-sans-ko-2.004.zip 26037379 BLAKE2B 3c0d086b1679866efccd500d90fc3a843d7c0a541bc0dabeb103fc2e91a45f0083fc326fdd3e2c4a7036873a0429f0ca739225fe6de0c717cb4eb376a8a7a3cc SHA512 232e2c805d05c604e3d23c0ec52567eb4c40f095a01267e9f2a51959e445f9d1d551ddd41834215d4eea004e577d25a71e80cc99f57101acd8a8291b7fe90dde
 DIST source-han-sans-zh_CN-1.004.zip 50414779 BLAKE2B 61501ac790b4ab88ae48bbcfd3b60a235f9bfe171f143b2b1dc3658abdc4731a5478f2edb8d0931b4df13d60f7fc77601078386ab5c4ec2d9e97a4217e11c385 SHA512 9a38ea7907fdc118e4fa420c976e255120a2f9176c33ea8ce06dbc09f46f95224675178e45c854b674f4a46642123e41a3f3f8f6e9f043e8dcc0322e05a70282
+DIST source-han-sans-zh_CN-2.004.zip 50079275 BLAKE2B 141e213d461398259436626ff82bf02236d53459c2231f8294c5d1f18d407b3a4a6534732af8c7040548a8a4cab01697b6cebbd7e182b485015ca636f7f42f49 SHA512 eb846122e02c4b93c1b44606a9e51c6d4d4275ee64832e8b3d53c624c7d6d24c49269986049c8b672cd9e8afbdb7bcafc8327d95145ed061f00f3129287798b5
+DIST source-han-sans-zh_HK-2.004.zip 34196478 BLAKE2B d1fd7b1be90a30420764084d9e4f256a328220ab86a828174133e81fa9e941093950ccc566116b1263105d990b13141062e031078002f02e4509f2358d958185 SHA512 82bb31117454b1bcbe17f4a1aa8a9cfacba5483df9da2ee08717f32d3dbf3188992e5ef34a51567e6b154769ef9962aa00d9794bbf7733f30355342805c3dd8d
 DIST source-han-sans-zh_TW-1.004.zip 34014710 BLAKE2B 1cb3b344f8d9813b27ea79c6e08ec2c462567cb09325267d1d0dd2e463bef5935d4fd42af8ef8d16dd9b2441e2b2fd0cd323f5065abeddbd911a187a05f6205a SHA512 8e1a7ec36a368499cf132ef63dc531c61a19374eedcbc99c6937ef5d2c1e557662e79b796fa8df5e211ffce6fdf290186a235a357b0a2af75a103f3223b5f914
+DIST source-han-sans-zh_TW-2.004.zip 34140813 BLAKE2B cd14b9f71e7986873211d2aa93eba4cfc24c63152111c8944fc2bf3ab0ad89aa72dab445bda71cabfd4cc42f6f17d9c207a9dbaa7b30a82d6c079da2cf1cb8bc SHA512 ffc091f55a6ccb745772ba6af314a6c0a8c533d396803852bbffa17b42bdaa05cf4eabac6afece5d03c36c6eaded2ee30a7d5fed42668374cb648d249279f395

diff --git a/media-fonts/source-han-sans/source-han-sans-2.004.ebuild b/media-fonts/source-han-sans/source-han-sans-2.004.ebuild
new file mode 100644
index 000000000000..050545840425
--- /dev/null
+++ b/media-fonts/source-han-sans/source-han-sans-2.004.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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}/releases/download/${PV}R/SourceHanSansJP.zip -> ${PN}-ja-${PV}.zip )
+	l10n_ko? ( https://github.com/adobe-fonts/${PN}/releases/download/${PV}R/SourceHanSansKR.zip -> ${PN}-ko-${PV}.zip )
+	l10n_zh-CN? ( https://github.com/adobe-fonts/${PN}/releases/download/${PV}R/SourceHanSansCN.zip -> ${PN}-zh_CN-${PV}.zip )
+	l10n_zh-HK? ( https://github.com/adobe-fonts/${PN}/releases/download/${PV}R/SourceHanSansHK.zip -> ${PN}-zh_HK-${PV}.zip )
+	l10n_zh-TW? ( https://github.com/adobe-fonts/${PN}/releases/download/${PV}R/SourceHanSansTW.zip -> ${PN}-zh_TW-${PV}.zip )"
+S="${WORKDIR}"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+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 )"
+RESTRICT="binchecks strip"
+
+FONT_SUFFIX="otf"
+
+BDEPEND="app-arch/unzip"
+
+src_install() {
+	use l10n_ja && FONT_S="${S}/SubsetOTF/JP" font_src_install
+	use l10n_ko && FONT_S="${S}/SubsetOTF/KR" font_src_install
+	use l10n_zh-CN && FONT_S="${S}/SubsetOTF/CN" font_src_install
+	use l10n_zh-HK && FONT_S="${S}/SubsetOTF/HK" font_src_install
+	use l10n_zh-TW && FONT_S="${S}/SubsetOTF/TW" font_src_install
+}


             reply	other threads:[~2022-09-15  7:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-15  7:05 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-01  0:11 [gentoo-commits] repo/gentoo:master commit in: media-fonts/source-han-sans/ Matt Turner
2022-09-15  7:05 Joonas Niilola
2022-05-05 10:44 WANG Xuerui
2021-03-17  9:00 Sam James
2021-03-17  2:21 Sam James
2021-03-17  2:21 Sam James
2021-03-17  2:19 Sam James
2021-03-17  2:16 Sam James
2020-06-15 18:26 Aaron Bauman
2018-07-07 12:15 Jonas Stein
2018-05-11  7:41 Michał Górny
2018-02-27 22:44 Jonas Stein
2018-02-27 22:14 Jonas Stein
2017-05-09  6:43 Michał Górny
2016-06-28 13:59 Patrice Clement
2016-06-24 21:21 Ulrich Müller
2016-02-19  3:11 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1663225541.c2546fbe53e4a5fa24cf9d723bc1155c7289654d.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox