public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-fonts/intel-one-mono/
Date: Thu, 15 Jun 2023 09:33:56 +0000 (UTC)	[thread overview]
Message-ID: <1686742036.ab792c1a9041bf6af720349022851081b53ded11.flow@gentoo> (raw)

commit:     ab792c1a9041bf6af720349022851081b53ded11
Author:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Wed Jun 14 11:26:51 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Jun 14 11:27:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ab792c1a

media-fonts/intel-one-mono: new package, add 1.2.1

Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>

 media-fonts/intel-one-mono/Manifest                |  2 ++
 .../intel-one-mono/intel-one-mono-1.2.1.ebuild     | 32 ++++++++++++++++++++++
 media-fonts/intel-one-mono/metadata.xml            | 15 ++++++++++
 3 files changed, 49 insertions(+)

diff --git a/media-fonts/intel-one-mono/Manifest b/media-fonts/intel-one-mono/Manifest
new file mode 100644
index 000000000..ec054d603
--- /dev/null
+++ b/media-fonts/intel-one-mono/Manifest
@@ -0,0 +1,2 @@
+DIST intel-one-mono-1.2.1-otf.zip 355599 BLAKE2B d060409d767111486fc1b9784439493a42d4021dc0cff41af4770b79fc7fa26babb17ad6edd49ac83bfc5c27366cefd17df75f2fd7863afee4e1a050bfbf6c05 SHA512 759f3f6ff9b81f985dcb6aa6d9fb8102c58e74425b9239bc2932c460076b0f141e232d586ca466628130f783c2d481b5530e75de55b534c1e35f3cfc9c15282c
+DIST intel-one-mono-1.2.1-ttf.zip 283597 BLAKE2B 8e7add4cfc84ae6c4349513ded39be3e2b10923f38b8df689620417cab1abaa1f993b2672f6f1ae4868e88b4bac6f73933dffb49d51b53c703b7565866d11e08 SHA512 3a82ab952c2cbedc069ab6c0846a05c0f0725f2db0a4be642c4e0224a6b607e9cc4d2ef0abc8709a61fc817d85a2b9531f203c235ffa53d22833430ddf25d787

diff --git a/media-fonts/intel-one-mono/intel-one-mono-1.2.1.ebuild b/media-fonts/intel-one-mono/intel-one-mono-1.2.1.ebuild
new file mode 100644
index 000000000..408c53bff
--- /dev/null
+++ b/media-fonts/intel-one-mono/intel-one-mono-1.2.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit font
+
+DESCRIPTION="An expressive monospaced font family"
+HOMEPAGE="https://github.com/intel/intel-one-mono"
+SRC_URI="
+	otf? ( https://github.com/intel/${PN}/releases/download/V${PV}/otf.zip -> ${P}-otf.zip )
+	ttf? ( https://github.com/intel/${PN}/releases/download/V${PV}/ttf.zip -> ${P}-ttf.zip )
+"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+otf ttf"
+REQUIRED_USE="|| ( otf ttf )"
+
+BDEPEND="app-arch/unzip"
+S="${WORKDIR}"
+
+src_install() {
+	if use otf; then
+		FONT_S="${S}/otf" FONT_SUFFIX="otf" font_src_install
+	fi
+	if use ttf; then
+		FONT_S="${S}/ttf" FONT_SUFFIX="ttf" font_src_install
+	fi
+}

diff --git a/media-fonts/intel-one-mono/metadata.xml b/media-fonts/intel-one-mono/metadata.xml
new file mode 100644
index 000000000..0322d2a2c
--- /dev/null
+++ b/media-fonts/intel-one-mono/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>zhuyifei1999@gmail.com</email>
+		<name>YiFei Zhu</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">intel/intel-one-mono</remote-id>
+	</upstream>
+	<use>
+		<flag name="otf">Install the OpenType version of the font</flag>
+		<flag name="ttf">Install the TrueType version of the font</flag>
+	</use>
+</pkgmetadata>


             reply	other threads:[~2023-06-15  9:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-15  9:33 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-24 22:41 [gentoo-commits] repo/proj/guru:master commit in: media-fonts/intel-one-mono/ David Roman
2023-09-18 12:38 Florian Schmaus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1686742036.ab792c1a9041bf6af720349022851081b53ded11.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox