summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-05-06 17:23:23 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-05-06 17:23:23 +0000
commit0079b8c67fedf7f10ad37fadc9abf86023a745d5 (patch)
treef8a0409c612807a51926d194bac84dfd42fb7e40 /games-emulation
parentAdd ~arm/~s390/~sh (diff)
downloadhistorical-0079b8c67fedf7f10ad37fadc9abf86023a745d5.tar.gz
historical-0079b8c67fedf7f10ad37fadc9abf86023a745d5.tar.bz2
historical-0079b8c67fedf7f10ad37fadc9abf86023a745d5.zip
Version bump to 0.9.21 Bug #414597
Package-Manager: portage-2.1.10.57/cvs/Linux i686
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/mednafen/ChangeLog8
-rw-r--r--games-emulation/mednafen/Manifest15
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.21-zlib.patch27
-rw-r--r--games-emulation/mednafen/mednafen-0.9.21.ebuild63
4 files changed, 111 insertions, 2 deletions
diff --git a/games-emulation/mednafen/ChangeLog b/games-emulation/mednafen/ChangeLog
index dddb023021d6..8ccc82a23891 100644
--- a/games-emulation/mednafen/ChangeLog
+++ b/games-emulation/mednafen/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/mednafen
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.34 2012/05/04 04:38:39 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.35 2012/05/06 17:23:23 tupone Exp $
+
+*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:
diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index 1ca1a9733b6f..05b4ff004188 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1,7 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX mednafen-0.8.13.3-zlib-1.2.6.patch 610 RMD160 e63d6a9098dc9ca73fb15f5ea395f7d227cf72f5 SHA1 cbcf29265d1e6a0fc1449cd3def5dd5c4a885a9e SHA256 616ef849d48d48bffcc54f053f54230c8e04712e19facca3c9b53ca81b23e282
AUX mednafen-0.8.13.3-zlib.patch 1191 RMD160 8eb62b63ac3bd39723b4d36c0c0d4da2dc1d6fd1 SHA1 1cacdf91eb40dcc57df0aba0f0051a630046e8cb SHA256 d7f84dcdc8240c751f5d74f54fcef7f94fb97653217ed1a0d4e44323c3831325
+AUX mednafen-0.9.21-zlib.patch 1323 RMD160 d6e24dbde092c178211a61c32594fede01980c46 SHA1 92936f45929f8c25913302e268f21b6f6e793dbd SHA256 c5e959e46059d0902e2fffb17376df260d4656ed35f4d1761734aaabfb95cffd
DIST mednafen-0.8.D.3.tar.bz2 2442705 RMD160 546f49a9541ba4d0367fe682aef23cdadf3d7325 SHA1 b19b92101853cb653506456fd8ab1c0bb0b6e636 SHA256 d678178f0dc03c89c7a0c83bf0c721af406ee53dfa79295432ab13722ed0eea2
+DIST mednafen-0.9.21-wip.tar.bz2 3770486 RMD160 412954c5bc769cdfdc7e4dc9d15e272a5072903a SHA1 983c349ca991190363b713ac8abf7ae78b081a21 SHA256 2c1074337cedd61091b8695915d1bc7cf3f7ad5bbdda755e7b99e32834fc052d
EBUILD mednafen-0.8.13.3-r1.ebuild 1760 RMD160 495e5fbf3fef4d3da1b13a13a845832498d23de0 SHA1 42bd71043085a739b344e450e8971a6efbda273b SHA256 f1674b42ac4c5b16ec496cd29bbd6bc2d0412330de7ed948592870fa5f101125
EBUILD mednafen-0.8.13.3.ebuild 1684 RMD160 e86d19d442d8a481e25b69d1cde04482205baacb SHA1 70d04630a16525fb5cb59f6d3e31b366c4d1a65a SHA256 08810c5e80a9ae722793398f03db25875c9be2cca3a8797ef0e427c0829a7bdd
-MISC ChangeLog 4837 RMD160 3ac91c799de170a2b5c666d87eb021798fbe91cb SHA1 4b05166868867604397c12f9d0c740daebc95b7d SHA256 1c74cdf7e97a8effbd91b005004a89c835cd8c2bffc8227d2869a8d9b8a3c16b
+EBUILD mednafen-0.9.21.ebuild 1617 RMD160 51de1c4e7b1aabf7f0c9e15ae86439b147582ce4 SHA1 e8e6ac79d26fcddf50bffde40f5ddbd067aa5cb2 SHA256 e12296ac6b7cd10ddbab58aa1bfb38fb534288a0f507c26d24e9281964802723
+MISC ChangeLog 5028 RMD160 0df31ebc6c9a842e7db7b4504279699af607f8a1 SHA1 5e82d1019687d209b340d909fe5ab99334bdc48e SHA256 77c5eee02d69754e645154aae9e5e4bcde84bcca32345c31c3f9a5469bb8afcf
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEARECAAYFAk+ms5YACgkQIY77eQFFFC1eqACfdjG3BC44VAfpkIQABmE49M5J
+lQoAn1Jc+AthohoUfzAWyK8Fm3I52XeZ
+=t+6J
+-----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 000000000000..2eec3ed1bf14
--- /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/mednafen-0.9.21.ebuild b/games-emulation/mednafen/mednafen-0.9.21.ebuild
new file mode 100644
index 000000000000..c47ffb174de7
--- /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.1 2012/05/06 17:23:23 tupone 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
+}