# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-emulation/grustibus/grustibus-0.43-r4.ebuild,v 1.8 2005/06/15 18:34:10 wolf31o2 Exp $ inherit eutils DESCRIPTION="A GNOME-based front-end for the M.A.M.E. video game emulator" HOMEPAGE="http://grustibus.sourceforge.net" SRC_URI="mirror://sourceforge/grustibus/${P}.tar.gz" KEYWORDS="x86" LICENSE="GPL-2" SLOT="0" IUSE="nls" DEPEND=">=games-emulation/xmame-0.80.1 >=media-libs/gdk-pixbuf-0.17.0 >=gnome-base/gnome-libs-1.4.1.2" src_unpack() { unpack ${A} cd ${S} epatch "${FILESDIR}/${PV}-crash.patch" epatch "${FILESDIR}/${PV}-filename.patch" # bug #57004 } src_compile() { export CPPFLAGS=$(gdk-pixbuf-config --cflags) econf $(use_enable nls) || die emake || die "emake failed" } src_install() { einstall || die dodoc README ChangeLog TODO NEWS }