aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny (tastytea) Gutbrod <gentoo@tastytea.de>2022-09-10 08:01:22 +0200
committerRonny (tastytea) Gutbrod <gentoo@tastytea.de>2022-09-10 08:01:22 +0200
commite9b5432c4460478e3fda14907a252325e6264d3c (patch)
tree73ffd8e78dbd25a2da5c33aa163f77a257941460 /media-fonts
parentmedia-fonts/source-han-serif: add 2.001 (diff)
downloadguru-e9b5432c4460478e3fda14907a252325e6264d3c.tar.gz
guru-e9b5432c4460478e3fda14907a252325e6264d3c.tar.bz2
guru-e9b5432c4460478e3fda14907a252325e6264d3c.zip
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>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/source-han-mono/Manifest1
-rw-r--r--media-fonts/source-han-mono/metadata.xml12
-rw-r--r--media-fonts/source-han-mono/source-han-mono-1.002.ebuild25
3 files changed, 38 insertions, 0 deletions
diff --git a/media-fonts/source-han-mono/Manifest b/media-fonts/source-han-mono/Manifest
new file mode 100644
index 000000000..2480d675b
--- /dev/null
+++ b/media-fonts/source-han-mono/Manifest
@@ -0,0 +1 @@
+DIST source-han-mono-1.002.ttc 122117628 BLAKE2B bf7f6e96b9f8b9c9d752263523f075d46d62f2eff9ed1d174008b66ef413c7cb2a5422b0e5352fb119c94850de055661acc18e928ff747fd37f933ba9868581e SHA512 315eae53d2417e78d9d92844614a5f4a4684f6c6160342779c738331c3e627c9f2e550f9d6d515d9023b597a2adbbb4672cd0b1efbb091bf0674ce057474c39c
diff --git a/media-fonts/source-han-mono/metadata.xml b/media-fonts/source-han-mono/metadata.xml
new file mode 100644
index 000000000..bf01756f3
--- /dev/null
+++ b/media-fonts/source-han-mono/metadata.xml
@@ -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>
diff --git a/media-fonts/source-han-mono/source-han-mono-1.002.ebuild b/media-fonts/source-han-mono/source-han-mono-1.002.ebuild
new file mode 100644
index 000000000..513b54344
--- /dev/null
+++ b/media-fonts/source-han-mono/source-han-mono-1.002.ebuild
@@ -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
+}