From a03bcc995f9c9a437fb48b42dd2e081dfa66dfe0 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Fri, 29 Oct 2010 11:32:04 +0000 Subject: drop ugly has_version and epatch combo (Portage version: 2.2.0_alpha1/cvs/Linux x86_64) --- media-gfx/fontforge/fontforge-20090923.ebuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/media-gfx/fontforge/fontforge-20090923.ebuild b/media-gfx/fontforge/fontforge-20090923.ebuild index 4ec55bbcee20..d981932a761b 100644 --- a/media-gfx/fontforge/fontforge-20090923.ebuild +++ b/media-gfx/fontforge/fontforge-20090923.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20090923.ebuild,v 1.11 2010/07/03 21:46:36 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20090923.ebuild,v 1.12 2010/10/29 11:32:04 ssuominen Exp $ # Some notes for maintainers this package: # 1. README-unix: freetype headers are required to make use of truetype debugger @@ -32,7 +32,7 @@ IUSE="cjk cairo doc gif debug jpeg nls pasteafter png +python tiff tilepath true RDEPEND="gif? ( >=media-libs/giflib-4.1.0-r1 ) jpeg? ( >=media-libs/jpeg-6b-r2 ) - png? ( >=media-libs/libpng-1.2.4 ) + png? ( >=media-libs/libpng-1.4 ) python? ( dev-lang/python ) tiff? ( >=media-libs/tiff-3.5.7-r1 ) truetype? ( >=media-libs/freetype-2.1.4 ) @@ -60,10 +60,7 @@ src_unpack() { src_prepare() { epatch "${FILESDIR}"/fontforge-desktop.patch epatch "${FILESDIR}"/${P}-configure.patch - - # info_ptr->trans_alpha might be no-go with libpng12 - has_version ">=media-libs/libpng-1.4" && epatch \ - "${FILESDIR}"/${P}-libpng14.patch + epatch "${FILESDIR}"/${P}-libpng14.patch eautoconf if use doc; then -- cgit v1.2.3-65-gdbad