summaryrefslogtreecommitdiff
path: root/media-fonts/fira-mono
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
commitd7ed2b01311f15ba54fe8ea872aab7d59ab2b193 (patch)
tree1814dd2b5bbf2e7639fdafbeef48d228cfaf5e9b /media-fonts/fira-mono
parentabaa75b10f899ada8dd05b23cc03205064394bc6 (diff)
gentoo resync : 29.01.2021
Diffstat (limited to 'media-fonts/fira-mono')
-rw-r--r--media-fonts/fira-mono/Manifest4
-rw-r--r--media-fonts/fira-mono/fira-mono-4.202.ebuild39
-rw-r--r--media-fonts/fira-mono/metadata.xml4
3 files changed, 46 insertions, 1 deletions
diff --git a/media-fonts/fira-mono/Manifest b/media-fonts/fira-mono/Manifest
index 4c7ae78eb3d5..720987fa34cf 100644
--- a/media-fonts/fira-mono/Manifest
+++ b/media-fonts/fira-mono/Manifest
@@ -1,3 +1,5 @@
+DIST Fira-4.202.tar.gz 94581261 BLAKE2B 346e18a115098570a3540345d165018477a071d4ee3d9d305f8de5442bd6341439ebfc58ec364b428ddd1e1833224ce27bd9fdde4e4251173ef271c26d72c237 SHA512 fec770fa038f2aa0654f9382f95aa1266a2655970f4c7755b237af9d1c09f47ce719f8daf3afc39812fc69448b9481ee0e2a1414f1d007ad70b4254c92950ebb
DIST FiraMonoFonts3205.zip 1210827 BLAKE2B 99152a5b62ecf32369b84ba3b66662cb5db1662d0bac5f7c2d1cefb7e3cd0e72be13a2177f2d08e77cae30cebba2ad5c55b0b34235c55317f9f726dc774e82f9 SHA512 d1a05ed2610e6d1c688b5709bd30ff6de4597c93db99d049fca9f8a8b3e2bfd2faf2de2a6d23a5b24efaa502e0cb2f23f5239cadc0bb5cb709d04da1d37cba15
EBUILD fira-mono-3.205.ebuild 620 BLAKE2B 6fcb2844dfc850e42cfb9e253a8565da03fa3aa0f0d44665507bd9c40fe753c98ba8384e1f8889daf2336168ed0274db33b3d424a358edc42d498501508ff703 SHA512 0f9d49941b2f4af815c9711a98c5bd14d9906b7fb6f81fb84b951b63bc1cc725f96e72e5fe9b31b47d2e1af501b63954586efae003d2f463bca411f0ea739310
-MISC metadata.xml 244 BLAKE2B e0bf9b0f6266265d6d5cc2e84988bddf02316ff93448093bcacdd41fdb3012c4375e694cf9cbb015ff2e9e185c810a94fdcc71367061cf484fd5e998438d8cc2 SHA512 1515810c51d8c8a86ba49a80a70db683a105643a6246ca7e4b00237f74c41bf453e84768ae640b14f1a72a5f1dd0ffd133a36c6b3257516c4f04de9e9daedfbd
+EBUILD fira-mono-4.202.ebuild 823 BLAKE2B e456d3b60223c32987a2b4110695e837f786616f663505d346f074d831d878ab732419bbf56bcabb2cef279af401d448e320774086c0e41295def40db28eba32 SHA512 5328bf72d79093e1b515c7b87f73c16a2eb0a2beb019adb2c90e9d8d94230503c9bad4b17603d026397b7cc99471e89dd9505225abd6b686897e37e17365aae8
+MISC metadata.xml 399 BLAKE2B fbe1c1518e1df8b646fad2460005cee18753f93d18a0e0737af0aa5d417c765dbf7db63716a93e9d8dde13b4d9e7afdbabc9c61a00c154ed72dda20c45a586d3 SHA512 ca38f2f10617c0ade03647233010ead6a9c38f7acf9a768f2daf8beefe73956b9326f3d876ea98958d003a4abf73b8b0db3942475e5b6d3a63c24597731859e2
diff --git a/media-fonts/fira-mono/fira-mono-4.202.ebuild b/media-fonts/fira-mono/fira-mono-4.202.ebuild
new file mode 100644
index 000000000000..6a4e2221c274
--- /dev/null
+++ b/media-fonts/fira-mono/fira-mono-4.202.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit font
+
+MY_PN="Fira"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Default monospaced typeface for FirefoxOS, designed for legibility"
+HOMEPAGE="https://mozilla.github.io/Fira"
+SRC_URI="https://github.com/mozilla/Fira/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+otf ttf"
+
+REQUIRED_USE="|| ( otf ttf )"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( README.md LICENSE )
+
+src_prepare() {
+ default
+
+ use ttf && { rm "${S}"/ttf/FiraSans-*.ttf || die; }
+ use otf && { rm "${S}"/otf/FiraSans*.otf || die; }
+}
+
+src_install() {
+ use otf && { FONT_S="${S}/otf"; FONT_SUFFIX="otf"; }
+ use ttf && { FONT_S="${S}/ttf"; FONT_SUFFIX="ttf"; }
+
+ font_src_install
+ einstalldocs
+}
diff --git a/media-fonts/fira-mono/metadata.xml b/media-fonts/fira-mono/metadata.xml
index d0f1df7c94c0..4eb642804cfd 100644
--- a/media-fonts/fira-mono/metadata.xml
+++ b/media-fonts/fira-mono/metadata.xml
@@ -5,4 +5,8 @@
<email>fonts@gentoo.org</email>
<name>Fonts</name>
</maintainer>
+ <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>