Version bump.
authorMike Frysinger <vapier@gentoo.org>
Mon, 3 Jan 2005 06:48:40 +0000 (06:48 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 3 Jan 2005 06:48:40 +0000 (06:48 +0000)
games-emulation/snes9x/ChangeLog
games-emulation/snes9x/Manifest
games-emulation/snes9x/files/digest-snes9x-1.43 [new file with mode: 0644]
games-emulation/snes9x/snes9x-1.42-r1.ebuild
games-emulation/snes9x/snes9x-1.43.ebuild [new file with mode: 0644]

index aaa5858901b70715855b7966019dc2198a14658a..502794934d144a4b823d5d61b9d03a9efc9ff99c 100644 (file)
@@ -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.
index 91c3f817771ae1e143bd4418e77cc3ba6df731c8..1bf478e40499f4e58c7122203dcd4e2492b46780 100644 (file)
@@ -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 (file)
index 0000000..b8b43be
--- /dev/null
@@ -0,0 +1 @@
+MD5 2b86716203b6ce1dbfe0395c66bb46b5 snes9x-1.43-src.tar.gz 1016251
index fcb42d6350cb8ac9506754731035d7da63ee2ecc..e45f1b532f0a016cbac9c3811f669135742436b6 100644 (file)
@@ -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 (file)
index 0000000..afa8064
--- /dev/null
@@ -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
+}