# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.2.6.ebuild,v 1.11 2011/07/09 09:37:26 xarthisius Exp $ EAPI=4 inherit autotools flag-o-matic eutils multilib IUSE="cups foomaticdb gimp gtk readline ppds" DESCRIPTION="Ghostscript and cups printer drivers" HOMEPAGE="http://gutenprint.sourceforge.net" KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86" SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2" RESTRICT="test" RDEPEND="cups? ( >=net-print/cups-1.1.14 ) app-text/ghostscript-gpl sys-libs/readline gtk? ( x11-libs/gtk+:2 ) gimp? ( >=media-gfx/gimp-2.2 x11-libs/gtk+:2 ) dev-lang/perl foomaticdb? ( net-print/foomatic-db-engine )" DEPEND="${RDEPEND} gtk? ( dev-util/pkgconfig )" LICENSE="GPL-2" SLOT="0" src_prepare() { epatch "${FILESDIR}/${PN}-5.2.4-CFLAGS.patch" # IJS Patch sed -i -e "s: