diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2018-01-26 00:50:56 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-01-26 20:18:11 +0100 |
commit | 538a45a062bd23ace9f86391f1608a31da0adb38 (patch) | |
tree | 4fcb51d6b5271e0ebb4b8e70a4e69c3a96ed6366 | |
parent | media-fonts/fontawesome: add subslot to 4.7.0. (diff) | |
download | gentoo-538a45a062bd23ace9f86391f1608a31da0adb38.tar.gz gentoo-538a45a062bd23ace9f86391f1608a31da0adb38.tar.bz2 gentoo-538a45a062bd23ace9f86391f1608a31da0adb38.zip |
media-fonts/fontawesome: version bump to 5.0.4.
-rw-r--r-- | media-fonts/fontawesome/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/fontawesome/fontawesome-5.0.4.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/media-fonts/fontawesome/Manifest b/media-fonts/fontawesome/Manifest index 20ea853d9ffd..06e4a12ddd49 100644 --- a/media-fonts/fontawesome/Manifest +++ b/media-fonts/fontawesome/Manifest @@ -1 +1,2 @@ DIST fontawesome-4.7.0.tar.gz 2672776 BLAKE2B c20474c0167665d82fcbe74984ad9c44fa1155a2a5363222981d6c32f40a3bf13bfc2c582d78e8d36e57939f8af3810fa823f2241d1924a83a05c79ed08cface SHA512 913e5eec2211111e9601c92059745344766f4c3a6f3563cbc6f8a5f3850a0101bab8f3f992a97c6f1c264a2bbb5163f3feecc6b3f64fcb22c9592d2d38cc777d +DIST fontawesome-free-5.0.4.zip 14981074 BLAKE2B e899c4bde9012ee8496e6c55a7c37cc65daf195366ebb6ba4eaa536bb0912c8558ba709f61b3ccc7807f064f247a151630c4b763e9bb8c5e8e659484ed5c26a6 SHA512 af5dc97d2672a307f4867925aa3a45e6148d2565e53c99300dd9b204f6f9304270821271ab3c5240944e6c3ce0997c48b1cd483185f85cb81d30620af5d87a73 diff --git a/media-fonts/fontawesome/fontawesome-5.0.4.ebuild b/media-fonts/fontawesome/fontawesome-5.0.4.ebuild new file mode 100644 index 000000000000..aafd04922e96 --- /dev/null +++ b/media-fonts/fontawesome/fontawesome-5.0.4.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 +} |