summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-09-29 05:16:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-09-29 05:16:35 +0000
commita3299dc0e04a0c7c00505c63d4c0ff70498219cb (patch)
treec9bc1a476d7c9d0d9b97c0433133a0155343e57b /games-emulation/gfceux
parentupstream recommends opengl and lua (diff)
downloadhistorical-a3299dc0e04a0c7c00505c63d4c0ff70498219cb.tar.gz
historical-a3299dc0e04a0c7c00505c63d4c0ff70498219cb.tar.bz2
historical-a3299dc0e04a0c7c00505c63d4c0ff70498219cb.zip
initial commit
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-emulation/gfceux')
-rw-r--r--games-emulation/gfceux/ChangeLog10
-rw-r--r--games-emulation/gfceux/Manifest5
-rw-r--r--games-emulation/gfceux/files/gfceux-2.1.1-gentoo.patch18
-rw-r--r--games-emulation/gfceux/gfceux-2.1.1.ebuild43
-rw-r--r--games-emulation/gfceux/metadata.xml5
5 files changed, 81 insertions, 0 deletions
diff --git a/games-emulation/gfceux/ChangeLog b/games-emulation/gfceux/ChangeLog
new file mode 100644
index 000000000000..826029c56dc3
--- /dev/null
+++ b/games-emulation/gfceux/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-emulation/gfceux
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gfceux/ChangeLog,v 1.1 2009/09/29 05:16:34 mr_bones_ Exp $
+
+*gfceux-2.1.1 (29 Sep 2009)
+
+ 29 Sep 2009; Michael Sterrett <mr_bones_@gentoo.org> +gfceux-2.1.1.ebuild,
+ +files/gfceux-2.1.1-gentoo.patch, +metadata.xml:
+ intial commit
+
diff --git a/games-emulation/gfceux/Manifest b/games-emulation/gfceux/Manifest
new file mode 100644
index 000000000000..fa57b731cc93
--- /dev/null
+++ b/games-emulation/gfceux/Manifest
@@ -0,0 +1,5 @@
+AUX gfceux-2.1.1-gentoo.patch 943 RMD160 3b588bff0b6963f32e06ca129973ca5eb56e9b99 SHA1 c9b45cdb1421ed4023c31654510377de3c11113e SHA256 c6453141be45f632177681794689ca806c113f77fc634a56c021bd352540b5f0
+DIST fceux-2.1.1.src.tar.bz2 3263945 RMD160 c975e61876af2b1391768f322b962b5c3162f4f8 SHA1 1846544b6cd67749708cc10cce86784b3107166a SHA256 5f668de5870e28e4b52fcf8816c17831c0f9597307bd643c226a616a1766bdab
+EBUILD gfceux-2.1.1.ebuild 888 RMD160 9160d477f52226a4643840e087c0ddd522269a62 SHA1 f6f3b11e69ec237ce339552d36b667255733e63e SHA256 54159c417dad3579038b67959c98e2c39d13c90c362e8250b986ada6422f2a47
+MISC ChangeLog 394 RMD160 a744697f092a05d77a568c110dc679b344dfbae0 SHA1 5ccd9f9cd7aa230dfa138767ac7719b166eac4a4 SHA256 066ff546dff894cf9fca0ba11b0b444a468771b05c5642edd3a22cb56262f9f6
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-emulation/gfceux/files/gfceux-2.1.1-gentoo.patch b/games-emulation/gfceux/files/gfceux-2.1.1-gentoo.patch
new file mode 100644
index 000000000000..b8eee53a4b88
--- /dev/null
+++ b/games-emulation/gfceux/files/gfceux-2.1.1-gentoo.patch
@@ -0,0 +1,18 @@
+diff -ru gfceux.orig/src/main.py gfceux/src/main.py
+--- gfceux.orig/src/main.py 2009-04-29 01:09:52.000000000 -0400
++++ gfceux/src/main.py 2009-09-29 00:38:53.152619918 -0400
+@@ -279,12 +279,8 @@
+ def load_ui(self):
+ global widgets
+ """ Search for the glade XML file and load it """
+- # Check first in the directory of this script.
+- if os.path.isfile('data/gfceux.glade'):
+- glade_file = 'data/gfceux.glade'
+- # Then check to see if its installed on a *nix system
+- elif os.path.isfile(os.path.join(os.path.dirname(sys.argv[0]), '../share/gfceux/gfceux.glade')):
+- glade_file = os.path.join(os.path.dirname(sys.argv[0]), '../share/gfceux/gfceux.glade')
++ if os.path.isfile('/usr/share/gfceux/gfceux.glade'):
++ glade_file = '/usr/share/gfceux/gfceux.glade'
+ else:
+ print 'ERROR.'
+ print 'Could not find the glade UI file.'
diff --git a/games-emulation/gfceux/gfceux-2.1.1.ebuild b/games-emulation/gfceux/gfceux-2.1.1.ebuild
new file mode 100644
index 000000000000..92eda8baf23e
--- /dev/null
+++ b/games-emulation/gfceux/gfceux-2.1.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 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.1 2009/09/29 05:16:34 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils 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-lang/python-2.5
+ dev-python/pygtk"
+RDEPEND="${DEPEND}
+ games-emulation/fceux"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ distutils_src_prepare
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ python_version
+ distutils_src_compile
+}
+
+src_install() {
+ distutils_src_install \
+ --install-scripts="${GAMES_BINDIR}"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ distutils_pkg_postinst
+}
diff --git a/games-emulation/gfceux/metadata.xml b/games-emulation/gfceux/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-emulation/gfceux/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>