blob: d43429db8adb09eec45a609ddf8a688ca24748b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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 "
}
|