media-fonts/source-han-mono: new package, add 1.002

Adobe 思源等宽,Pan-CJK 等宽字体。

Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-07-25 19:10:39 +10:00
1 parent 02726d8f65
commit a5cddc3815
3 files changed
+34

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST source-han-mono-1.002.ttc 122117628 BLAKE2B bf7f6e96b9f8b9c9d752263523f075d46d62f2eff9ed1d174008b66ef413c7cb2a5422b0e5352fb119c94850de055661acc18e928ff747fd37f933ba9868581e SHA512 315eae53d2417e78d9d92844614a5f4a4684f6c6160342779c738331c3e627c9f2e550f9d6d515d9023b597a2adbbb4672cd0b1efbb091bf0674ce057474c39c
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zakk@gentoozh.org</email>
<name>Zakk</name>
</maintainer>
<upstream>
<remote-id type="github">adobe-fonts/source-han-mono</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,22 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
DESCRIPTION="Adobe Source Han Mono: a Pan-CJK monospaced typeface"
HOMEPAGE="https://github.com/adobe-fonts/source-han-mono"
SRC_URI="https://github.com/adobe-fonts/${PN}/releases/download/${PV}/SourceHanMono.ttc -> ${P}.ttc"
S="${WORKDIR}"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
FONT_SUFFIX="ttc"
src_prepare() {
default
cp "${DISTDIR}"/${P}.ttc "${S}"/ || die
}