summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-06-13 07:13:03 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-06-13 07:13:03 +0000
commit39eda29110cf73513d44a0d409a982439c2be60e (patch)
treefbef3c4335c9874956a7585782b51d156bfa742d /games-emulation
parentmarked x86 per bug 420893 (diff)
downloadgentoo-2-39eda29110cf73513d44a0d409a982439c2be60e.tar.gz
gentoo-2-39eda29110cf73513d44a0d409a982439c2be60e.tar.bz2
gentoo-2-39eda29110cf73513d44a0d409a982439c2be60e.zip
old
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/mednafen/ChangeLog8
-rw-r--r--games-emulation/mednafen/files/mednafen-0.8.13.3-zlib-1.2.6.patch29
-rw-r--r--games-emulation/mednafen/files/mednafen-0.8.13.3-zlib.patch27
-rw-r--r--games-emulation/mednafen/mednafen-0.8.13.3-r1.ebuild66
-rw-r--r--games-emulation/mednafen/mednafen-0.8.13.3.ebuild64
5 files changed, 7 insertions, 187 deletions
diff --git a/games-emulation/mednafen/ChangeLog b/games-emulation/mednafen/ChangeLog
index 3b662fa07d75..a7b2dccc773b 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.38 2012/05/22 00:03:04 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.39 2012/06/13 07:13:03 mr_bones_ Exp $
+
+ 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
diff --git a/games-emulation/mednafen/files/mednafen-0.8.13.3-zlib-1.2.6.patch b/games-emulation/mednafen/files/mednafen-0.8.13.3-zlib-1.2.6.patch
deleted file mode 100644
index 9437f76ce690..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.8.13.3-zlib-1.2.6.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- mednafen.orig/src/file.cpp
-+++ mednafen/src/file.cpp
-@@ -229,7 +229,7 @@
- goto doret;
- }
-
-- while((howmany = gzread(tz, tmp->data + cur_size, cur_alloced - cur_size)) > 0)
-+ while((howmany = gzread((gzFile)tz, tmp->data + cur_size, cur_alloced - cur_size)) > 0)
- {
- cur_size += howmany;
- cur_alloced <<= 1;
-@@ -282,7 +282,7 @@
- }
- else if(type == MDFN_FILETYPE_GZIP)
- {
-- gzclose(tz);
-+ gzclose((gzFile)tz);
- }
- else if(type == MDFN_FILETYPE_ZIP)
- {
-@@ -444,7 +444,7 @@
-
- if(!(fceufp = MakeMemWrap(t, 1)))
- {
-- gzclose(t);
-+ gzclose((gzFile)t);
- return(0);
- }
-
diff --git a/games-emulation/mednafen/files/mednafen-0.8.13.3-zlib.patch b/games-emulation/mednafen/files/mednafen-0.8.13.3-zlib.patch
deleted file mode 100644
index 70a01459b81c..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.8.13.3-zlib.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- src/compress/Makefile.am.inc.old 2011-12-13 10:29:48.462857200 +0100
-+++ src/compress/Makefile.am.inc 2011-12-13 10:30:13.252857319 +0100
-@@ -1 +1 @@
--mednafen_SOURCES += compress/minilzo.c compress/quicklz.cpp compress/blz.cpp compress/ioapi.c compress/unzip.c
-+mednafen_SOURCES += compress/minilzo.c compress/quicklz.cpp compress/blz.cpp
---- src/Makefile.am.old 2011-12-13 10:29:07.702857010 +0100
-+++ src/Makefile.am 2011-12-13 10:34:21.062858500 +0100
-@@ -5,7 +5,7 @@
-
- bin_PROGRAMS = mednafen
- mednafen_SOURCES = debug.cpp error.cpp mempatcher.cpp settings.cpp Blip_Buffer.cpp Stereo_Buffer.cpp endian.cpp mednafen.cpp file.cpp general.cpp md5.cpp memory.cpp netplay.cpp state.cpp movie.cpp wave.cpp player.cpp psf.cpp tests.cpp
--mednafen_LDADD = @LIBINTL@ @LIBICONV@ trio/libtrio.a @SDL_LIBS@
-+mednafen_LDADD = @LIBINTL@ @LIBICONV@ trio/libtrio.a @SDL_LIBS@ -lminizip
- mednafen_DEPENDENCIES = trio/libtrio.a
-
- if WANT_DEBUGGER
---- src/file.cpp.old 2011-12-13 10:26:06.622856149 +0100
-+++ src/file.cpp 2011-12-13 10:26:24.122856234 +0100
-@@ -32,7 +32,7 @@
-
-
- #include <zlib.h>
--#include "compress/unzip.h"
-+#include <minizip/unzip.h>
-
- #include "file.h"
- #include "endian.h"
diff --git a/games-emulation/mednafen/mednafen-0.8.13.3-r1.ebuild b/games-emulation/mednafen/mednafen-0.8.13.3-r1.ebuild
deleted file mode 100644
index a29ebd3b0201..000000000000
--- a/games-emulation/mednafen/mednafen-0.8.13.3-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# 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.8.13.3-r1.ebuild,v 1.3 2012/05/04 04:38:39 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/mednafen/mednafen-${PV/13/D}.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 '/-fomit-frame-pointer/d' \
- -e '/-ffast-math/d' \
- -e '/CPPFLAGS=.*CFLAGS/s/CFLAGS/CXXFLAGS/' \
- -e '/^AX_CFLAGS_GCC_OPTION.*OPTIMIZER_FLAGS/d' \
- configure.ac \
- || die "sed failed"
- epatch "${FILESDIR}"/${P}-zlib.patch
- epatch "${FILESDIR}"/${P}-zlib-1.2.6.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.8.13.3.ebuild b/games-emulation/mednafen/mednafen-0.8.13.3.ebuild
deleted file mode 100644
index aa298707bfa6..000000000000
--- a/games-emulation/mednafen/mednafen-0.8.13.3.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# 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.8.13.3.ebuild,v 1.7 2012/05/19 19:05:25 ssuominen 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/mednafen/mednafen-${PV/13/D}.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
- 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:' \
- -e 's:$(localedir):/usr/share/locale:' \
- $(find . -name 'Makefile.*') \
- || die 'sed failed'
- sed -i \
- -e '/-fomit-frame-pointer/d' \
- -e '/-ffast-math/d' \
- -e '/CPPFLAGS=.*CFLAGS/s/CFLAGS/CXXFLAGS/' \
- -e '/^AX_CFLAGS_GCC_OPTION.*OPTIMIZER_FLAGS/d' \
- configure.ac \
- || die "sed failed"
- 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
-}