commit:     68523a0dee5dc8b4a64802c8130a0fa5e8a9fead
Author:     Alexey Zapparov <alexey <AT> zapparov <DOT> com>
AuthorDate: Fri Mar 15 21:57:35 2024 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Fri Mar 15 21:58:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68523a0d

media-fonts/victor-mono: add 1.5.6

Signed-off-by: Alexey Zapparov <alexey <AT> zapparov.com>

 media-fonts/victor-mono/Manifest                 |  1 +
 media-fonts/victor-mono/victor-mono-1.5.6.ebuild | 33 ++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/media-fonts/victor-mono/Manifest b/media-fonts/victor-mono/Manifest
index af9076e3a6..582a92ea46 100644
--- a/media-fonts/victor-mono/Manifest
+++ b/media-fonts/victor-mono/Manifest
@@ -1,2 +1,3 @@
 DIST victor-mono-1.5.4.zip 8631194 BLAKE2B 
74bc8ce26cbe5bd1b331d440163793740ad1ff393d16ac86dfd18652f11fef8c2899c62eda6ee7e603d9921ac11ab883cdb14a4367d8fdab02a1cd7c65021d63
 SHA512 
7592304648fca98286cea19080fe5ee13bc5c0e19419e86d08960a7d42669886cd5fdc9ee0d2f3832ac53371a81586bfe82cecc6946721d1a99cbe1ec704d62d
 DIST victor-mono-1.5.5.zip 9165795 BLAKE2B 
559f7bb4f216fe00cc32e723279eb0ddec70a4834a943749d6ab20619e265f0da434e3d93501598e3af4314b42c51fe1c68f39d0ab7276cf6ebeaf57208be247
 SHA512 
aa1b24bac802a2e30dc13939df03ca2c5a6fea49e4de3f74009b9c878ef7e2bcc72ddae8ac7853bd1bc3c3caef33f5d5fe87203e106531b48d1e68db66b444e4
+DIST victor-mono-1.5.6.zip 9190154 BLAKE2B 
f6c73122cc15770742a009a1aa5197f1a51c10ac48fb90ca4dfb3aadec62accd9bf1e6ef331298bb30765ff93a1eb4338474c935c46a8022a0a57fbaf9599cdc
 SHA512 
00d5ec1ea557b678fdb302fd4c56ade02695ab666f59d422058f094bf1fdc10dba7008262348b4bbb80ac1799ac486233094fe6bd6f64a8dc38b10a4ed9ddd13

diff --git a/media-fonts/victor-mono/victor-mono-1.5.6.ebuild 
b/media-fonts/victor-mono/victor-mono-1.5.6.ebuild
new file mode 100644
index 0000000000..20ae2db9db
--- /dev/null
+++ b/media-fonts/victor-mono/victor-mono-1.5.6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit font
+
+DESCRIPTION="A free programming font with cursive italics and ligatures"
+HOMEPAGE="https://rubjo.github.io/victor-mono/";
+SRC_URI="https://github.com/rubjo/victor-mono/raw/v${PV}/public/VictorMonoAll.zip
 -> ${P}.zip"
+RESTRICT="binchecks strip"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+otf ttf"
+
+REQUIRED_USE="|| ( otf ttf )"
+
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+FONT_CONF=(
+       "${FILESDIR}/66-victor-mono.conf"
+)
+
+src_install() {
+       use otf && { FONT_S="${S}/OTF"; FONT_SUFFIX="otf"; }
+       use ttf && { FONT_S="${S}/TTF"; FONT_SUFFIX="ttf"; }
+
+       font_src_install
+}

Reply via email to