summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-06-09 05:30:38 +0200
committerHans de Graaff <graaff@gentoo.org>2020-06-09 05:30:38 +0200
commit044cf79f5cd60ca9fc15d6032e9a9b30cd312d90 (patch)
tree487c5d803cdc3dfd420d0ad1b3cecd280605c3dd /media-fonts
parentdev-python/reflink: add py3.{7,8}, improve ebuild (diff)
downloadgentoo-044cf79f5cd60ca9fc15d6032e9a9b30cd312d90.tar.gz
gentoo-044cf79f5cd60ca9fc15d6032e9a9b30cd312d90.tar.bz2
gentoo-044cf79f5cd60ca9fc15d6032e9a9b30cd312d90.zip
media-fonts/fira-code: add 5
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/fira-code/Manifest1
-rw-r--r--media-fonts/fira-code/fira-code-5.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/media-fonts/fira-code/Manifest b/media-fonts/fira-code/Manifest
index 995f015a10e5..b75e1104e1c8 100644
--- a/media-fonts/fira-code/Manifest
+++ b/media-fonts/fira-code/Manifest
@@ -3,3 +3,4 @@ DIST fira-code-2.tar.gz 7100481 BLAKE2B 1ca41276c56b6edb174620224d2a0a72750cd29c
DIST fira-code-3.1.tar.gz 5665465 BLAKE2B d1ad5d8e2d217d9dc1f06b9ac52dcf87f4f108aab1469399f0d1fb011f3619a1ce1c85803213da33a7b7f6e48fffddc194627b3fe560f7340a6a41b15d822062 SHA512 6acb941664a773a1186e6b6150ce747977fc95963d4be8756de05eddf7c2785ba0a5eac8319361779f6e747e8cd1edadeff1a72045cdeb3b152ce5bb2c1b77dd
DIST fira-code-3.tar.gz 5665172 BLAKE2B c27861867102b788da151e9b5ed3b8a1d3e610f9f40d6facfc7f850fb15ff6903bc4e0579674e4732b52bf1477b3f9bc223158c59991d4517af3476f7f5d819f SHA512 2518b2fe1e2454da32a023e93c38358b0c89691f2f47b2e26e9ccf583109911b83d73880800fe02f556e9ed5888edf08e447360628eedb4e7a693a2f9e778520
DIST fira-code-4.tar.gz 5580474 BLAKE2B 0bc9b4c8a54f238f1c464398162a56dccf0ac5f4aaffac00357bc7ad0ed99436b44220180f9753a0bc6f2fccc5dafe4a47df9cac91dc87fb1441952e1f04eeae SHA512 037698435b3f77f5ad2dcfb6ea6ff3063c50d224c2b95ada472bf9b12a6342e892d60220e1993045858697fff9c4fb5da97b41ac3437c4fa50f48ef1398c9738
+DIST fira-code-5.tar.gz 4875628 BLAKE2B 5892af7bfd081311c82788806eda346fed8c23782c5c51196b0be241280bd77385eb458a180a19290fe9cba9299b1ea9ae9ceda250825e4be7d9eb6293998ff0 SHA512 43eea1c9a19143b7a1bb96761229643ca06f2030f143f8446bde0e4bb39b07892de5427fdd72801511c8843ad9401c28f92f476d2a8f43150947772001571cfc
diff --git a/media-fonts/fira-code/fira-code-5.ebuild b/media-fonts/fira-code/fira-code-5.ebuild
new file mode 100644
index 000000000000..73fe57c4a3dc
--- /dev/null
+++ b/media-fonts/fira-code/fira-code-5.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit font
+
+DESCRIPTION="Monospaced font with programming ligatures"
+HOMEPAGE="https://github.com/tonsky/FiraCode"
+SRC_URI="https://github.com/tonsky/FiraCode/archive/${PV}.tar.gz -> ${P}.tar.gz
+https://github.com/tonsky/FiraCode/files/412440/FiraCode-Regular-Symbol.zip"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/FiraCode-${PV}"
+FONT_S="${S}/distr/ttf"
+FONT_SUFFIX="ttf otf"
+
+DOCS="README.md"
+
+DEPEND="app-arch/unzip"
+
+src_prepare() {
+ default
+ mv "${WORKDIR}"/*.otf "${FONT_S}" || die
+}