aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/source-han-serif/Manifest4
-rw-r--r--media-fonts/source-han-serif/source-han-serif-2.003.ebuild37
2 files changed, 41 insertions, 0 deletions
diff --git a/media-fonts/source-han-serif/Manifest b/media-fonts/source-han-serif/Manifest
index 38c78ed3f..7ac24c1b1 100644
--- a/media-fonts/source-han-serif/Manifest
+++ b/media-fonts/source-han-serif/Manifest
@@ -1,8 +1,12 @@
DIST source-han-serif-ja-2.001.zip 36789229 BLAKE2B b17cdb9ade2bdde67ccf142fe6c8b2637b520916ee72028bf0f4226e733fd5fea244344c288ad5217b2b28b312e92f0787b54dba60e3031b8203760590311981 SHA512 f436321985c5a2c3a8b3483c94d7d0bcde059832c3068ee1a74b6468a46ce19d571fc782ee395b6b5ef9bd26279c3661dd6adffed24845c6e92670784fe03831
DIST source-han-serif-ja-2.002.zip 36811234 BLAKE2B 298c8398de7aa567bc2ff2de290b7e2b253e6cbd600b12ee780c13b5484ee9ac3db69e93bf359e49d14f09269e161f4e49d8c32f258d8348cc5b86f71d7eab47 SHA512 9a006bc2da629f1ad170ce54abf0bff881412d49dbb5c3617a6ec97f011886178fc62e5f7c9a398f7395d6cb30a3bdb7d6c122022405df8712968cc4da70253f
+DIST source-han-serif-ja-2.003.zip 36831708 BLAKE2B 45a2312e33081e71a5594b85dca8d1d0e7fa7ddc0c0d76a42b59414c77de6455c4b265cc63e648f8ed813e822c8f66ffd0bb117955bdff0ddfb79f0de43c9ffe SHA512 b09ae50843de24abb9872e5696435dadaa5c31024d90a1c85f32aaee20ee8bd1ad792f48a20449b420966dd5a16e41814dfb7b664e34d0c4ce84538797732e21
DIST source-han-serif-ko-2.001.zip 39231528 BLAKE2B 5b3a4a71b119a0a329363db45c511b195972c5ea36b391ce69277e2495c7904e938b9add8a042b92fcd79f0f1cdcca7bd55d785b8e667fd4693b2d64164b45b4 SHA512 e7f6468140a937d006155db746dbf4b8455a75ca2dd0ec6916c2e084f6136a79b0db080a2521b7ba665013ba7a257a763f9087d2270d531f4a1455e440329f1b
DIST source-han-serif-ko-2.002.zip 39359861 BLAKE2B 39a13d51aa7b852cb6d6a32a135d765f57707e56e5117fac95d03e5d8235c7bcc3c3aa24d4107e3ca664eb9dae3d896e6241d14ae2f3fc0c9ca8329978e1f936 SHA512 0d7187ddb55664449adc659f0e1eb9e26c9eb9ee81cc9c1e2619516bf2eb2e4ebbdb8a6846f2da2dfb118c95dc7b60c8dc3d83cb922c360dc5587a2886bd770a
+DIST source-han-serif-ko-2.003.zip 39752343 BLAKE2B d0ef5cc5147c6829c55a0b00f473a7d93f6bdfec6ec3b3894cbc318e3acc82a22bfa6be001572bfc93b16fb92f4ead9f4f38b0cb740e1b7839766ed2ee42e5ba SHA512 9d1a29a7d4176e983325bad70dffdf20d22dab19781584f30f4bf33678b49fd3117f6e817976b556b08f7d4456d54b9714292faae3cd2f9df6de04739ba2b56e
DIST source-han-serif-zh_CN-2.001.zip 68857778 BLAKE2B 13810a87500a69295468005374d1119e032a8f3e9d8672022c0e927c5941868e87ed9fe6f87b5f21a59ec6b326ec6db80c7ca3a4c32c0e22c174d8155ba98902 SHA512 f75844e260e8bb49a50a4276e431f5fb39704d60ffac3d0ba8326e8758bb7d2cff5dfb0cd4fab590c12c14e65384cdf624fef830731fdd3df8dab088ebadac6c
DIST source-han-serif-zh_CN-2.002.zip 68956659 BLAKE2B 19ee821becbcbeb2de81d5d077d83a9a8fbfc11f49e1820d0cd2fec11600d79b6fe52718a6ec6096c557f114e5320f8c7acd74762855e51b9d5bfe4a843996f0 SHA512 6e0e3d75bf3cedc16cb59f0af27bcc4d6a6279f9cc06c7b255eb3e9246d2fd23a6cc433e6e8d32de97a2cb195a1bc7f172b6f40f1066d073a1638237ae196f63
+DIST source-han-serif-zh_CN-2.003.zip 68961106 BLAKE2B 831834998b98f4670e81099cfa43c5672e683b374a9364d8b4e70f9ae3d02a356e0bbaa5310347e0300ec1e2f62687911b57edad3b2ff6bef77f3b89abb71dad SHA512 2107bbc44e60e3c9ea432df48d3e3fb1e4634d47619e507c2090532354ad017875155237af01bb8c42d19d34cfb0bdab7c961872d0f73bb04cec58c8ee693521
DIST source-han-serif-zh_TW-2.001.zip 47266838 BLAKE2B e3974e21270df8f55a84081526bcfd2002b5b71a75b4184c9f02d32373e40248bacae019c2c1b9e4748c1f24aee995e6735ef45e44220e99e0c3887961da8989 SHA512 e15a9cf79ab89c1f3d9ca72658fc561aa5ed3c1fb7d0f9ee21ed7c6dc430231f10d5ce85cd0d41f20f8116dcd6aa71a7d2b697e66190d13c9a0e69aa71a318dd
DIST source-han-serif-zh_TW-2.002.zip 47261252 BLAKE2B 5135c3145fedb13e347c30b34377d22d60f6074a80d360c10fa179e984af3638fa7566838046b210ae378cb977433e5fb219d8c09f8af6850990a5f9dc152166 SHA512 57a0a1e8e5835d811caeb8571e91a1fc7e5ffad6ed6a32433971c5a85a8b94deb1a0d880d64c3fa826316ce0eed601c4232163b1459567bf868ccc04990c901b
+DIST source-han-serif-zh_TW-2.003.zip 47264165 BLAKE2B bc51d2690c1439aea8d1e2701024e3b9e91614dc16c422381aa9d36f33a5bd99d593db9d8337aa71f495d9506a627b99a4aa0c9bf577ba3508031fdb17f3ab8d SHA512 9c4a364f3286ce447c1bc271c3ae8eccba576e90cb3efe617c951a26ff35df6d7ac1e221cae2d24f0f97c83ccbdbbef26ea959a4aa1cd0c2f853d347ad6d9022
diff --git a/media-fonts/source-han-serif/source-han-serif-2.003.ebuild b/media-fonts/source-han-serif/source-han-serif-2.003.ebuild
new file mode 100644
index 000000000..284d61998
--- /dev/null
+++ b/media-fonts/source-han-serif/source-han-serif-2.003.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit font
+
+# NOTE: There is a zh_HK version, but to use that zh_HK has to be added to
+# profiles/desc/l10n.desc in ::gentoo, as far as i'm aware.
+
+DESCRIPTION="Pan-CJK OpenType/CFF font family"
+HOMEPAGE="https://github.com/adobe-fonts/source-han-serif/"
+SRC_URI="
+ l10n_ja? ( https://github.com/adobe-fonts/${PN}/releases/download/${PV}R/12_SourceHanSerifJP.zip -> ${PN}-ja-${PV}.zip )
+ l10n_ko? ( https://github.com/adobe-fonts/${PN}/releases/download/${PV}R/13_SourceHanSerifKR.zip -> ${PN}-ko-${PV}.zip )
+ l10n_zh-CN? ( https://github.com/adobe-fonts/${PN}/releases/download/${PV}R/14_SourceHanSerifCN.zip -> ${PN}-zh_CN-${PV}.zip )
+ l10n_zh-TW? ( https://github.com/adobe-fonts/${PN}/releases/download/${PV}R/15_SourceHanSerifTW.zip -> ${PN}-zh_TW-${PV}.zip )
+"
+S=${WORKDIR}
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~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 )"
+
+FONT_SUFFIX="otf"
+RESTRICT="binchecks strip"
+
+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-TW && FONT_S="${S}/SubsetOTF/TW" font_src_install
+}