commit:     e9b5432c4460478e3fda14907a252325e6264d3c
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sat Sep 10 06:01:22 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Sep 10 06:01:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e9b5432c

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

Bug: https://bugs.gentoo.org/699614
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 media-fonts/source-han-mono/Manifest               |  1 +
 media-fonts/source-han-mono/metadata.xml           | 12 +++++++++++
 .../source-han-mono/source-han-mono-1.002.ebuild   | 25 ++++++++++++++++++++++
 3 files changed, 38 insertions(+)

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>gen...@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
+}

Reply via email to