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

Bug: https://bugs.gentoo.org/699614
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2022-09-10 08:01:22 +02:00
parent a636e333fc
commit e9b5432c44
3 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST source-han-mono-1.002.ttc 122117628 BLAKE2B bf7f6e96b9f8b9c9d752263523f075d46d62f2eff9ed1d174008b66ef413c7cb2a5422b0e5352fb119c94850de055661acc18e928ff747fd37f933ba9868581e SHA512 315eae53d2417e78d9d92844614a5f4a4684f6c6160342779c738331c3e627c9f2e550f9d6d515d9023b597a2adbbb4672cd0b1efbb091bf0674ce057474c39c

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@tastytea.de</email>
<name>Ronny (tastytea) Gutbrod</name>
</maintainer>
<stabilize-allarches />
<upstream>
<remote-id type="github">adobe-fonts/source-han-mono</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
DESCRIPTION="Pan-CJK OpenType/CFF mono font family"
HOMEPAGE="https://github.com/adobe-fonts/source-han-serif/"
SRC_URI="https://github.com/adobe-fonts/${PN}/releases/download/${PV}/SourceHanMono.ttc -> ${P}.ttc"
S=${WORKDIR}
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
FONT_SUFFIX="ttc"
RESTRICT="binchecks strip"
BDEPEND="app-arch/unzip"
src_prepare() {
cp "${DISTDIR}"/${P}.ttc . || die
default
}