mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
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>
This commit is contained in:
1
media-fonts/victor-mono/Manifest
Normal file
1
media-fonts/victor-mono/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST victor-mono-1.5.1.zip 7923821 BLAKE2B 966901025098568d50b523f9200b3994b6ef19e0efadd3b9ca32285363332152e11981e546a4f3b2786b6bae0833a2cda012b88cfd089e22e54bd3c10bf0b085 SHA512 221c987db51d713dd8294a833f2fed540a8dea1ad66ad6199d0cfd8f32115f30d130f54b44e628b5ea291335bc1deba3ea99c0ff932920e467fc4b40f1e0125d
|
||||
16
media-fonts/victor-mono/files/66-victor-mono.conf
Normal file
16
media-fonts/victor-mono/files/66-victor-mono.conf
Normal file
@@ -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>
|
||||
16
media-fonts/victor-mono/metadata.xml
Normal file
16
media-fonts/victor-mono/metadata.xml
Normal file
@@ -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>
|
||||
31
media-fonts/victor-mono/victor-mono-1.5.1.ebuild
Normal file
31
media-fonts/victor-mono/victor-mono-1.5.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user