aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Zapparov <alexey@zapparov.com>2021-12-25 22:04:38 +0100
committerAlexey Zapparov <alexey@zapparov.com>2021-12-25 22:04:38 +0100
commita20558a88320c189ae57bb7d824180c4131341ae (patch)
tree29311c5af405bb1e7e7cc3e032b0a6325ef0ef23 /media-fonts
parentx11-themes/vimix-xcursors: add 20200224-r2 (diff)
downloadguru-a20558a88320c189ae57bb7d824180c4131341ae.tar.gz
guru-a20558a88320c189ae57bb7d824180c4131341ae.tar.bz2
guru-a20558a88320c189ae57bb7d824180c4131341ae.zip
media-fonts/victor-mono: add v1.5.1
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/victor-mono/Manifest1
-rw-r--r--media-fonts/victor-mono/files/66-victor-mono.conf16
-rw-r--r--media-fonts/victor-mono/metadata.xml16
-rw-r--r--media-fonts/victor-mono/victor-mono-1.5.1.ebuild31
4 files changed, 64 insertions, 0 deletions
diff --git a/media-fonts/victor-mono/Manifest b/media-fonts/victor-mono/Manifest
new file mode 100644
index 000000000..37b50b07e
--- /dev/null
+++ b/media-fonts/victor-mono/Manifest
@@ -0,0 +1 @@
+DIST victor-mono-1.5.1.zip 7923821 BLAKE2B 966901025098568d50b523f9200b3994b6ef19e0efadd3b9ca32285363332152e11981e546a4f3b2786b6bae0833a2cda012b88cfd089e22e54bd3c10bf0b085 SHA512 221c987db51d713dd8294a833f2fed540a8dea1ad66ad6199d0cfd8f32115f30d130f54b44e628b5ea291335bc1deba3ea99c0ff932920e467fc4b40f1e0125d
diff --git a/media-fonts/victor-mono/files/66-victor-mono.conf b/media-fonts/victor-mono/files/66-victor-mono.conf
new file mode 100644
index 000000000..d728cd640
--- /dev/null
+++ b/media-fonts/victor-mono/files/66-victor-mono.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>Victor Mono</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Victor Mono</family>
+ <default>
+ <family>monospace</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/media-fonts/victor-mono/metadata.xml b/media-fonts/victor-mono/metadata.xml
new file mode 100644
index 000000000..f599ecdd8
--- /dev/null
+++ b/media-fonts/victor-mono/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alexey@zapparov.com</email>
+ <name>Alexey Zapparov</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/rubjo/victor-mono/issues</bugs-to>
+ <remote-id type="github">rubjo/victor-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>
diff --git a/media-fonts/victor-mono/victor-mono-1.5.1.ebuild b/media-fonts/victor-mono/victor-mono-1.5.1.ebuild
new file mode 100644
index 000000000..fa680aa64
--- /dev/null
+++ b/media-fonts/victor-mono/victor-mono-1.5.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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="primaryuri binchecks strip"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+otf ttf"
+
+REQUIRED_USE="|| ( otf ttf )"
+
+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
+}