summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-03 06:48:40 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-03 06:48:40 +0000
commit60044ead6ed44beacc907892e079059e7e1c711a (patch)
tree9bec73d6ad01228d6bafdd72643a8ee19e321799 /games-emulation/snes9x
parentMarked ~ppc for bug #72943. (diff)
downloadhistorical-60044ead6ed44beacc907892e079059e7e1c711a.tar.gz
historical-60044ead6ed44beacc907892e079059e7e1c711a.tar.bz2
historical-60044ead6ed44beacc907892e079059e7e1c711a.zip
Version bump.
Diffstat (limited to 'games-emulation/snes9x')
-rw-r--r--games-emulation/snes9x/ChangeLog9
-rw-r--r--games-emulation/snes9x/Manifest16
-rw-r--r--games-emulation/snes9x/files/digest-snes9x-1.431
-rw-r--r--games-emulation/snes9x/snes9x-1.42-r1.ebuild4
-rw-r--r--games-emulation/snes9x/snes9x-1.43.ebuild78
5 files changed, 102 insertions, 6 deletions
diff --git a/games-emulation/snes9x/ChangeLog b/games-emulation/snes9x/ChangeLog
index aaa5858901b7..502794934d14 100644
--- a/games-emulation/snes9x/ChangeLog
+++ b/games-emulation/snes9x/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-emulation/snes9x
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/ChangeLog,v 1.13 2004/11/11 01:31:42 josejx Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/ChangeLog,v 1.14 2005/01/03 06:48:40 vapier Exp $
+
+*snes9x-1.43 (03 Jan 2005)
+
+ 03 Jan 2005; Mike Frysinger <vapier@gentoo.org> +snes9x-1.43.ebuild:
+ Version bump.
11 Nov 2004; Joseph Jezak <josejx@gentoo.org> snes9x-1.42-r1.ebuild:
Marked ppc stable.
diff --git a/games-emulation/snes9x/Manifest b/games-emulation/snes9x/Manifest
index 91c3f817771a..1bf478e40499 100644
--- a/games-emulation/snes9x/Manifest
+++ b/games-emulation/snes9x/Manifest
@@ -1,6 +1,10 @@
-MD5 95808fd36c099764de36ef1d340f7de4 ChangeLog 3010
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 9a242c89aa336848e0d753e2f0250b0f ChangeLog 3126
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 f1a0a9403395266c75f1bc5f5663cfbd snes9x-1.42-r1.ebuild 1813
+MD5 dc1f88d3e7d7906882e125acd1196549 snes9x-1.43.ebuild 1922
+MD5 c30d64cc29b742b593f6e92a69c1a4a7 snes9x-1.42-r1.ebuild 1813
MD5 82847f439abd1f8ae87876515e60ccdf files/1.41.1-system-zlib.patch 2004
MD5 82847f439abd1f8ae87876515e60ccdf files/1.42-system-zlib.patch 2004
MD5 29f4c8bf43e00e929c25d85ec4a06b70 files/digest-snes9x-1.42-r1 67
@@ -8,3 +12,11 @@ MD5 12216340a66b7cfccf1891ca058d9335 files/nojoy.patch 507
MD5 95a147283e0b09db8ad3307bb3e5b305 files/snes9x-139-r1-BE-sound-fix.diff 550
MD5 5b7c3589393da0616b766b78c69aa16e files/snes9x-139-r1-Makefile-ppc.diff 779
MD5 60e338baf6468da1d0c1fece4884553c files/snes9x-gcc3.diff 979
+MD5 dbd6370fa28b91acc3b14b5534f87866 files/digest-snes9x-1.43 68
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFB2OrYroRuSHgZdywRAmVwAKCFtujCebP4D+ZABis1BPFkLj41xQCfQwAh
+EX+AzW4pjGSmKU8iPFKSg40=
+=UZOI
+-----END PGP SIGNATURE-----
diff --git a/games-emulation/snes9x/files/digest-snes9x-1.43 b/games-emulation/snes9x/files/digest-snes9x-1.43
new file mode 100644
index 000000000000..b8b43bedd773
--- /dev/null
+++ b/games-emulation/snes9x/files/digest-snes9x-1.43
@@ -0,0 +1 @@
+MD5 2b86716203b6ce1dbfe0395c66bb46b5 snes9x-1.43-src.tar.gz 1016251
diff --git a/games-emulation/snes9x/snes9x-1.42-r1.ebuild b/games-emulation/snes9x/snes9x-1.42-r1.ebuild
index fcb42d6350cb..e45f1b532f0a 100644
--- a/games-emulation/snes9x/snes9x-1.42-r1.ebuild
+++ b/games-emulation/snes9x/snes9x-1.42-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.42-r1.ebuild,v 1.6 2004/11/11 01:31:42 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.42-r1.ebuild,v 1.7 2005/01/03 06:48:40 vapier Exp $
inherit eutils games
diff --git a/games-emulation/snes9x/snes9x-1.43.ebuild b/games-emulation/snes9x/snes9x-1.43.ebuild
new file mode 100644
index 000000000000..afa8064708b4
--- /dev/null
+++ b/games-emulation/snes9x/snes9x-1.43.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.43.ebuild,v 1.1 2005/01/03 06:48:40 vapier Exp $
+
+inherit eutils games
+
+DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator"
+HOMEPAGE="http://www.snes9x.com/"
+SRC_URI="http://www.lysator.liu.se/snes9x/${PV}/snes9x-${PV}-src.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="3dfx opengl X joystick zlib"
+
+RDEPEND="zlib? ( sys-libs/zlib )
+ virtual/x11
+ media-libs/libpng
+ opengl? ( virtual/opengl )
+ 3dfx? ( media-libs/glide-v3 )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ x86? ( dev-lang/nasm )"
+
+S="${WORKDIR}/${P}-src"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"/snes9x
+ epatch "${FILESDIR}"/nojoy.patch
+ sed -i 's:png_jmpbuf:png_write_info:g' configure
+ sed -i 's:@OPTIMIZE@:@CFLAGS@:' Makefile.in
+}
+
+src_compile() {
+ local vidconf=
+ local target=
+ local vid=
+
+ mkdir mybins
+ for vid in 3dfx opengl X ; do
+ use ${vid} || continue
+ cd "${S}"/snes9x
+ case ${vid} in
+ 3dfx)
+ vidconf="--with-glide --without-opengl --without-x"
+ target=gsnes9x;;
+ opengl)
+ vidconf="--with-opengl --without-glide --without-x"
+ target=osnes9x;;
+ X)
+ vidconf="--with-x --without-glide --without-opengl"
+ target=snes9x;;
+ esac
+ # this stuff is ugly but hey the build process sucks ;)
+ egamesconf \
+ ${vidconf} \
+ $(use_with x86 assembler) \
+ $(use_with joystick) \
+ $(use_with debug debugger) \
+ $(use_with zlib) \
+ --with-screenshot \
+ || die
+ # Makefile doesnt quite support parallel builds
+ emake -j1 offsets || die "making offsets"
+ emake ${target} || die "making ${target}"
+ mv ${target} "${S}"/mybins/
+ cd "${WORKDIR}"
+ rm -r "${S}"/snes9x
+ src_unpack
+ done
+}
+
+src_install() {
+ dogamesbin mybins/* || die "dogamesbin failed"
+ dodoc faqs.txt readme.txt readme.unix snes9x/*.txt
+ prepgamesdirs
+}