blob: 7eb2a7af0d67760fb1e944c0cc0a611c40e50279 (
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
33
34
35
36
37
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/liberation-fonts/liberation-fonts-2.00.1.ebuild,v 1.5 2014/01/18 12:18:40 vapier Exp $
EAPI=4
inherit font
DESCRIPTION="A Helvetica/Times/Courier replacement TrueType font set, courtesy of Red Hat"
HOMEPAGE="https://fedorahosted.org/liberation-fonts"
SRC_URI="!fontforge? ( https://fedorahosted.org/releases/l/i/${PN}/${PN}-ttf-${PV}.tar.gz )
fontforge? ( https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.gz )"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
SLOT="0"
LICENSE="OFL-1.1"
IUSE="fontforge X"
FONT_SUFFIX="ttf"
FONT_CONF=( "${FILESDIR}/60-liberation.conf" )
DEPEND="fontforge? (
media-gfx/fontforge
dev-python/fonttools
)"
RDEPEND=""
pkg_setup() {
if use fontforge; then
FONT_S="${S}/${PN}-ttf-${PV}"
else
FONT_S="${WORKDIR}/${PN}-ttf-${PV}"
S="${FONT_S}"
fi
font_pkg_setup
}
|