commit:     84ba3f5bd0cb31a14f6b9ca7096ff53a44fcbe2d
Author:     Mykyta Holubakha <hilobakho <AT> gmail <DOT> com>
AuthorDate: Mon Feb 19 17:48:50 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 18:40:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ba3f5b

media-fonts/fontawesome: version bump to 5.0.6

Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7231

 media-fonts/fontawesome/Manifest                 |  1 +
 media-fonts/fontawesome/fontawesome-5.0.6.ebuild | 36 ++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/media-fonts/fontawesome/Manifest b/media-fonts/fontawesome/Manifest
index 06e4a12ddd4..4e3d776b25b 100644
--- a/media-fonts/fontawesome/Manifest
+++ b/media-fonts/fontawesome/Manifest
@@ -1,2 +1,3 @@
 DIST fontawesome-4.7.0.tar.gz 2672776 BLAKE2B 
c20474c0167665d82fcbe74984ad9c44fa1155a2a5363222981d6c32f40a3bf13bfc2c582d78e8d36e57939f8af3810fa823f2241d1924a83a05c79ed08cface
 SHA512 
913e5eec2211111e9601c92059745344766f4c3a6f3563cbc6f8a5f3850a0101bab8f3f992a97c6f1c264a2bbb5163f3feecc6b3f64fcb22c9592d2d38cc777d
 DIST fontawesome-free-5.0.4.zip 14981074 BLAKE2B 
e899c4bde9012ee8496e6c55a7c37cc65daf195366ebb6ba4eaa536bb0912c8558ba709f61b3ccc7807f064f247a151630c4b763e9bb8c5e8e659484ed5c26a6
 SHA512 
af5dc97d2672a307f4867925aa3a45e6148d2565e53c99300dd9b204f6f9304270821271ab3c5240944e6c3ce0997c48b1cd483185f85cb81d30620af5d87a73
+DIST fontawesome-free-5.0.6.zip 21098097 BLAKE2B 
981220261e29dc9894eee1b829af4815176d566ce6309a3d356fdb8c5e5e9a1f4ccadd522c70f51088aebfcbb4c85ea593916ce09a129a85ef9ebf711f253ccb
 SHA512 
cb5ad12b2b40687bca0624e9424ff483e5af4c7da1ef032b58698d00bb32c5385c0d5fe40892c252af66a5470843a092442aa14d7936cb6af30066efd07b53b5

diff --git a/media-fonts/fontawesome/fontawesome-5.0.6.ebuild 
b/media-fonts/fontawesome/fontawesome-5.0.6.ebuild
new file mode 100644
index 00000000000..aafd04922e9
--- /dev/null
+++ b/media-fonts/fontawesome/fontawesome-5.0.6.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit font
+
+REPO_PN="Font-Awesome"
+
+MY_P="${PN}-free-${PV}"
+
+DESCRIPTION="The iconic font"
+HOMEPAGE="https://fontawesome.com";
+SRC_URI="https://github.com/FortAwesome/${REPO_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://use.fontawesome.com/releases/v${PV}/${MY_P}.zip";
+
+LICENSE="CC-BY-3.0 OFL-1.1"
+SLOT="0/5"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+otf +ttf"
+
+REQUIRED_USE="|| ( otf ttf )"
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+       if use otf; then
+               FONT_S="${S}/use-on-desktop" FONT_SUFFIX="otf" font_src_install
+       fi
+       if use ttf; then
+               FONT_S="${S}/web-fonts-with-css/webfonts" FONT_SUFFIX="ttf" 
font_src_install
+       fi
+}

Reply via email to