--- xsvg-0.2.1.ebuild +++ xsvg-0.2.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/xsvg/xsvg-0.2.1.ebuild,v 1.13 2009/08/16 10:05:58 maekke Exp $ -EAPI=2 +EAPI=4 inherit autotools eutils @@ -17,17 +17,14 @@ RDEPEND=" x11-libs/cairo[X] - x11-libs/libsvg-cairo" + x11-libs/libsvg-cairo + x11-libs/libX11 + x11-libs/libXrender" DEPEND="${RDEPEND} - x11-libs/libXt - x11-libs/libXcursor" + x11-libs/libXcursor + x11-proto/xproto" src_prepare() { - epatch "${FILESDIR}"/${P}-asneeded.patch + epatch "${FILESDIR}"/${P}-build.patch eautoreconf } - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - dodoc AUTHORS ChangeLog NEWS README -}