summaryrefslogtreecommitdiff
path: root/games-emulation/mednafen
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:24:26 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:24:26 +0200
commit7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch)
tree1684924656132935256e034f35f92abee6623265 /games-emulation/mednafen
Added ebuilds for kogaion desktop
Diffstat (limited to 'games-emulation/mednafen')
-rw-r--r--games-emulation/mednafen/ChangeLog190
-rw-r--r--games-emulation/mednafen/Manifest24
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.21-zlib.patch27
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.28-automake-1.13.patch11
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.28-cflags.patch35
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.28-zlib.patch30
-rw-r--r--games-emulation/mednafen/mednafen-0.9.21.ebuild63
-rw-r--r--games-emulation/mednafen/mednafen-0.9.28.ebuild59
-rw-r--r--games-emulation/mednafen/mednafen/ChangeLog190
-rw-r--r--games-emulation/mednafen/mednafen/Manifest24
-rw-r--r--games-emulation/mednafen/mednafen/files/mednafen-0.9.21-zlib.patch27
-rw-r--r--games-emulation/mednafen/mednafen/files/mednafen-0.9.28-automake-1.13.patch11
-rw-r--r--games-emulation/mednafen/mednafen/files/mednafen-0.9.28-cflags.patch35
-rw-r--r--games-emulation/mednafen/mednafen/files/mednafen-0.9.28-zlib.patch30
-rw-r--r--games-emulation/mednafen/mednafen/mednafen/ChangeLog190
-rw-r--r--games-emulation/mednafen/metadata.xml8
16 files changed, 954 insertions, 0 deletions
diff --git a/games-emulation/mednafen/ChangeLog b/games-emulation/mednafen/ChangeLog
new file mode 100644
index 00000000..7df2a391
--- /dev/null
+++ b/games-emulation/mednafen/ChangeLog
@@ -0,0 +1,190 @@
+# ChangeLog for games-emulation/mednafen
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.44 2013/04/27 14:16:20 hasufell Exp $
+
+ 27 Apr 2013; Julian Ospald <hasufell@gentoo.org> mednafen-0.9.28.ebuild,
+ +files/mednafen-0.9.28-automake-1.13.patch:
+ fix automake-1.13 build wrt #467498
+
+ 14 Feb 2013; Michael Sterrett <mr_bones_@gentoo.org> mednafen-0.9.28.ebuild:
+ add opengl to libsdl use deps (bug #457606)
+
+*mednafen-0.9.28 (26 Jan 2013)
+
+ 26 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/mednafen-0.9.28-cflags.patch, +files/mednafen-0.9.28-zlib.patch,
+ +mednafen-0.9.28.ebuild, metadata.xml:
+ version bump
+
+ 13 Jun 2012; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/mednafen-0.8.13.3-zlib-1.2.6.patch,
+ -files/mednafen-0.8.13.3-zlib.patch, -mednafen-0.8.13.3-r1.ebuild,
+ -mednafen-0.8.13.3.ebuild:
+ old
+
+ 22 May 2012; Jeff Horelick <jdhore@gentoo.org> mednafen-0.9.21.ebuild:
+ marked x86 per bug 413831
+
+ 20 May 2012; Agostino Sarubbo <ago@gentoo.org> mednafen-0.9.21.ebuild:
+ Stable for amd64, wrt bug #413831
+
+ 19 May 2012; Samuli Suominen <ssuominen@gentoo.org> mednafen-0.8.13.3.ebuild:
+ Revert to ~ppc wrt #413831 pending on user request for stabilization
+
+*mednafen-0.9.21 (06 May 2012)
+
+ 06 May 2012; Tupone Alfredo <tupone@gentoo.org> +mednafen-0.9.21.ebuild,
+ +files/mednafen-0.9.21-zlib.patch:
+ Version bump to 0.9.21 Bug #414597 by Tatsh
+
+ 04 May 2012; Jeff Horelick <jdhore@gentoo.org> mednafen-0.8.13.3.ebuild,
+ mednafen-0.8.13.3-r1.ebuild:
+ dev-util/pkgconfig -> virtual/pkgconfig
+
+ 18 Feb 2012; Tim Harder <radhermit@gentoo.org> mednafen-0.8.13.3-r1.ebuild,
+ +files/mednafen-0.8.13.3-zlib-1.2.6.patch:
+ Fix build with zlib-1.2.6 (bug #403483).
+
+*mednafen-0.8.13.3-r1 (14 Dec 2011)
+
+ 14 Dec 2011; Tupone Alfredo <tupone@gentoo.org> +mednafen-0.8.13.3-r1.ebuild,
+ +files/mednafen-0.8.13.3-zlib.patch:
+ Build with latest zlib. Bug #387821 by Diego Elio Pettenò
+
+ 15 Jan 2011; Markus Meier <maekke@gentoo.org> mednafen-0.8.13.3.ebuild:
+ x86 stable, bug #351332
+
+ 12 Jan 2011; Markos Chandras <hwoarang@gentoo.org> mednafen-0.8.13.3.ebuild:
+ Stable on amd64 wrt bug #351332
+
+ 11 Jan 2011; Brent Baude <ranger@gentoo.org> mednafen-0.8.13.3.ebuild:
+ Marking mednafen-0.8.13.3 ppc for bug 351332
+
+ 10 Dec 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ mednafen-0.8.13.3.ebuild:
+ needs libsdl[joystick] (bug #348364)
+
+*mednafen-0.8.13.3 (06 Dec 2010)
+
+ 06 Dec 2010; Hanno Boeck <hanno@gentoo.org> +mednafen-0.8.13.3.ebuild:
+ Version bump, gcc patch got merged upstream.
+
+ 25 Sep 2010; Markus Meier <maekke@gentoo.org> mednafen-0.8.13.ebuild:
+ x86 stable, bug #337536
+
+ 21 Sep 2010; Markos Chandras <hwoarang@gentoo.org> mednafen-0.8.13.ebuild:
+ Stable on amd64 wrt bug #337536
+
+ 12 Aug 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ mednafen-0.8.13.ebuild:
+ use deps for libsdl; add zlib dep; only pass c++ flags to g++
+
+ 04 Jul 2010; Hanno Boeck <hanno@gentoo.org> mednafen-0.8.13.ebuild,
+ +files/mednafen-0.8.13-gcc45.patch:
+ Re-add gcc 4.5 patch.
+
+*mednafen-0.8.13 (02 Jul 2010)
+
+ 02 Jul 2010; Tupone Alfredo <tupone@gentoo.org> +mednafen-0.8.13.ebuild:
+ Version bump to 0.8.13 Bug #326141 by Sergey Kondakov
+
+ 24 May 2010; Tupone Alfredo <tupone@gentoo.org> mednafen-0.8.12.ebuild,
+ +files/mednafen-0.8.12-gcc45.patch:
+ Build with gcc-4.5 Bug #321009 by flameeyes@gentoo.org
+
+ 23 May 2010; Pacho Ramos <pacho@gentoo.org> mednafen-0.8.12.ebuild:
+ stable amd64, bug 312535
+
+ 21 Nov 2009; Markus Meier <maekke@gentoo.org> mednafen-0.8.12.ebuild:
+ x86 stable, bug #288950
+
+*mednafen-0.8.12 (12 Jul 2009)
+
+ 12 Jul 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.12.ebuild:
+ version bump
+
+ 17 Jun 2009; Tristan Heaven <nyhm@gentoo.org> mednafen-0.8.11.ebuild,
+ +files/mednafen-0.8.11-glibc2.10.patch:
+ Fix building with glibc-2.10, bug #273590
+
+*mednafen-0.8.11 (15 Apr 2009)
+
+ 15 Apr 2009; Hanno Boeck <hanno@gentoo.org> +mednafen-0.8.11.ebuild:
+ Version bump.
+
+*mednafen-0.8.10 (30 Jan 2009)
+
+ 30 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.10.ebuild:
+ version bump
+
+ 24 Jul 2008; Raúl Porcel <armin76@gentoo.org> mednafen-0.8.9.ebuild:
+ x86 stable wrt #231880
+
+*mednafen-0.8.9 (20 Jun 2008)
+
+ 20 Jun 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.9.ebuild:
+ version bump (bug #228623)
+
+*mednafen-0.8.8 (22 Apr 2008)
+
+ 22 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.8.ebuild:
+ version bump
+
+*mednafen-0.8.7 (07 Jan 2008)
+
+ 07 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.7.ebuild:
+ version bump
+
+*mednafen-0.8.5 (28 Nov 2007)
+
+ 28 Nov 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ -mednafen-0.7.2.ebuild, -mednafen-0.8.1.ebuild, -mednafen-0.8.4.ebuild,
+ +mednafen-0.8.5.ebuild:
+ version bump (bug #200666); clean out old ebuilds
+
+*mednafen-0.8.4 (14 Nov 2007)
+
+ 14 Nov 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.4.ebuild:
+ version bump
+
+*mednafen-0.8.1 (04 Jul 2007)
+
+ 04 Jul 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.1.ebuild:
+ version bump (bug #184151)
+
+*mednafen-0.7.2 (12 Feb 2007)
+
+ 12 Feb 2007; Tristan Heaven <nyhm@gentoo.org> +mednafen-0.7.2.ebuild:
+ Version bump
+
+*mednafen-0.7.1 (25 Dec 2006)
+
+ 25 Dec 2006; Tristan Heaven <nyhm@gentoo.org> +mednafen-0.7.1.ebuild:
+ Version bump by Kai, bug #158901
+
+*mednafen-0.6.5 (29 Sep 2006)
+
+ 29 Sep 2006; Tristan Heaven <nyhm@gentoo.org> +mednafen-0.6.5.ebuild:
+ Version bump, bug #146371
+
+ 24 May 2006; Joseph Jezak <josejx@gentoo.org> mednafen-0.6.1.ebuild:
+ Marked ~ppc for bug #133867.
+
+ 20 May 2006; Joshua Jackson <tsunam@gentoo.org> mednafen-0.6.1.ebuild:
+ Marking ~x86, as testing is needed before going x86
+
+ 20 May 2006; Jon Hood <squinky86@gentoo.org> mednafen-0.6.1.ebuild:
+ Add ~amd64, #133753.
+
+*mednafen-0.6.1 (19 May 2006)
+
+ 19 May 2006; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +mednafen-0.6.1.ebuild:
+ initial commit - ebuild submitted by Kai via bug #110044
diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
new file mode 100644
index 00000000..59d7326c
--- /dev/null
+++ b/games-emulation/mednafen/Manifest
@@ -0,0 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX mednafen-0.9.21-zlib.patch 1323 SHA256 c5e959e46059d0902e2fffb17376df260d4656ed35f4d1761734aaabfb95cffd SHA512 bb21d2a9d03cf9214755bc1786ba8cf1adf410d1780fc074213cd5075bd479dbb4c70a676096e43f772bd9c2e69c9cdcfb8363ccd125c84750fb73c9c9a982cb WHIRLPOOL 0f2e49c3f1e8d24f6e25f2dc093cf03fbdba185bd9fc54fb7ed0a26c14461ac8810fd6ab9663d000ca5279a7b1968a26ab25da537651f53ccc1c610eb3640780
+AUX mednafen-0.9.28-automake-1.13.patch 372 SHA256 1cc28062d38a372ae2e2cbb56efdd5d0bfa60b83cc5c6ec5fb6adab0de7578e1 SHA512 79eecf9fce0d2da04fb05f4d1453ac5aafee24cc13126c5305a8e1beb14d548ccb1c19df9da5a6017c80433d955362aa39272382e34d55d73364a99f67529eda WHIRLPOOL dfaf51d0b21248e035084e73d89e82c7f1bcf6dc7a4f2a632312ca9640edc9f36801154b98e97b7374da93914529c267aba9985703a385d0d102e34f91cd79fb
+AUX mednafen-0.9.28-cflags.patch 1560 SHA256 404029dc11bc8d3271eb3d62a6949c719ab660af5098b8038d4dbba09c484b85 SHA512 658dceb99abe9093fdf0753779663a968986f578d4992865a767d5caf65ef20813080a0755f90ffe433df4f6981f43c449de30aa253a84db668b2582c063f1bf WHIRLPOOL 8a961ed0d49a85b2f9fd20cac40d6cc55859c9d2148f378d63a8693aa171bdcb4bb063760b2bc1daa302e1d68b7729f845428b655e313c984b62a8b42e209009
+AUX mednafen-0.9.28-zlib.patch 1628 SHA256 161bf6682de65caa0a2ffd52000244b3289e7c21454bd99952761d3ffdb75947 SHA512 71e9d67f3a2f9e4534c96cd856e68d6d163fc71de15b31ade139b3a3b09aeead29aad7acf053c01b37b9d139bcdeafb66c231cab370bae49d4ee95a02b2b6e73 WHIRLPOOL 006fb50fec95ea1fa067c399d9f23803372bb5e1d4e95a96c6a4fe34af424183b076f148234af47bb94d841a19e0b09ac0f19adf95f85aea9746be386c9072ce
+DIST mednafen-0.9.21-wip.tar.bz2 3770486 SHA256 2c1074337cedd61091b8695915d1bc7cf3f7ad5bbdda755e7b99e32834fc052d SHA512 381f7c5f15ec89bd2ee8cf8606da020c6f958737af355c996d3e42df4f1d392392828b1dcdff0103fedaa628873a3cdbdf7493b674192ba1baedde8da4410f2f WHIRLPOOL a3f392105e891925503000c65f9a3ad455591a4ac67603c27ed53c2151db2d9f9f63a8037c1456e80c8d915f7cd3333fc6b584eecf0684c8d0f006d99ed4d93e
+DIST mednafen-0.9.28-wip.tar.bz2 3901828 SHA256 415ce0055c43560fb8e5b225108cfeb2fb2363841c39cc37eaa1c5e605675bde SHA512 4bc4347e31c7b4ddc10426ff422192706cf90a7fef10209c09880eef5e1b8f3c6820ffb975e68e030e26be0bb5999a299bd2d95cf52b036438c0499edb099033 WHIRLPOOL 458e2157b615f587087fd94a5a77f2d07eda9a5d2248304044178371e71b84069cb55b0d4d27dc92a2517b1bc98779bf675f237e5e428c747ca17c062822207c
+EBUILD mednafen-0.9.21.ebuild 1615 SHA256 2d49b91f03d5529426dc66635ae963a5c8b4301ad15f4204d35c6cb147f795b6 SHA512 250cf2b1177c8f16ed0a1a2933460c1b5ccbdb294d12cab4f69752b4edc6e9ed9620d06518b578303cee9a6632b6cd0d42417cd9d02fbaaf5837d991ac08b21e WHIRLPOOL 357b6799eeac0ab1c6e448a6c707c75089b98cc41d84726679ff74bd14125ea430c47e272aab14394c2c9f95253ba3d7412afbcd47da589f40d6acdfd9078eb9
+EBUILD mednafen-0.9.28.ebuild 1494 SHA256 83a1ec728f9a9373349bc779e417bd9275e94af32eb974fa3db661fb9b951eec SHA512 86b77d94cffcd1d77912e1f01cc99890bf72112184d3bd63bc2682e7254e0a4b468c53bdca2c99073b45a807b07d2494d58dedb9a9eca890a83e8c26297131e4 WHIRLPOOL 8a8bbb0430f1ab5a88fd4b2b27bff3e1e10504b68ccafdaef2032424a541501c323d9ce3f96c4712c933db3af01d8ae208d8f6b6058a34d34f840f1c9d758001
+MISC ChangeLog 6102 SHA256 e1603eedd07fa76daf4fa9016d994ac47038896c417434b79f10a3bd33dd6054 SHA512 f48b49101476d1494e3fd3b054d841cf1aea33f0643427d01ea0aedd2f3042586bb3960766dbe539a06c5c682255dc690ad1da0c2ddc7fdba0b2ca4eacdf39d0 WHIRLPOOL 8ecfa4c9ad3e836d61e00c2b39c94c6ff45ab29a48092fd5dc3a10104a6ac524e9ecb8ffd087ddedb5674caff16968374306a9bb2a913152d0996dcf39c54bde
+MISC metadata.xml 233 SHA256 7ef382bb262a87add83f9f888605564ba0996965964a80239613593302c76a05 SHA512 9190a76d53fe28e92c58ebf8e7308522b8697be30fe10d1d9eeae892b93e40106f9c8274c6fee82a2bfee7b7efdb398cf687fd5549080b80d8167f8bf27cc207 WHIRLPOOL 3d4911033f7d3d6ef8bbf6833dc076d90b642f32f454e13483cc0333137705026def3224531a234d696fc580fc9fbefe420fe1bcfb76ec44ba6f476d48c1f19a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRe922AAoJEFpvPKfnPDWz/+8H/3w1nBbPYeKv++XS8+2dxHmW
+u7EQzjeJ5DYrWTmdkujQLpoA91r5jbwS5M0jwuHohgOVmxtlAOiAOs145qd1vjdY
+KWKmylc9Fx7mYIJY2LAg0IojosltQytUfAmAqDBpKk2VD+9pzMpIiy7Hqi188qdh
+68EKSIJ1VL3utznvCIqg9RybO8t7YfeH22m0g4Z1MzA3KdJ49vG51GMwLVgzGU89
+vxcwtNIcabiTPvGA+TkDvu1PLzCwWEGsjEINxfPRX1Jw5uKylDmHlBEqG08eHntN
+taiXRn8udIWffy4Ts7KjCc/JAX9hHOL7vG07RUsgH5CY7XOVsnQbUh6Q4oCS9lM=
+=jsNA
+-----END PGP SIGNATURE-----
diff --git a/games-emulation/mednafen/files/mednafen-0.9.21-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.21-zlib.patch
new file mode 100644
index 00000000..2eec3ed1
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.9.21-zlib.patch
@@ -0,0 +1,27 @@
+--- src/file.cpp.old 2012-05-06 13:20:45.762299681 +0200
++++ src/file.cpp 2012-05-06 13:21:13.634342683 +0200
+@@ -33,7 +33,7 @@
+
+
+ #include <zlib.h>
+-#include "compress/unzip.h"
++#include <minizip/unzip.h>
+
+ #include "file.h"
+ #include "general.h"
+--- src/compress/Makefile.am.inc.old 2012-05-06 13:19:12.625839129 +0200
++++ src/compress/Makefile.am.inc 2012-05-06 13:19:30.012618340 +0200
+@@ -1 +1 @@
+-mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp compress/ioapi.c compress/unzip.c
++mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp
+--- src/Makefile.am.old 2012-05-06 13:19:54.047930734 +0200
++++ src/Makefile.am 2012-05-06 13:20:26.888624869 +0200
+@@ -5,7 +5,7 @@
+
+ bin_PROGRAMS = mednafen
+ mednafen_SOURCES = debug.cpp error.cpp mempatcher.cpp settings.cpp endian.cpp mednafen.cpp file.cpp general.cpp md5.cpp memory.cpp netplay.cpp state.cpp movie.cpp player.cpp PSFLoader.cpp tests.cpp qtrecord.cpp cdplay.cpp okiadpcm.cpp math_ops.cpp FileWrapper.cpp Stream.cpp
+-mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@
++mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@ -lminizip
+ mednafen_DEPENDENCIES = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a
+
+ SUBDIRS += sexyal drivers
diff --git a/games-emulation/mednafen/files/mednafen-0.9.28-automake-1.13.patch b/games-emulation/mednafen/files/mednafen-0.9.28-automake-1.13.patch
new file mode 100644
index 00000000..14c69d94
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.9.28-automake-1.13.patch
@@ -0,0 +1,11 @@
+--- mednafen-0.9.28-wip/mednafen/configure.ac
++++ mednafen-0.9.28-wip/mednafen/configure.ac
+@@ -13,7 +13,7 @@
+ AC_CANONICAL_TARGET
+ AM_INIT_AUTOMAKE([mednafen], $MEDNAFEN_VERSION)
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
+-AM_CONFIG_HEADER([include/config.h:include/config.h.in])
++AC_CONFIG_HEADERS([include/config.h:include/config.h.in])
+
+ AC_PROG_CC
+ AC_PROG_CPP
diff --git a/games-emulation/mednafen/files/mednafen-0.9.28-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.28-cflags.patch
new file mode 100644
index 00000000..0fca1c61
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.9.28-cflags.patch
@@ -0,0 +1,35 @@
+--- configure.ac.orig 2013-01-25 13:30:36.167253683 -0500
++++ configure.ac 2013-01-25 13:32:16.993678869 -0500
+@@ -90,21 +90,6 @@
+
+ dnl -fno-unit-at-a-time
+
+-OPTIMIZER_FLAGS=""
+-
+-dnl -ffast-math removed January 12, 2013. Don't re-add it, nor any of its sub-options(ESPECIALLY not -funsafe-math-optimizations),
+-dnl it messes up certain code(NES resampler, for example) under certain conditions and alignments of the great celestial squid.
+-dnl
+-dnl In fact, let's explicitly disable it here with -fno-fast-math.
+-dnl
+-AX_CFLAGS_GCC_OPTION([-fno-fast-math], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fno-unsafe-math-optimizations], OPTIMIZER_FLAGS)
+-
+-AX_CFLAGS_GCC_OPTION([-fomit-frame-pointer], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-finline-limit=6000], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([--param large-function-growth=800], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([--param inline-unit-growth=175], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([--param max-inline-insns-single=10000], OPTIMIZER_FLAGS)
+ AX_NO_STRICT_OVERFLOW
+
+
+@@ -138,8 +123,8 @@
+ MDFN_COMPAT_FLAGS=""
+ AX_CFLAGS_GCC_OPTION([-fsigned-char], MDFN_COMPAT_FLAGS)
+
+-AC_SUBST([AM_CFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $OPTIMIZER_FLAGS $NO_STRICT_OVERFLOW_FLAGS")
+-AC_SUBST([AM_CXXFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $OPTIMIZER_FLAGS $NO_STRICT_OVERFLOW_FLAGS")
++AC_SUBST([AM_CFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $NO_STRICT_OVERFLOW_FLAGS")
++AC_SUBST([AM_CXXFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $NO_STRICT_OVERFLOW_FLAGS")
+
+ AM_CONDITIONAL(WANT_DEBUGGER, false)
+
diff --git a/games-emulation/mednafen/files/mednafen-0.9.28-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.28-zlib.patch
new file mode 100644
index 00000000..8ada2009
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.9.28-zlib.patch
@@ -0,0 +1,30 @@
+diff -ru mednafen.orig/src/Makefile.am mednafen/src/Makefile.am
+--- mednafen.orig/src/Makefile.am 2013-01-12 08:41:03.000000000 -0500
++++ mednafen/src/Makefile.am 2013-01-25 13:17:44.351619447 -0500
+@@ -5,7 +5,7 @@
+
+ bin_PROGRAMS = mednafen
+ mednafen_SOURCES = debug.cpp error.cpp mempatcher.cpp settings.cpp endian.cpp mednafen.cpp file.cpp general.cpp md5.cpp memory.cpp netplay.cpp state.cpp movie.cpp player.cpp PSFLoader.cpp tests.cpp qtrecord.cpp cdplay.cpp okiadpcm.cpp FileWrapper.cpp Stream.cpp MemoryStream.cpp FileStream.cpp
+-mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@
++mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@ -lminizip
+ mednafen_DEPENDENCIES = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a
+
+ SUBDIRS += sexyal drivers
+diff -ru mednafen.orig/src/compress/Makefile.am.inc mednafen/src/compress/Makefile.am.inc
+--- mednafen.orig/src/compress/Makefile.am.inc 2010-12-18 04:03:19.000000000 -0500
++++ mednafen/src/compress/Makefile.am.inc 2013-01-25 13:17:19.289508092 -0500
+@@ -1 +1 @@
+-mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp compress/ioapi.c compress/unzip.c
++mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp compress/ioapi.c
+diff -ru mednafen.orig/src/file.cpp mednafen/src/file.cpp
+--- mednafen.orig/src/file.cpp 2012-02-03 17:04:45.000000000 -0500
++++ mednafen/src/file.cpp 2013-01-25 13:17:09.527854217 -0500
+@@ -33,7 +33,7 @@
+
+
+ #include <zlib.h>
+-#include "compress/unzip.h"
++#include <minizip/unzip.h>
+
+ #include "file.h"
+ #include "general.h"
diff --git a/games-emulation/mednafen/mednafen-0.9.21.ebuild b/games-emulation/mednafen/mednafen-0.9.21.ebuild
new file mode 100644
index 00000000..bd4c0a6f
--- /dev/null
+++ b/games-emulation/mednafen/mednafen-0.9.21.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/mednafen-0.9.21.ebuild,v 1.3 2012/05/22 00:03:04 jdhore Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+DESCRIPTION="An advanced NES, GB/GBC/GBA, TurboGrafx 16/CD, NGPC and Lynx emulator"
+HOMEPAGE="http://mednafen.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-wip.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="alsa altivec cjk debug jack nls"
+
+RDEPEND="virtual/opengl
+ media-libs/libsndfile
+ dev-libs/libcdio
+ media-libs/libsdl[audio,joystick,video]
+ media-libs/sdl-net
+ sys-libs/zlib[minizip]
+ alsa? ( media-libs/alsa-lib )
+ jack? ( media-sound/jack-audio-connection-kit )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -i \
+ -e 's:$(datadir)/locale:/usr/share/locale:' \
+ $(find . -name 'Makefile.am') \
+ intl/Makefile.in \
+ || die 'sed failed'
+ sed -i \
+ -e '/-ffast-math/d' \
+ -e '/^AX_CFLAGS_GCC_OPTION.*OPTIMIZER_FLAGS/d' \
+ configure.ac \
+ || die "sed failed"
+ epatch "${FILESDIR}"/${P}-zlib.patch
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_enable alsa) \
+ $(use_enable altivec) \
+ $(use_enable cjk cjk-fonts) \
+ $(use_enable debug debugger) \
+ $(use_enable jack) \
+ $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc Documentation/cheats.txt AUTHORS ChangeLog TODO
+ dohtml Documentation/*
+ prepgamesdirs
+}
diff --git a/games-emulation/mednafen/mednafen-0.9.28.ebuild b/games-emulation/mednafen/mednafen-0.9.28.ebuild
new file mode 100644
index 00000000..7254ba09
--- /dev/null
+++ b/games-emulation/mednafen/mednafen-0.9.28.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/mednafen-0.9.28.ebuild,v 1.5 2013/04/27 14:16:20 hasufell Exp $
+
+EAPI=5
+inherit autotools eutils games
+
+DESCRIPTION="An advanced NES, GB/GBC/GBA, TurboGrafx 16/CD, NGPC and Lynx emulator"
+HOMEPAGE="http://mednafen.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mednafen/${P}-wip.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa altivec cjk debugger jack nls"
+
+RDEPEND="virtual/opengl
+ media-libs/libsndfile
+ dev-libs/libcdio
+ media-libs/libsdl[audio,joystick,opengl,video]
+ media-libs/sdl-net
+ sys-libs/zlib[minizip]
+ alsa? ( media-libs/alsa-lib )
+ jack? ( media-sound/jack-audio-connection-kit )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -i \
+ -e 's:$(datadir)/locale:/usr/share/locale:' \
+ $(find . -name Makefile.am) \
+ intl/Makefile.in || die
+ epatch \
+ "${FILESDIR}"/${P}-zlib.patch \
+ "${FILESDIR}"/${P}-cflags.patch \
+ "${FILESDIR}"/${P}-automake-1.13.patch
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ $(use_enable alsa) \
+ $(use_enable altivec) \
+ $(use_enable cjk cjk-fonts) \
+ $(use_enable debugger) \
+ $(use_enable jack) \
+ $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc Documentation/cheats.txt ChangeLog TODO
+ dohtml Documentation/*
+ prepgamesdirs
+}
diff --git a/games-emulation/mednafen/mednafen/ChangeLog b/games-emulation/mednafen/mednafen/ChangeLog
new file mode 100644
index 00000000..7df2a391
--- /dev/null
+++ b/games-emulation/mednafen/mednafen/ChangeLog
@@ -0,0 +1,190 @@
+# ChangeLog for games-emulation/mednafen
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.44 2013/04/27 14:16:20 hasufell Exp $
+
+ 27 Apr 2013; Julian Ospald <hasufell@gentoo.org> mednafen-0.9.28.ebuild,
+ +files/mednafen-0.9.28-automake-1.13.patch:
+ fix automake-1.13 build wrt #467498
+
+ 14 Feb 2013; Michael Sterrett <mr_bones_@gentoo.org> mednafen-0.9.28.ebuild:
+ add opengl to libsdl use deps (bug #457606)
+
+*mednafen-0.9.28 (26 Jan 2013)
+
+ 26 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/mednafen-0.9.28-cflags.patch, +files/mednafen-0.9.28-zlib.patch,
+ +mednafen-0.9.28.ebuild, metadata.xml:
+ version bump
+
+ 13 Jun 2012; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/mednafen-0.8.13.3-zlib-1.2.6.patch,
+ -files/mednafen-0.8.13.3-zlib.patch, -mednafen-0.8.13.3-r1.ebuild,
+ -mednafen-0.8.13.3.ebuild:
+ old
+
+ 22 May 2012; Jeff Horelick <jdhore@gentoo.org> mednafen-0.9.21.ebuild:
+ marked x86 per bug 413831
+
+ 20 May 2012; Agostino Sarubbo <ago@gentoo.org> mednafen-0.9.21.ebuild:
+ Stable for amd64, wrt bug #413831
+
+ 19 May 2012; Samuli Suominen <ssuominen@gentoo.org> mednafen-0.8.13.3.ebuild:
+ Revert to ~ppc wrt #413831 pending on user request for stabilization
+
+*mednafen-0.9.21 (06 May 2012)
+
+ 06 May 2012; Tupone Alfredo <tupone@gentoo.org> +mednafen-0.9.21.ebuild,
+ +files/mednafen-0.9.21-zlib.patch:
+ Version bump to 0.9.21 Bug #414597 by Tatsh
+
+ 04 May 2012; Jeff Horelick <jdhore@gentoo.org> mednafen-0.8.13.3.ebuild,
+ mednafen-0.8.13.3-r1.ebuild:
+ dev-util/pkgconfig -> virtual/pkgconfig
+
+ 18 Feb 2012; Tim Harder <radhermit@gentoo.org> mednafen-0.8.13.3-r1.ebuild,
+ +files/mednafen-0.8.13.3-zlib-1.2.6.patch:
+ Fix build with zlib-1.2.6 (bug #403483).
+
+*mednafen-0.8.13.3-r1 (14 Dec 2011)
+
+ 14 Dec 2011; Tupone Alfredo <tupone@gentoo.org> +mednafen-0.8.13.3-r1.ebuild,
+ +files/mednafen-0.8.13.3-zlib.patch:
+ Build with latest zlib. Bug #387821 by Diego Elio Pettenò
+
+ 15 Jan 2011; Markus Meier <maekke@gentoo.org> mednafen-0.8.13.3.ebuild:
+ x86 stable, bug #351332
+
+ 12 Jan 2011; Markos Chandras <hwoarang@gentoo.org> mednafen-0.8.13.3.ebuild:
+ Stable on amd64 wrt bug #351332
+
+ 11 Jan 2011; Brent Baude <ranger@gentoo.org> mednafen-0.8.13.3.ebuild:
+ Marking mednafen-0.8.13.3 ppc for bug 351332
+
+ 10 Dec 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ mednafen-0.8.13.3.ebuild:
+ needs libsdl[joystick] (bug #348364)
+
+*mednafen-0.8.13.3 (06 Dec 2010)
+
+ 06 Dec 2010; Hanno Boeck <hanno@gentoo.org> +mednafen-0.8.13.3.ebuild:
+ Version bump, gcc patch got merged upstream.
+
+ 25 Sep 2010; Markus Meier <maekke@gentoo.org> mednafen-0.8.13.ebuild:
+ x86 stable, bug #337536
+
+ 21 Sep 2010; Markos Chandras <hwoarang@gentoo.org> mednafen-0.8.13.ebuild:
+ Stable on amd64 wrt bug #337536
+
+ 12 Aug 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ mednafen-0.8.13.ebuild:
+ use deps for libsdl; add zlib dep; only pass c++ flags to g++
+
+ 04 Jul 2010; Hanno Boeck <hanno@gentoo.org> mednafen-0.8.13.ebuild,
+ +files/mednafen-0.8.13-gcc45.patch:
+ Re-add gcc 4.5 patch.
+
+*mednafen-0.8.13 (02 Jul 2010)
+
+ 02 Jul 2010; Tupone Alfredo <tupone@gentoo.org> +mednafen-0.8.13.ebuild:
+ Version bump to 0.8.13 Bug #326141 by Sergey Kondakov
+
+ 24 May 2010; Tupone Alfredo <tupone@gentoo.org> mednafen-0.8.12.ebuild,
+ +files/mednafen-0.8.12-gcc45.patch:
+ Build with gcc-4.5 Bug #321009 by flameeyes@gentoo.org
+
+ 23 May 2010; Pacho Ramos <pacho@gentoo.org> mednafen-0.8.12.ebuild:
+ stable amd64, bug 312535
+
+ 21 Nov 2009; Markus Meier <maekke@gentoo.org> mednafen-0.8.12.ebuild:
+ x86 stable, bug #288950
+
+*mednafen-0.8.12 (12 Jul 2009)
+
+ 12 Jul 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.12.ebuild:
+ version bump
+
+ 17 Jun 2009; Tristan Heaven <nyhm@gentoo.org> mednafen-0.8.11.ebuild,
+ +files/mednafen-0.8.11-glibc2.10.patch:
+ Fix building with glibc-2.10, bug #273590
+
+*mednafen-0.8.11 (15 Apr 2009)
+
+ 15 Apr 2009; Hanno Boeck <hanno@gentoo.org> +mednafen-0.8.11.ebuild:
+ Version bump.
+
+*mednafen-0.8.10 (30 Jan 2009)
+
+ 30 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.10.ebuild:
+ version bump
+
+ 24 Jul 2008; Raúl Porcel <armin76@gentoo.org> mednafen-0.8.9.ebuild:
+ x86 stable wrt #231880
+
+*mednafen-0.8.9 (20 Jun 2008)
+
+ 20 Jun 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.9.ebuild:
+ version bump (bug #228623)
+
+*mednafen-0.8.8 (22 Apr 2008)
+
+ 22 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.8.ebuild:
+ version bump
+
+*mednafen-0.8.7 (07 Jan 2008)
+
+ 07 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.7.ebuild:
+ version bump
+
+*mednafen-0.8.5 (28 Nov 2007)
+
+ 28 Nov 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ -mednafen-0.7.2.ebuild, -mednafen-0.8.1.ebuild, -mednafen-0.8.4.ebuild,
+ +mednafen-0.8.5.ebuild:
+ version bump (bug #200666); clean out old ebuilds
+
+*mednafen-0.8.4 (14 Nov 2007)
+
+ 14 Nov 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.4.ebuild:
+ version bump
+
+*mednafen-0.8.1 (04 Jul 2007)
+
+ 04 Jul 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.1.ebuild:
+ version bump (bug #184151)
+
+*mednafen-0.7.2 (12 Feb 2007)
+
+ 12 Feb 2007; Tristan Heaven <nyhm@gentoo.org> +mednafen-0.7.2.ebuild:
+ Version bump
+
+*mednafen-0.7.1 (25 Dec 2006)
+
+ 25 Dec 2006; Tristan Heaven <nyhm@gentoo.org> +mednafen-0.7.1.ebuild:
+ Version bump by Kai, bug #158901
+
+*mednafen-0.6.5 (29 Sep 2006)
+
+ 29 Sep 2006; Tristan Heaven <nyhm@gentoo.org> +mednafen-0.6.5.ebuild:
+ Version bump, bug #146371
+
+ 24 May 2006; Joseph Jezak <josejx@gentoo.org> mednafen-0.6.1.ebuild:
+ Marked ~ppc for bug #133867.
+
+ 20 May 2006; Joshua Jackson <tsunam@gentoo.org> mednafen-0.6.1.ebuild:
+ Marking ~x86, as testing is needed before going x86
+
+ 20 May 2006; Jon Hood <squinky86@gentoo.org> mednafen-0.6.1.ebuild:
+ Add ~amd64, #133753.
+
+*mednafen-0.6.1 (19 May 2006)
+
+ 19 May 2006; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +mednafen-0.6.1.ebuild:
+ initial commit - ebuild submitted by Kai via bug #110044
diff --git a/games-emulation/mednafen/mednafen/Manifest b/games-emulation/mednafen/mednafen/Manifest
new file mode 100644
index 00000000..59d7326c
--- /dev/null
+++ b/games-emulation/mednafen/mednafen/Manifest
@@ -0,0 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX mednafen-0.9.21-zlib.patch 1323 SHA256 c5e959e46059d0902e2fffb17376df260d4656ed35f4d1761734aaabfb95cffd SHA512 bb21d2a9d03cf9214755bc1786ba8cf1adf410d1780fc074213cd5075bd479dbb4c70a676096e43f772bd9c2e69c9cdcfb8363ccd125c84750fb73c9c9a982cb WHIRLPOOL 0f2e49c3f1e8d24f6e25f2dc093cf03fbdba185bd9fc54fb7ed0a26c14461ac8810fd6ab9663d000ca5279a7b1968a26ab25da537651f53ccc1c610eb3640780
+AUX mednafen-0.9.28-automake-1.13.patch 372 SHA256 1cc28062d38a372ae2e2cbb56efdd5d0bfa60b83cc5c6ec5fb6adab0de7578e1 SHA512 79eecf9fce0d2da04fb05f4d1453ac5aafee24cc13126c5305a8e1beb14d548ccb1c19df9da5a6017c80433d955362aa39272382e34d55d73364a99f67529eda WHIRLPOOL dfaf51d0b21248e035084e73d89e82c7f1bcf6dc7a4f2a632312ca9640edc9f36801154b98e97b7374da93914529c267aba9985703a385d0d102e34f91cd79fb
+AUX mednafen-0.9.28-cflags.patch 1560 SHA256 404029dc11bc8d3271eb3d62a6949c719ab660af5098b8038d4dbba09c484b85 SHA512 658dceb99abe9093fdf0753779663a968986f578d4992865a767d5caf65ef20813080a0755f90ffe433df4f6981f43c449de30aa253a84db668b2582c063f1bf WHIRLPOOL 8a961ed0d49a85b2f9fd20cac40d6cc55859c9d2148f378d63a8693aa171bdcb4bb063760b2bc1daa302e1d68b7729f845428b655e313c984b62a8b42e209009
+AUX mednafen-0.9.28-zlib.patch 1628 SHA256 161bf6682de65caa0a2ffd52000244b3289e7c21454bd99952761d3ffdb75947 SHA512 71e9d67f3a2f9e4534c96cd856e68d6d163fc71de15b31ade139b3a3b09aeead29aad7acf053c01b37b9d139bcdeafb66c231cab370bae49d4ee95a02b2b6e73 WHIRLPOOL 006fb50fec95ea1fa067c399d9f23803372bb5e1d4e95a96c6a4fe34af424183b076f148234af47bb94d841a19e0b09ac0f19adf95f85aea9746be386c9072ce
+DIST mednafen-0.9.21-wip.tar.bz2 3770486 SHA256 2c1074337cedd61091b8695915d1bc7cf3f7ad5bbdda755e7b99e32834fc052d SHA512 381f7c5f15ec89bd2ee8cf8606da020c6f958737af355c996d3e42df4f1d392392828b1dcdff0103fedaa628873a3cdbdf7493b674192ba1baedde8da4410f2f WHIRLPOOL a3f392105e891925503000c65f9a3ad455591a4ac67603c27ed53c2151db2d9f9f63a8037c1456e80c8d915f7cd3333fc6b584eecf0684c8d0f006d99ed4d93e
+DIST mednafen-0.9.28-wip.tar.bz2 3901828 SHA256 415ce0055c43560fb8e5b225108cfeb2fb2363841c39cc37eaa1c5e605675bde SHA512 4bc4347e31c7b4ddc10426ff422192706cf90a7fef10209c09880eef5e1b8f3c6820ffb975e68e030e26be0bb5999a299bd2d95cf52b036438c0499edb099033 WHIRLPOOL 458e2157b615f587087fd94a5a77f2d07eda9a5d2248304044178371e71b84069cb55b0d4d27dc92a2517b1bc98779bf675f237e5e428c747ca17c062822207c
+EBUILD mednafen-0.9.21.ebuild 1615 SHA256 2d49b91f03d5529426dc66635ae963a5c8b4301ad15f4204d35c6cb147f795b6 SHA512 250cf2b1177c8f16ed0a1a2933460c1b5ccbdb294d12cab4f69752b4edc6e9ed9620d06518b578303cee9a6632b6cd0d42417cd9d02fbaaf5837d991ac08b21e WHIRLPOOL 357b6799eeac0ab1c6e448a6c707c75089b98cc41d84726679ff74bd14125ea430c47e272aab14394c2c9f95253ba3d7412afbcd47da589f40d6acdfd9078eb9
+EBUILD mednafen-0.9.28.ebuild 1494 SHA256 83a1ec728f9a9373349bc779e417bd9275e94af32eb974fa3db661fb9b951eec SHA512 86b77d94cffcd1d77912e1f01cc99890bf72112184d3bd63bc2682e7254e0a4b468c53bdca2c99073b45a807b07d2494d58dedb9a9eca890a83e8c26297131e4 WHIRLPOOL 8a8bbb0430f1ab5a88fd4b2b27bff3e1e10504b68ccafdaef2032424a541501c323d9ce3f96c4712c933db3af01d8ae208d8f6b6058a34d34f840f1c9d758001
+MISC ChangeLog 6102 SHA256 e1603eedd07fa76daf4fa9016d994ac47038896c417434b79f10a3bd33dd6054 SHA512 f48b49101476d1494e3fd3b054d841cf1aea33f0643427d01ea0aedd2f3042586bb3960766dbe539a06c5c682255dc690ad1da0c2ddc7fdba0b2ca4eacdf39d0 WHIRLPOOL 8ecfa4c9ad3e836d61e00c2b39c94c6ff45ab29a48092fd5dc3a10104a6ac524e9ecb8ffd087ddedb5674caff16968374306a9bb2a913152d0996dcf39c54bde
+MISC metadata.xml 233 SHA256 7ef382bb262a87add83f9f888605564ba0996965964a80239613593302c76a05 SHA512 9190a76d53fe28e92c58ebf8e7308522b8697be30fe10d1d9eeae892b93e40106f9c8274c6fee82a2bfee7b7efdb398cf687fd5549080b80d8167f8bf27cc207 WHIRLPOOL 3d4911033f7d3d6ef8bbf6833dc076d90b642f32f454e13483cc0333137705026def3224531a234d696fc580fc9fbefe420fe1bcfb76ec44ba6f476d48c1f19a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRe922AAoJEFpvPKfnPDWz/+8H/3w1nBbPYeKv++XS8+2dxHmW
+u7EQzjeJ5DYrWTmdkujQLpoA91r5jbwS5M0jwuHohgOVmxtlAOiAOs145qd1vjdY
+KWKmylc9Fx7mYIJY2LAg0IojosltQytUfAmAqDBpKk2VD+9pzMpIiy7Hqi188qdh
+68EKSIJ1VL3utznvCIqg9RybO8t7YfeH22m0g4Z1MzA3KdJ49vG51GMwLVgzGU89
+vxcwtNIcabiTPvGA+TkDvu1PLzCwWEGsjEINxfPRX1Jw5uKylDmHlBEqG08eHntN
+taiXRn8udIWffy4Ts7KjCc/JAX9hHOL7vG07RUsgH5CY7XOVsnQbUh6Q4oCS9lM=
+=jsNA
+-----END PGP SIGNATURE-----
diff --git a/games-emulation/mednafen/mednafen/files/mednafen-0.9.21-zlib.patch b/games-emulation/mednafen/mednafen/files/mednafen-0.9.21-zlib.patch
new file mode 100644
index 00000000..2eec3ed1
--- /dev/null
+++ b/games-emulation/mednafen/mednafen/files/mednafen-0.9.21-zlib.patch
@@ -0,0 +1,27 @@
+--- src/file.cpp.old 2012-05-06 13:20:45.762299681 +0200
++++ src/file.cpp 2012-05-06 13:21:13.634342683 +0200
+@@ -33,7 +33,7 @@
+
+
+ #include <zlib.h>
+-#include "compress/unzip.h"
++#include <minizip/unzip.h>
+
+ #include "file.h"
+ #include "general.h"
+--- src/compress/Makefile.am.inc.old 2012-05-06 13:19:12.625839129 +0200
++++ src/compress/Makefile.am.inc 2012-05-06 13:19:30.012618340 +0200
+@@ -1 +1 @@
+-mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp compress/ioapi.c compress/unzip.c
++mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp
+--- src/Makefile.am.old 2012-05-06 13:19:54.047930734 +0200
++++ src/Makefile.am 2012-05-06 13:20:26.888624869 +0200
+@@ -5,7 +5,7 @@
+
+ bin_PROGRAMS = mednafen
+ mednafen_SOURCES = debug.cpp error.cpp mempatcher.cpp settings.cpp endian.cpp mednafen.cpp file.cpp general.cpp md5.cpp memory.cpp netplay.cpp state.cpp movie.cpp player.cpp PSFLoader.cpp tests.cpp qtrecord.cpp cdplay.cpp okiadpcm.cpp math_ops.cpp FileWrapper.cpp Stream.cpp
+-mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@
++mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@ -lminizip
+ mednafen_DEPENDENCIES = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a
+
+ SUBDIRS += sexyal drivers
diff --git a/games-emulation/mednafen/mednafen/files/mednafen-0.9.28-automake-1.13.patch b/games-emulation/mednafen/mednafen/files/mednafen-0.9.28-automake-1.13.patch
new file mode 100644
index 00000000..14c69d94
--- /dev/null
+++ b/games-emulation/mednafen/mednafen/files/mednafen-0.9.28-automake-1.13.patch
@@ -0,0 +1,11 @@
+--- mednafen-0.9.28-wip/mednafen/configure.ac
++++ mednafen-0.9.28-wip/mednafen/configure.ac
+@@ -13,7 +13,7 @@
+ AC_CANONICAL_TARGET
+ AM_INIT_AUTOMAKE([mednafen], $MEDNAFEN_VERSION)
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
+-AM_CONFIG_HEADER([include/config.h:include/config.h.in])
++AC_CONFIG_HEADERS([include/config.h:include/config.h.in])
+
+ AC_PROG_CC
+ AC_PROG_CPP
diff --git a/games-emulation/mednafen/mednafen/files/mednafen-0.9.28-cflags.patch b/games-emulation/mednafen/mednafen/files/mednafen-0.9.28-cflags.patch
new file mode 100644
index 00000000..0fca1c61
--- /dev/null
+++ b/games-emulation/mednafen/mednafen/files/mednafen-0.9.28-cflags.patch
@@ -0,0 +1,35 @@
+--- configure.ac.orig 2013-01-25 13:30:36.167253683 -0500
++++ configure.ac 2013-01-25 13:32:16.993678869 -0500
+@@ -90,21 +90,6 @@
+
+ dnl -fno-unit-at-a-time
+
+-OPTIMIZER_FLAGS=""
+-
+-dnl -ffast-math removed January 12, 2013. Don't re-add it, nor any of its sub-options(ESPECIALLY not -funsafe-math-optimizations),
+-dnl it messes up certain code(NES resampler, for example) under certain conditions and alignments of the great celestial squid.
+-dnl
+-dnl In fact, let's explicitly disable it here with -fno-fast-math.
+-dnl
+-AX_CFLAGS_GCC_OPTION([-fno-fast-math], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-fno-unsafe-math-optimizations], OPTIMIZER_FLAGS)
+-
+-AX_CFLAGS_GCC_OPTION([-fomit-frame-pointer], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([-finline-limit=6000], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([--param large-function-growth=800], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([--param inline-unit-growth=175], OPTIMIZER_FLAGS)
+-AX_CFLAGS_GCC_OPTION([--param max-inline-insns-single=10000], OPTIMIZER_FLAGS)
+ AX_NO_STRICT_OVERFLOW
+
+
+@@ -138,8 +123,8 @@
+ MDFN_COMPAT_FLAGS=""
+ AX_CFLAGS_GCC_OPTION([-fsigned-char], MDFN_COMPAT_FLAGS)
+
+-AC_SUBST([AM_CFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $OPTIMIZER_FLAGS $NO_STRICT_OVERFLOW_FLAGS")
+-AC_SUBST([AM_CXXFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $OPTIMIZER_FLAGS $NO_STRICT_OVERFLOW_FLAGS")
++AC_SUBST([AM_CFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $NO_STRICT_OVERFLOW_FLAGS")
++AC_SUBST([AM_CXXFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $NO_STRICT_OVERFLOW_FLAGS")
+
+ AM_CONDITIONAL(WANT_DEBUGGER, false)
+
diff --git a/games-emulation/mednafen/mednafen/files/mednafen-0.9.28-zlib.patch b/games-emulation/mednafen/mednafen/files/mednafen-0.9.28-zlib.patch
new file mode 100644
index 00000000..8ada2009
--- /dev/null
+++ b/games-emulation/mednafen/mednafen/files/mednafen-0.9.28-zlib.patch
@@ -0,0 +1,30 @@
+diff -ru mednafen.orig/src/Makefile.am mednafen/src/Makefile.am
+--- mednafen.orig/src/Makefile.am 2013-01-12 08:41:03.000000000 -0500
++++ mednafen/src/Makefile.am 2013-01-25 13:17:44.351619447 -0500
+@@ -5,7 +5,7 @@
+
+ bin_PROGRAMS = mednafen
+ mednafen_SOURCES = debug.cpp error.cpp mempatcher.cpp settings.cpp endian.cpp mednafen.cpp file.cpp general.cpp md5.cpp memory.cpp netplay.cpp state.cpp movie.cpp player.cpp PSFLoader.cpp tests.cpp qtrecord.cpp cdplay.cpp okiadpcm.cpp FileWrapper.cpp Stream.cpp MemoryStream.cpp FileStream.cpp
+-mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@
++mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@ -lminizip
+ mednafen_DEPENDENCIES = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a
+
+ SUBDIRS += sexyal drivers
+diff -ru mednafen.orig/src/compress/Makefile.am.inc mednafen/src/compress/Makefile.am.inc
+--- mednafen.orig/src/compress/Makefile.am.inc 2010-12-18 04:03:19.000000000 -0500
++++ mednafen/src/compress/Makefile.am.inc 2013-01-25 13:17:19.289508092 -0500
+@@ -1 +1 @@
+-mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp compress/ioapi.c compress/unzip.c
++mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp compress/ioapi.c
+diff -ru mednafen.orig/src/file.cpp mednafen/src/file.cpp
+--- mednafen.orig/src/file.cpp 2012-02-03 17:04:45.000000000 -0500
++++ mednafen/src/file.cpp 2013-01-25 13:17:09.527854217 -0500
+@@ -33,7 +33,7 @@
+
+
+ #include <zlib.h>
+-#include "compress/unzip.h"
++#include <minizip/unzip.h>
+
+ #include "file.h"
+ #include "general.h"
diff --git a/games-emulation/mednafen/mednafen/mednafen/ChangeLog b/games-emulation/mednafen/mednafen/mednafen/ChangeLog
new file mode 100644
index 00000000..7df2a391
--- /dev/null
+++ b/games-emulation/mednafen/mednafen/mednafen/ChangeLog
@@ -0,0 +1,190 @@
+# ChangeLog for games-emulation/mednafen
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.44 2013/04/27 14:16:20 hasufell Exp $
+
+ 27 Apr 2013; Julian Ospald <hasufell@gentoo.org> mednafen-0.9.28.ebuild,
+ +files/mednafen-0.9.28-automake-1.13.patch:
+ fix automake-1.13 build wrt #467498
+
+ 14 Feb 2013; Michael Sterrett <mr_bones_@gentoo.org> mednafen-0.9.28.ebuild:
+ add opengl to libsdl use deps (bug #457606)
+
+*mednafen-0.9.28 (26 Jan 2013)
+
+ 26 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/mednafen-0.9.28-cflags.patch, +files/mednafen-0.9.28-zlib.patch,
+ +mednafen-0.9.28.ebuild, metadata.xml:
+ version bump
+
+ 13 Jun 2012; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/mednafen-0.8.13.3-zlib-1.2.6.patch,
+ -files/mednafen-0.8.13.3-zlib.patch, -mednafen-0.8.13.3-r1.ebuild,
+ -mednafen-0.8.13.3.ebuild:
+ old
+
+ 22 May 2012; Jeff Horelick <jdhore@gentoo.org> mednafen-0.9.21.ebuild:
+ marked x86 per bug 413831
+
+ 20 May 2012; Agostino Sarubbo <ago@gentoo.org> mednafen-0.9.21.ebuild:
+ Stable for amd64, wrt bug #413831
+
+ 19 May 2012; Samuli Suominen <ssuominen@gentoo.org> mednafen-0.8.13.3.ebuild:
+ Revert to ~ppc wrt #413831 pending on user request for stabilization
+
+*mednafen-0.9.21 (06 May 2012)
+
+ 06 May 2012; Tupone Alfredo <tupone@gentoo.org> +mednafen-0.9.21.ebuild,
+ +files/mednafen-0.9.21-zlib.patch:
+ Version bump to 0.9.21 Bug #414597 by Tatsh
+
+ 04 May 2012; Jeff Horelick <jdhore@gentoo.org> mednafen-0.8.13.3.ebuild,
+ mednafen-0.8.13.3-r1.ebuild:
+ dev-util/pkgconfig -> virtual/pkgconfig
+
+ 18 Feb 2012; Tim Harder <radhermit@gentoo.org> mednafen-0.8.13.3-r1.ebuild,
+ +files/mednafen-0.8.13.3-zlib-1.2.6.patch:
+ Fix build with zlib-1.2.6 (bug #403483).
+
+*mednafen-0.8.13.3-r1 (14 Dec 2011)
+
+ 14 Dec 2011; Tupone Alfredo <tupone@gentoo.org> +mednafen-0.8.13.3-r1.ebuild,
+ +files/mednafen-0.8.13.3-zlib.patch:
+ Build with latest zlib. Bug #387821 by Diego Elio Pettenò
+
+ 15 Jan 2011; Markus Meier <maekke@gentoo.org> mednafen-0.8.13.3.ebuild:
+ x86 stable, bug #351332
+
+ 12 Jan 2011; Markos Chandras <hwoarang@gentoo.org> mednafen-0.8.13.3.ebuild:
+ Stable on amd64 wrt bug #351332
+
+ 11 Jan 2011; Brent Baude <ranger@gentoo.org> mednafen-0.8.13.3.ebuild:
+ Marking mednafen-0.8.13.3 ppc for bug 351332
+
+ 10 Dec 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ mednafen-0.8.13.3.ebuild:
+ needs libsdl[joystick] (bug #348364)
+
+*mednafen-0.8.13.3 (06 Dec 2010)
+
+ 06 Dec 2010; Hanno Boeck <hanno@gentoo.org> +mednafen-0.8.13.3.ebuild:
+ Version bump, gcc patch got merged upstream.
+
+ 25 Sep 2010; Markus Meier <maekke@gentoo.org> mednafen-0.8.13.ebuild:
+ x86 stable, bug #337536
+
+ 21 Sep 2010; Markos Chandras <hwoarang@gentoo.org> mednafen-0.8.13.ebuild:
+ Stable on amd64 wrt bug #337536
+
+ 12 Aug 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ mednafen-0.8.13.ebuild:
+ use deps for libsdl; add zlib dep; only pass c++ flags to g++
+
+ 04 Jul 2010; Hanno Boeck <hanno@gentoo.org> mednafen-0.8.13.ebuild,
+ +files/mednafen-0.8.13-gcc45.patch:
+ Re-add gcc 4.5 patch.
+
+*mednafen-0.8.13 (02 Jul 2010)
+
+ 02 Jul 2010; Tupone Alfredo <tupone@gentoo.org> +mednafen-0.8.13.ebuild:
+ Version bump to 0.8.13 Bug #326141 by Sergey Kondakov
+
+ 24 May 2010; Tupone Alfredo <tupone@gentoo.org> mednafen-0.8.12.ebuild,
+ +files/mednafen-0.8.12-gcc45.patch:
+ Build with gcc-4.5 Bug #321009 by flameeyes@gentoo.org
+
+ 23 May 2010; Pacho Ramos <pacho@gentoo.org> mednafen-0.8.12.ebuild:
+ stable amd64, bug 312535
+
+ 21 Nov 2009; Markus Meier <maekke@gentoo.org> mednafen-0.8.12.ebuild:
+ x86 stable, bug #288950
+
+*mednafen-0.8.12 (12 Jul 2009)
+
+ 12 Jul 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.12.ebuild:
+ version bump
+
+ 17 Jun 2009; Tristan Heaven <nyhm@gentoo.org> mednafen-0.8.11.ebuild,
+ +files/mednafen-0.8.11-glibc2.10.patch:
+ Fix building with glibc-2.10, bug #273590
+
+*mednafen-0.8.11 (15 Apr 2009)
+
+ 15 Apr 2009; Hanno Boeck <hanno@gentoo.org> +mednafen-0.8.11.ebuild:
+ Version bump.
+
+*mednafen-0.8.10 (30 Jan 2009)
+
+ 30 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.10.ebuild:
+ version bump
+
+ 24 Jul 2008; Raúl Porcel <armin76@gentoo.org> mednafen-0.8.9.ebuild:
+ x86 stable wrt #231880
+
+*mednafen-0.8.9 (20 Jun 2008)
+
+ 20 Jun 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.9.ebuild:
+ version bump (bug #228623)
+
+*mednafen-0.8.8 (22 Apr 2008)
+
+ 22 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.8.ebuild:
+ version bump
+
+*mednafen-0.8.7 (07 Jan 2008)
+
+ 07 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.7.ebuild:
+ version bump
+
+*mednafen-0.8.5 (28 Nov 2007)
+
+ 28 Nov 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ -mednafen-0.7.2.ebuild, -mednafen-0.8.1.ebuild, -mednafen-0.8.4.ebuild,
+ +mednafen-0.8.5.ebuild:
+ version bump (bug #200666); clean out old ebuilds
+
+*mednafen-0.8.4 (14 Nov 2007)
+
+ 14 Nov 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.4.ebuild:
+ version bump
+
+*mednafen-0.8.1 (04 Jul 2007)
+
+ 04 Jul 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +mednafen-0.8.1.ebuild:
+ version bump (bug #184151)
+
+*mednafen-0.7.2 (12 Feb 2007)
+
+ 12 Feb 2007; Tristan Heaven <nyhm@gentoo.org> +mednafen-0.7.2.ebuild:
+ Version bump
+
+*mednafen-0.7.1 (25 Dec 2006)
+
+ 25 Dec 2006; Tristan Heaven <nyhm@gentoo.org> +mednafen-0.7.1.ebuild:
+ Version bump by Kai, bug #158901
+
+*mednafen-0.6.5 (29 Sep 2006)
+
+ 29 Sep 2006; Tristan Heaven <nyhm@gentoo.org> +mednafen-0.6.5.ebuild:
+ Version bump, bug #146371
+
+ 24 May 2006; Joseph Jezak <josejx@gentoo.org> mednafen-0.6.1.ebuild:
+ Marked ~ppc for bug #133867.
+
+ 20 May 2006; Joshua Jackson <tsunam@gentoo.org> mednafen-0.6.1.ebuild:
+ Marking ~x86, as testing is needed before going x86
+
+ 20 May 2006; Jon Hood <squinky86@gentoo.org> mednafen-0.6.1.ebuild:
+ Add ~amd64, #133753.
+
+*mednafen-0.6.1 (19 May 2006)
+
+ 19 May 2006; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +mednafen-0.6.1.ebuild:
+ initial commit - ebuild submitted by Kai via bug #110044
diff --git a/games-emulation/mednafen/metadata.xml b/games-emulation/mednafen/metadata.xml
new file mode 100644
index 00000000..87490a09
--- /dev/null
+++ b/games-emulation/mednafen/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <use>
+ <flag name='debugger'>Build with internal debugger</flag>
+ </use>
+</pkgmetadata>