summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-09-10 22:00:55 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-09-10 22:00:55 +0000
commit5ab995221a7236c087a192be80814d5c1279a516 (patch)
tree9ba79942e8cd9be2561b55f288d84b951b59ebc9 /games-emulation/gens
parentUpdate DESCRIPTION and HGPV_URI. (diff)
downloadgentoo-2-5ab995221a7236c087a192be80814d5c1279a516.tar.gz
gentoo-2-5ab995221a7236c087a192be80814d5c1279a516.tar.bz2
gentoo-2-5ab995221a7236c087a192be80814d5c1279a516.zip
version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-emulation/gens')
-rw-r--r--games-emulation/gens/ChangeLog10
-rw-r--r--games-emulation/gens/files/gens-2.15.4-romsdir.patch13
-rw-r--r--games-emulation/gens/gens-2.15.4.ebuild33
3 files changed, 54 insertions, 2 deletions
diff --git a/games-emulation/gens/ChangeLog b/games-emulation/gens/ChangeLog
index 74a01a5e05df..5c2893992bed 100644
--- a/games-emulation/gens/ChangeLog
+++ b/games-emulation/gens/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/gens
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/ChangeLog,v 1.16 2007/11/29 03:36:27 mr_bones_ Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/ChangeLog,v 1.17 2008/09/10 22:00:55 mr_bones_ Exp $
+
+*gens-2.15.4 (10 Sep 2008)
+
+ 10 Sep 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/gens-2.15.4-romsdir.patch, +gens-2.15.4.ebuild:
+ version bump
29 Nov 2007; Michael Sterrett <mr_bones_@gentoo.org>
+files/gens-2.12b-romsdir.patch, gens-2.12b.ebuild:
diff --git a/games-emulation/gens/files/gens-2.15.4-romsdir.patch b/games-emulation/gens/files/gens-2.15.4-romsdir.patch
new file mode 100644
index 000000000000..606efe2dd6f9
--- /dev/null
+++ b/games-emulation/gens/files/gens-2.15.4-romsdir.patch
@@ -0,0 +1,13 @@
+diff -ruN gens-rc3.5-opengl/src/gens/util/rom.c gens-rc3.5-opengl-patched/src/gens/util/rom.c
+--- src/gens/util/file/rom.c 2005-01-10 22:24:01.000000000 +0100
++++ src/gens/util/file/rom.c 2006-10-29 14:58:14.000000000 +0100
+@@ -411,6 +411,9 @@
+ create_file_chooser_dialog ("Open Rom", GTK_FILE_CHOOSER_ACTION_OPEN);
+ // fileselection_set_dir (fd.filesel, Rom_Dir);
+ addRomsFilter (widget);
++
++ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (widget), Rom_Dir);
++
+ res = gtk_dialog_run (GTK_DIALOG (widget));
+ if (res == GTK_RESPONSE_OK)
+ {
diff --git a/games-emulation/gens/gens-2.15.4.ebuild b/games-emulation/gens/gens-2.15.4.ebuild
new file mode 100644
index 000000000000..dc7b40f257ee
--- /dev/null
+++ b/games-emulation/gens/gens-2.15.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/gens-2.15.4.ebuild,v 1.1 2008/09/10 22:00:55 mr_bones_ Exp $
+
+inherit eutils flag-o-matic games
+
+DESCRIPTION="A Sega Genesis/CD/32X emulator"
+HOMEPAGE="http://gens.consolemul.com/"
+SRC_URI="mirror://sourceforge/gens/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="virtual/opengl
+ >=media-libs/libsdl-1.2
+ >=x11-libs/gtk+-2.4"
+DEPEND="${RDEPEND}
+ >=dev-lang/nasm-0.98"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-romsdir.patch
+ append-ldflags -Wl,-z,noexecstack
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS BUGS README
+ prepgamesdirs
+}