# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games python DESCRIPTION="GTK frontend for the FCE Ultra NES emulator" HOMEPAGE="http://fceux.com/" SRC_URI="mirror://sourceforge/fceultra/${P}.src.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="games-emulation/fceultra >=dev-python/pygtk-2.6 dev-python/gnome-python" src_unpack() { unpack ${A} mv gfceux ${P} } src_install() { dogamesbin ${PN} || die "dogamesbin failed" insinto "${GAMES_DATADIR}"/${PN} doins ${PN}.glade *.png || die "doins failed" dodoc ChangeLog TODO doman ${PN}.1 doicon ${PN}.png make_desktop_entry ${PN} "GFCE UltraX" ${PN} prepgamesdirs }