blob: 1ebf3279a64c28abb5508039b303af9e73fd41df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/gfceu/gfceu-0.6.0.ebuild,v 1.2 2008/01/15 09:27:00 nyhm Exp $
inherit eutils games
DESCRIPTION="GTK frontend for the FCE Ultra NES emulator"
HOMEPAGE="http://dietschnitzel.com/gfceu/"
SRC_URI="http://dietschnitzel.com/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="games-emulation/fceultra
>=dev-python/pygtk-2.6
dev-python/gnome-python"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gentoo.patch
sed -i \
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
gfceu || die "sed on gfceu failed"
}
src_install() {
dogamesbin ${PN} || die "dogamesbin failed"
insinto "${GAMES_DATADIR}"/${PN}
doins ${PN}.glade || die "doins failed"
dodoc ChangeLog TODO
doman ${PN}.1
doicon ${PN}.png
make_desktop_entry ${PN} "GFCE Ultra" ${PN}.png
prepgamesdirs
}
|