blob: 9db75573d1750895f6ae01d3cec1ac779b0c5c41 (
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
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/gfceux/gfceux-2.1.1.ebuild,v 1.4 2011/04/06 20:02:40 arfrever Exp $
EAPI=3
PYTHON_DEPEND="2:2.5"
inherit eutils python distutils games
DESCRIPTION="A graphical frontend for the FCEUX emulator"
HOMEPAGE="http://fceux.com"
SRC_URI="mirror://sourceforge/fceultra/fceux-${PV}.src.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="dev-python/pygtk"
RDEPEND="${DEPEND}
games-emulation/fceux"
S=${WORKDIR}/${PN}
pkg_setup() {
python_set_active_version 2
games_pkg_setup
}
src_prepare() {
python_convert_shebangs -r 2 .
distutils_src_prepare
epatch "${FILESDIR}"/${P}-gentoo.patch
}
src_compile() {
distutils_src_compile
}
src_install() {
distutils_src_install \
--install-scripts="${GAMES_BINDIR}"
prepgamesdirs
}
pkg_postinst() {
games_pkg_postinst
distutils_pkg_postinst
}
|