diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2016-02-13 23:43:12 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-02-13 23:43:36 +0000 |
commit | f4fa70d1f02127b5e2a4921633a89f5768e0bb53 (patch) | |
tree | 3bbcea33557925a5b23566bb282d4016342d16c1 /media-fonts | |
parent | sys-apps/fix-gnustack: Initial commit. Utility to remove executable GNU_STACK. (diff) | |
download | gentoo-f4fa70d1f02127b5e2a4921633a89f5768e0bb53.tar.gz gentoo-f4fa70d1f02127b5e2a4921633a89f5768e0bb53.tar.bz2 gentoo-f4fa70d1f02127b5e2a4921633a89f5768e0bb53.zip |
media-fonts/liberation-fonts: EAPI 5 bump.
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/liberation-fonts/liberation-fonts-2.00.1-r2.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r2.ebuild b/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r2.ebuild new file mode 100644 index 000000000000..df4df5ef9ce1 --- /dev/null +++ b/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit font python-any-r1 + +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? ( + ${PYTHON_DEPS} + media-gfx/fontforge + dev-python/fonttools + )" +RDEPEND="" + +pkg_setup() { + if use fontforge; then + FONT_S="${S}/${PN}-ttf-${PV}" + python-any-r1_pkg_setup + else + FONT_S="${WORKDIR}/${PN}-ttf-${PV}" + S="${FONT_S}" + fi + font_pkg_setup +} |