/[gentoo-x86]/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r1.ebuild
Gentoo

Contents of /media-fonts/liberation-fonts/liberation-fonts-2.00.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Apr 8 18:15:03 2015 UTC (4 years, 10 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r1.ebuild,v 1.4 2015/03/07 11:47:45 yngwin Exp $
4
5 EAPI=4
6
7 PYTHON_COMPAT=( python2_7 )
8
9 inherit font python-any-r1
10
11 DESCRIPTION="A Helvetica/Times/Courier replacement TrueType font set, courtesy of Red Hat"
12 HOMEPAGE="https://fedorahosted.org/liberation-fonts"
13 SRC_URI="!fontforge? ( https://fedorahosted.org/releases/l/i/${PN}/${PN}-ttf-${PV}.tar.gz )
14 fontforge? ( https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.gz )"
15
16 KEYWORDS="amd64 arm ~arm64 ia64 ppc x86 ~amd64-linux ~x86-linux ~x64-solaris"
17 SLOT="0"
18 LICENSE="OFL-1.1"
19 IUSE="fontforge X"
20
21 FONT_SUFFIX="ttf"
22
23 FONT_CONF=( "${FILESDIR}/60-liberation.conf" )
24
25 DEPEND="fontforge? (
26 ${PYTHON_DEPS}
27 media-gfx/fontforge
28 dev-python/fonttools
29 )"
30 RDEPEND=""
31
32 pkg_setup() {
33 if use fontforge; then
34 FONT_S="${S}/${PN}-ttf-${PV}"
35 python-any-r1_pkg_setup
36 else
37 FONT_S="${WORKDIR}/${PN}-ttf-${PV}"
38 S="${FONT_S}"
39 fi
40 font_pkg_setup
41 }

  ViewVC Help
Powered by ViewVC 1.1.20