1 |
commit: a20558a88320c189ae57bb7d824180c4131341ae |
2 |
Author: Alexey Zapparov <alexey <AT> zapparov <DOT> com> |
3 |
AuthorDate: Sat Dec 25 21:04:38 2021 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 25 21:04:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a20558a8 |
7 |
|
8 |
media-fonts/victor-mono: add v1.5.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Alexey Zapparov <alexey <AT> zapparov.com> |
12 |
|
13 |
media-fonts/victor-mono/Manifest | 1 + |
14 |
media-fonts/victor-mono/files/66-victor-mono.conf | 16 ++++++++++++ |
15 |
media-fonts/victor-mono/metadata.xml | 16 ++++++++++++ |
16 |
media-fonts/victor-mono/victor-mono-1.5.1.ebuild | 31 +++++++++++++++++++++++ |
17 |
4 files changed, 64 insertions(+) |
18 |
|
19 |
diff --git a/media-fonts/victor-mono/Manifest b/media-fonts/victor-mono/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000..37b50b07e |
22 |
--- /dev/null |
23 |
+++ b/media-fonts/victor-mono/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST victor-mono-1.5.1.zip 7923821 BLAKE2B 966901025098568d50b523f9200b3994b6ef19e0efadd3b9ca32285363332152e11981e546a4f3b2786b6bae0833a2cda012b88cfd089e22e54bd3c10bf0b085 SHA512 221c987db51d713dd8294a833f2fed540a8dea1ad66ad6199d0cfd8f32115f30d130f54b44e628b5ea291335bc1deba3ea99c0ff932920e467fc4b40f1e0125d |
26 |
|
27 |
diff --git a/media-fonts/victor-mono/files/66-victor-mono.conf b/media-fonts/victor-mono/files/66-victor-mono.conf |
28 |
new file mode 100644 |
29 |
index 000000000..d728cd640 |
30 |
--- /dev/null |
31 |
+++ b/media-fonts/victor-mono/files/66-victor-mono.conf |
32 |
@@ -0,0 +1,16 @@ |
33 |
+<?xml version="1.0"?> |
34 |
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
35 |
+<fontconfig> |
36 |
+ <alias> |
37 |
+ <family>monospace</family> |
38 |
+ <prefer> |
39 |
+ <family>Victor Mono</family> |
40 |
+ </prefer> |
41 |
+ </alias> |
42 |
+ <alias> |
43 |
+ <family>Victor Mono</family> |
44 |
+ <default> |
45 |
+ <family>monospace</family> |
46 |
+ </default> |
47 |
+ </alias> |
48 |
+</fontconfig> |
49 |
|
50 |
diff --git a/media-fonts/victor-mono/metadata.xml b/media-fonts/victor-mono/metadata.xml |
51 |
new file mode 100644 |
52 |
index 000000000..f599ecdd8 |
53 |
--- /dev/null |
54 |
+++ b/media-fonts/victor-mono/metadata.xml |
55 |
@@ -0,0 +1,16 @@ |
56 |
+<?xml version="1.0" encoding="UTF-8"?> |
57 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
58 |
+<pkgmetadata> |
59 |
+ <maintainer type="person"> |
60 |
+ <email>alexey@××××××××.com</email> |
61 |
+ <name>Alexey Zapparov</name> |
62 |
+ </maintainer> |
63 |
+ <upstream> |
64 |
+ <bugs-to>https://github.com/rubjo/victor-mono/issues</bugs-to> |
65 |
+ <remote-id type="github">rubjo/victor-mono</remote-id> |
66 |
+ </upstream> |
67 |
+ <use> |
68 |
+ <flag name="otf">Install the OpenType version of the font</flag> |
69 |
+ <flag name="ttf">Install the TrueType version of the font</flag> |
70 |
+ </use> |
71 |
+</pkgmetadata> |
72 |
|
73 |
diff --git a/media-fonts/victor-mono/victor-mono-1.5.1.ebuild b/media-fonts/victor-mono/victor-mono-1.5.1.ebuild |
74 |
new file mode 100644 |
75 |
index 000000000..fa680aa64 |
76 |
--- /dev/null |
77 |
+++ b/media-fonts/victor-mono/victor-mono-1.5.1.ebuild |
78 |
@@ -0,0 +1,31 @@ |
79 |
+# Copyright 2021 Gentoo Authors |
80 |
+# Distributed under the terms of the GNU General Public License v2 |
81 |
+ |
82 |
+EAPI=7 |
83 |
+ |
84 |
+inherit font |
85 |
+ |
86 |
+DESCRIPTION="A free programming font with cursive italics and ligatures" |
87 |
+HOMEPAGE="https://rubjo.github.io/victor-mono/" |
88 |
+SRC_URI="https://github.com/rubjo/victor-mono/raw/v${PV}/public/VictorMonoAll.zip -> ${P}.zip" |
89 |
+RESTRICT="primaryuri binchecks strip" |
90 |
+ |
91 |
+LICENSE="OFL-1.1" |
92 |
+SLOT="0" |
93 |
+KEYWORDS="~amd64 ~x86" |
94 |
+IUSE="+otf ttf" |
95 |
+ |
96 |
+REQUIRED_USE="|| ( otf ttf )" |
97 |
+ |
98 |
+S="${WORKDIR}" |
99 |
+ |
100 |
+FONT_CONF=( |
101 |
+ "${FILESDIR}/66-victor-mono.conf" |
102 |
+) |
103 |
+ |
104 |
+src_install() { |
105 |
+ use otf && { FONT_S="${S}/OTF"; FONT_SUFFIX="otf"; } |
106 |
+ use ttf && { FONT_S="${S}/TTF"; FONT_SUFFIX="ttf"; } |
107 |
+ |
108 |
+ font_src_install |
109 |
+} |