summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/fontawesome/Manifest1
-rw-r--r--media-fonts/fontawesome/fontawesome-4.6.3.ebuild32
-rw-r--r--media-fonts/fontawesome/metadata.xml19
3 files changed, 52 insertions, 0 deletions
diff --git a/media-fonts/fontawesome/Manifest b/media-fonts/fontawesome/Manifest
new file mode 100644
index 000000000000..ca43e87a74bd
--- /dev/null
+++ b/media-fonts/fontawesome/Manifest
@@ -0,0 +1 @@
+DIST fontawesome-4.6.3.tar.gz 2526615 SHA256 669fb1210c64eda3f998c86941641f1bcd0af4450643daf8841cb62d2b6c71a4 SHA512 ecf78028e7948e89d352c7f0de413198d95c235e36f49c24146d246012145ac62e0f4d1148655ef88be15710340688b2f3cc55247cfb6742a41400422f88d69f WHIRLPOOL 056ad3e1970d4eef4eaf2294bc3b5a0f02fb3de0145826ff10505e7bed851de4385629e10829675f94dd1a8ed49b4cdcaaabbc3c466c88f3bb094b5bb414629f
diff --git a/media-fonts/fontawesome/fontawesome-4.6.3.ebuild b/media-fonts/fontawesome/fontawesome-4.6.3.ebuild
new file mode 100644
index 000000000000..a7e08456cbe7
--- /dev/null
+++ b/media-fonts/fontawesome/fontawesome-4.6.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit font
+
+REPO_PN="Font-Awesome"
+
+DESCRIPTION="The iconic font"
+HOMEPAGE="http://fontawesome.io"
+SRC_URI="https://github.com/FortAwesome/${REPO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="CC-BY-3.0 OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+otf +ttf"
+
+REQUIRED_USE="|| ( otf ttf )"
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${REPO_PN}-${PV}"
+FONT_S="${S}/fonts"
+
+FONT_SUFFIX=""
+src_configure() {
+ use otf && FONT_SUFFIX+="otf "
+ use ttf && FONT_SUFFIX+="ttf "
+}
diff --git a/media-fonts/fontawesome/metadata.xml b/media-fonts/fontawesome/metadata.xml
new file mode 100644
index 000000000000..9649fc4d5942
--- /dev/null
+++ b/media-fonts/fontawesome/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hilobakho@gmail.com</email>
+ <name>Mykyta Holubakha</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Gentoo Proxy Maintainers Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">FortAwesome/Font-Awesome</remote-id>
+ </upstream>
+ <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>