summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-12-08 08:32:15 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-12-08 08:32:15 +0000
commit5cff05575577895e51cbeaeb7c6e645a94e4c99a (patch)
treec9edbd8eab04bd97ee0afd45e84199d4469bfc45 /games-emulation
parentSometimes repository test gets stuck, check again on next major release (diff)
downloadhistorical-5cff05575577895e51cbeaeb7c6e645a94e4c99a.tar.gz
historical-5cff05575577895e51cbeaeb7c6e645a94e4c99a.tar.bz2
historical-5cff05575577895e51cbeaeb7c6e645a94e4c99a.zip
version bump
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/mednafen/ChangeLog10
-rw-r--r--games-emulation/mednafen/Manifest7
-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.patch30
-rw-r--r--games-emulation/mednafen/mednafen-0.9.32.ebuild59
6 files changed, 150 insertions, 2 deletions
diff --git a/games-emulation/mednafen/ChangeLog b/games-emulation/mednafen/ChangeLog
index fb1fe04441b5..3b76abc52da4 100644
--- a/games-emulation/mednafen/ChangeLog
+++ b/games-emulation/mednafen/ChangeLog
@@ -1,6 +1,14 @@
# 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.47 2013/12/08 07:37:35 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.48 2013/12/08 08:32:10 mr_bones_ Exp $
+
+*mednafen-0.9.32 (08 Dec 2013)
+
+ 08 Dec 2013; 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:
+ version bump
08 Dec 2013; Michael Sterrett <mr_bones_@gentoo.org>
-files/mednafen-0.9.21-zlib.patch, -mednafen-0.9.21.ebuild:
diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index 61cdc3a0647c..560f6eaf89ea 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1,7 +1,12 @@
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
+AUX mednafen-0.9.32-automake-1.13.patch 372 SHA256 1cc28062d38a372ae2e2cbb56efdd5d0bfa60b83cc5c6ec5fb6adab0de7578e1 SHA512 79eecf9fce0d2da04fb05f4d1453ac5aafee24cc13126c5305a8e1beb14d548ccb1c19df9da5a6017c80433d955362aa39272382e34d55d73364a99f67529eda WHIRLPOOL dfaf51d0b21248e035084e73d89e82c7f1bcf6dc7a4f2a632312ca9640edc9f36801154b98e97b7374da93914529c267aba9985703a385d0d102e34f91cd79fb
+AUX mednafen-0.9.32-cflags.patch 1560 SHA256 404029dc11bc8d3271eb3d62a6949c719ab660af5098b8038d4dbba09c484b85 SHA512 658dceb99abe9093fdf0753779663a968986f578d4992865a767d5caf65ef20813080a0755f90ffe433df4f6981f43c449de30aa253a84db668b2582c063f1bf WHIRLPOOL 8a961ed0d49a85b2f9fd20cac40d6cc55859c9d2148f378d63a8693aa171bdcb4bb063760b2bc1daa302e1d68b7729f845428b655e313c984b62a8b42e209009
+AUX mednafen-0.9.32-zlib.patch 1628 SHA256 161bf6682de65caa0a2ffd52000244b3289e7c21454bd99952761d3ffdb75947 SHA512 71e9d67f3a2f9e4534c96cd856e68d6d163fc71de15b31ade139b3a3b09aeead29aad7acf053c01b37b9d139bcdeafb66c231cab370bae49d4ee95a02b2b6e73 WHIRLPOOL 006fb50fec95ea1fa067c399d9f23803372bb5e1d4e95a96c6a4fe34af424183b076f148234af47bb94d841a19e0b09ac0f19adf95f85aea9746be386c9072ce
DIST mednafen-0.9.28-wip.tar.bz2 3901828 SHA256 415ce0055c43560fb8e5b225108cfeb2fb2363841c39cc37eaa1c5e605675bde SHA512 4bc4347e31c7b4ddc10426ff422192706cf90a7fef10209c09880eef5e1b8f3c6820ffb975e68e030e26be0bb5999a299bd2d95cf52b036438c0499edb099033 WHIRLPOOL 458e2157b615f587087fd94a5a77f2d07eda9a5d2248304044178371e71b84069cb55b0d4d27dc92a2517b1bc98779bf675f237e5e428c747ca17c062822207c
+DIST mednafen-0.9.32-wip.tar.bz2 4198850 SHA256 830b5a45360f92e3281c3d3d4e80b39a93424d1b5fc3afbc3dd6a587b09abfb2 SHA512 3e43af412b3d8c97fb15e92a5d3c6f0135dc4d55551c302e8cd07a54b959ff36c29baca3b0b42f0c9c752d956116966ae3e727ce80ce41c805c2f04737677be6 WHIRLPOOL ae00f0658ad6f9e84fd57465778b48052428c99325b35f7a424acce628f5e532a9738fce6c93018fa6d18016ec46342311a9671255c036225b2aef05cd6d5985
EBUILD mednafen-0.9.28.ebuild 1487 SHA256 9e54334151f8fd8dc0085facc0fca988520a2b62ff327ad0956720fb23f228d5 SHA512 54cb10faf458b764da10f97b37718d809986d6aab734fa27599dba91c1a6e7076050586084aedd62f0111a6a3fe51c55f9949841dd1d14b3f0f54cd7ec928692 WHIRLPOOL 4303a3d2d24f7ac439b5852bc118bd8b0447d7e1ef0aff1cdcf1e7f3f2ebe96482f1ec7697a647a8c96ebc2eb70f971fca00ed0147e8e036674a3fe5c1c2fd12
-MISC ChangeLog 6443 SHA256 3bb1930ad733b4497ec08194b284af586758514fd152c9cb401ff5347feaabfc SHA512 60da502607695b063c24bbc85425880665f97a0cd228d1342868a0a99c13e3b25594fbe5abb147f4b69dcc907cfea42990eeb1ba972f2ed0c5296f46533f58af WHIRLPOOL f90bfe4ec1ba6e912215a5b1e817b5e54b4ab323f096e12199c57a9aff69d4a59c69b746c4a7a9eb66870977138e8d6a4bdb62c22ec4129956d5a17a0841f9bb
+EBUILD mednafen-0.9.32.ebuild 1495 SHA256 4efc9db8731dc00524ff43b025a5a3b7a3bab3fd81bf9b453057d562b584921a SHA512 2072d0528ed6a0b3219664a2f598fdb08d021e5f078053ddcf846fcdee5c1867445a0523e0fbf162efad94b04358390bab2b67bed974b58f75f9cf285066731f WHIRLPOOL bb945366b2ccf367f6b1022a60ca31560dafe49d3dad28e5b795183ea059bf9cc75b2e55b3bf206ce68a0ba562a77493d571bcbd24ab04c11c14db98a04e0cf5
+MISC ChangeLog 6693 SHA256 de359d52d3a5891ed45b29c516e11b639399c762c224917edb7679cb0bf21097 SHA512 5d170fb6e6c20b686a0d05e7dbaf1d8e9a489fc08195deb1f4718102844b7c7dac77605e6730db9b88e864a19905874cbe875a1c446902c481bb7e62a12f91ee WHIRLPOOL 79bcbed81238b15fd617e4786027ce3a2e60c88c28dbe5a31b1045e79b12c8f945f2ae92d317abcafd4d40ca44bd1ed00799c11bf9efe2c05836a24aed461af3
MISC metadata.xml 233 SHA256 7ef382bb262a87add83f9f888605564ba0996965964a80239613593302c76a05 SHA512 9190a76d53fe28e92c58ebf8e7308522b8697be30fe10d1d9eeae892b93e40106f9c8274c6fee82a2bfee7b7efdb398cf687fd5549080b80d8167f8bf27cc207 WHIRLPOOL 3d4911033f7d3d6ef8bbf6833dc076d90b642f32f454e13483cc0333137705026def3224531a234d696fc580fc9fbefe420fe1bcfb76ec44ba6f476d48c1f19a
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
new file mode 100644
index 000000000000..14c69d94ef0e
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.9.32-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.32-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.32-cflags.patch
new file mode 100644
index 000000000000..0fca1c6136e2
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.9.32-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.32-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.32-zlib.patch
new file mode 100644
index 000000000000..8ada20096ecb
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.9.32-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.32.ebuild b/games-emulation/mednafen/mednafen-0.9.32.ebuild
new file mode 100644
index 000000000000..396e4de4aab5
--- /dev/null
+++ b/games-emulation/mednafen/mednafen-0.9.32.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.32.ebuild,v 1.1 2013/12/08 08:32:10 mr_bones_ 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
+}