--- hsetroot-1.0.2.ebuild.old 2008-12-07 00:24:40.000000000 +0100 +++ hsetroot-1.0.2.ebuild.old 2008-12-07 00:26:50.000000000 +0100 @@ -2,6 +2,10 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/hsetroot/hsetroot-1.0.2.ebuild,v 1.8 2007/01/16 20:48:26 vapier Exp $ +EAPI="2" + +inherit autotools eutils + DESCRIPTION="Tool which allows you to compose wallpapers ('root pixmaps') for X" HOMEPAGE="http://thegraveyard.org/hsetroot.php" SRC_URI="http://thegraveyard.org/files/${P}.tar.gz" @@ -13,12 +17,20 @@ IUSE="" RDEPEND="x11-libs/libX11 x11-libs/libXext - >=media-libs/imlib2-1.0.6.2003" + >=media-libs/imlib2-1.0.6.2003[X]" DEPEND="${RDEPEND} x11-proto/xproto x11-libs/libX11 x11-libs/libXt" +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/fixed-dependencies.patch + eautoreconf +} + src_install() { emake install DESTDIR="${D}" || die dodoc AUTHORS ChangeLog NEWS README