diff options
Diffstat (limited to 'media-fonts/liberation-fonts/liberation-fonts-1.07.0.ebuild')
-rw-r--r-- | media-fonts/liberation-fonts/liberation-fonts-1.07.0.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/media-fonts/liberation-fonts/liberation-fonts-1.07.0.ebuild b/media-fonts/liberation-fonts/liberation-fonts-1.07.0.ebuild new file mode 100644 index 000000000000..8ff77d7efe6b --- /dev/null +++ b/media-fonts/liberation-fonts/liberation-fonts-1.07.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $ + +EAPI=3 + +inherit font + +DESCRIPTION="A GPL-2 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="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +SLOT="0" +LICENSE="GPL-2-with-exceptions" +IUSE="fontforge X" + +FONT_SUFFIX="ttf" + +FONT_CONF=( "${FILESDIR}/60-liberation.conf" ) + +DEPEND="fontforge? ( media-gfx/fontforge )" +RDEPEND="" + +if use fontforge; then + FONT_S="${S}/${PN}-ttf-${PV%.*}.$(date +%Y%m%d)" +else + FONT_S="${WORKDIR}/${PN}-ttf-${PV}" + S=${FONT_S} +fi |