commit:     a909c07519c452c64a8894c2df9f33431d4f6bdc
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Tue Sep 29 14:16:02 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Oct 12 09:05:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a909c075

media-fonts/fontawesome: version bump to 5.15.1

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-fonts/fontawesome/Manifest                  |  1 +
 media-fonts/fontawesome/fontawesome-5.15.1.ebuild | 33 +++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/media-fonts/fontawesome/Manifest b/media-fonts/fontawesome/Manifest
index dd8d05fb7b3..b1c69bc4a87 100644
--- a/media-fonts/fontawesome/Manifest
+++ b/media-fonts/fontawesome/Manifest
@@ -4,3 +4,4 @@ DIST fontawesome-5.11.2.tar.gz 10542743 BLAKE2B 
d17afa447acfa56ad42b6f36c6fd7ec0
 DIST fontawesome-5.13.0.tar.gz 10998459 BLAKE2B 
69ddfb0d8b3bb1a15911445b934cf0321e645164b34fc9f7844f0df04840a3e8d4d425b14589341cec0613ea4f2109678250198a1d5002e69c394eb053ceb4a2
 SHA512 
9fd3e1115acef6ac84667cf546374b204b947e229e4c645ab33f51026e993689a8295e7c0b02c88d735c4399efcd454f4252dcde7008eefb85c13846bf7c5bc4
 DIST fontawesome-5.13.1.tar.gz 11116775 BLAKE2B 
701c28e77cfdc59226a92baaea24bc8168b81982703459df543659443217e2b39b6cfb58f98fa189a9381562c346e8b00c18a5f02ba1af1561cec141e07e2faf
 SHA512 
944d34b1e7519f7eeb6aa8207766aaa6e278dc9b4926d52cae6196824bf3a52c19b23f068c7334435cb205c8c37d5af62cf6fec91ae4641492c48f9cf03962cf
 DIST fontawesome-5.14.0.tar.gz 11130737 BLAKE2B 
0ae60cb0564ed89705d972f41084f2a3d28b630da82f055455686db5fad18709b440bf642743327369c2cc8d52b2a874a24f4a38b06d680768fa386246fb62a7
 SHA512 
a46679ae7758a94a4e52e0d24486aa2968d4ffa5fe0a583150847eeedc5703ad9cb47a0c71d074595ef7f44b91dae2b00abbe1c3e648447bfb5366daab99f6e3
+DIST fontawesome-5.15.1.tar.gz 11277799 BLAKE2B 
a1f59fe6b6f3ae93bc1a818956ae0034ba7bbb9f3ce800e5296903fa5f19426496dc21245691ac83bcb0eca5ed5aae33c0942eccb1ce8c05143a9e8509c89aae
 SHA512 
0dfef0ae11d032bf52ecdc5ea94ad258805e61b7b4e2aedcf7b0b4d2f0977466339af54310b796eefe3115ef2cb10d1537080d2d68746379ff83cfcbea5c377f

diff --git a/media-fonts/fontawesome/fontawesome-5.15.1.ebuild 
b/media-fonts/fontawesome/fontawesome-5.15.1.ebuild
new file mode 100644
index 00000000000..ec7c7068ea3
--- /dev/null
+++ b/media-fonts/fontawesome/fontawesome-5.15.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="Font-Awesome"
+inherit font
+
+DESCRIPTION="The iconic font"
+HOMEPAGE="https://fontawesome.com";
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/FortAwesome/${MY_PN}.git";
+else
+       SRC_URI="https://github.com/FortAwesome/${MY_PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+       S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+LICENSE="CC-BY-4.0 OFL-1.1"
+SLOT="0/5"
+IUSE="+otf ttf"
+
+REQUIRED_USE="|| ( otf ttf )"
+
+src_install() {
+       if use otf; then
+               FONT_S="${S}/otfs" FONT_SUFFIX="otf" font_src_install
+       fi
+       if use ttf; then
+               FONT_S="${S}/webfonts" FONT_SUFFIX="ttf" font_src_install
+       fi
+}

Reply via email to