summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-02-19 01:51:19 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-02-19 01:51:19 +0000
commit10519c9fda71ac0e740ac86febd1dd902f6a53ed (patch)
treec1f20e94f4897121e7c2f2f056b5b86d96e24d5e /games-emulation/mednafen
parentold (diff)
downloadgentoo-2-10519c9fda71ac0e740ac86febd1dd902f6a53ed.tar.gz
gentoo-2-10519c9fda71ac0e740ac86febd1dd902f6a53ed.tar.bz2
gentoo-2-10519c9fda71ac0e740ac86febd1dd902f6a53ed.zip
old
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-emulation/mednafen')
-rw-r--r--games-emulation/mednafen/ChangeLog8
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.32-automake-1.13.patch11
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.32-cflags.patch35
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.32-zlib.patch27
-rw-r--r--games-emulation/mednafen/mednafen-0.9.32.ebuild59
5 files changed, 7 insertions, 133 deletions
diff --git a/games-emulation/mednafen/ChangeLog b/games-emulation/mednafen/ChangeLog
index d333f7448718..449e6c671b20 100644
--- a/games-emulation/mednafen/ChangeLog
+++ b/games-emulation/mednafen/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/mednafen
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.52 2015/02/15 20:44:42 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.53 2015/02/19 01:51:19 mr_bones_ Exp $
+
+ 19 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/mednafen-0.9.32-automake-1.13.patch,
+ -files/mednafen-0.9.32-cflags.patch, -files/mednafen-0.9.32-zlib.patch,
+ -mednafen-0.9.32.ebuild:
+ old
15 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org>
files/mednafen-0.9.38.1-zlib.patch:
diff --git a/games-emulation/mednafen/files/mednafen-0.9.32-automake-1.13.patch b/games-emulation/mednafen/files/mednafen-0.9.32-automake-1.13.patch
deleted file mode 100644
index 14c69d94ef0e..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.9.32-automake-1.13.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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.32-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.32-cflags.patch
deleted file mode 100644
index 76b8a2e94c9f..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.9.32-cflags.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- configure.ac.orig
-+++ configure.ac
-@@ -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.32-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.32-zlib.patch
deleted file mode 100644
index a555bec79164..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.9.32-zlib.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- mednafen.orig/src/Makefile.am
-+++ mednafen/src/Makefile.am
-@@ -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
---- mednafen.orig/src/compress/Makefile.am.inc
-+++ mednafen/src/compress/Makefile.am.inc
-@@ -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
---- mednafen.orig/src/file.cpp
-+++ mednafen/src/file.cpp
-@@ -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.32.ebuild b/games-emulation/mednafen/mednafen-0.9.32.ebuild
deleted file mode 100644
index 207cb7682fe2..000000000000
--- a/games-emulation/mednafen/mednafen-0.9.32.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/mednafen-0.9.32.ebuild,v 1.2 2014/05/15 16:37:57 ulm 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[sound,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
-}