mame: update to 0.175

This commit is contained in:
Jürgen Buchmüller 2016-06-30 07:56:45 +02:00
parent 0b7c847742
commit a4249fba7f
3 changed files with 17 additions and 22 deletions

View File

@ -1,12 +0,0 @@
--- src/lib/util/strformat.h 2016-03-30 11:03:03.000000000 +0200
+++ src/lib/utils/strformat.h 2016-03-31 03:15:28.076259871 +0200
@@ -185,7 +185,8 @@
#include <type_traits>
#include <utility>
-#if defined(__GLIBCXX__) && (__GLIBCXX__ < 20150413)
+#if (defined(USE_INTERNAL_CBEGIN_CEND) && USE_INTERNAL_CBEGIN_CEND) || \
+ (defined(__GLIBCXX__) && (__GLIBCXX__ < 20150413))
namespace std
{
template<class _Container>

View File

@ -0,0 +1,10 @@
--- src/osd/modules/lib/osdlib_unix.cpp 2016-06-29 08:34:30.000000000 +0200
+++ src/osd/modules/lib/osdlib_unix.cpp 2016-06-30 00:05:37.786102315 +0200
@@ -15,7 +15,6 @@
#include <signal.h>
#include <dlfcn.h>
-#include <codecvt>
#include <iomanip>
#include <memory>

View File

@ -1,6 +1,6 @@
# Template file for 'mame'
pkgname=mame
version=0174
version=0175
revision=1
wrksrc="mame-mame${version}"
homepage="http://mamedev.org"
@ -8,11 +8,11 @@ distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz"
short_desc="The Multiple Arcade Machine Emulator"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
checksum=249dc43d27f435b47e6bd30754eaa2b52253da37aa04498cb9cc6df5c2041cfa
checksum=b24a889cff0fa98c04e0a14dc06f72ba8dbec57b251a01cdd201da1824a3afd4
hostmakedepends="perl pkg-config python automoc4"
makedepends="SDL2_ttf-devel $(vopt_if qt qt5-devel) lua-devel libjpeg-turbo-devel
libflac-devel libuv-devel sqlite-devel portaudio-devel portmidi-devel"
makedepends="libstdc++-devel SDL2_ttf-devel $(vopt_if qt qt5-devel) lua-devel
libjpeg-turbo-devel libflac-devel libuv-devel sqlite-devel portaudio-devel portmidi-devel"
depends="liberation-fonts-ttf"
nocross=yes
replaces="sdlmame>=0 sdlmess>=0"
@ -20,10 +20,6 @@ replaces="sdlmame>=0 sdlmess>=0"
CXXFLAGS="-DUSE_INTERNAL_CBEGIN_CEND=1 -I${XBPS_CROSS_BASE}/usr/include/lua5.3"
LDFLAGS="-Wl,-fuse-ld=gold"
case "$XBPS_TARGET_MACHINE" in
i686*) broken="ENOMEM";;
esac
build_options="qt"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="qt"
@ -33,6 +29,7 @@ do_build() {
local opts="REGENIE=1"
opts+=" NOWERROR=1"
opts+=" TOOLS=1"
opts+=" VERBOSE=1"
opts+=" OPTIMIZE=3"
opts+=" USE_SYSTEM_LIB_EXPAT=1"
opts+=" USE_SYSTEM_LIB_ZLIB=1"
@ -54,8 +51,8 @@ do_build() {
case "$XBPS_TARGET_MACHINE" in
i686*) # Build mamearcade and mess separately to
# overcome linker memory exhaustion
make ${opts} SUBTARGET=arcade ${makejobs}
make ${opts} SUBTARGET=mess ${makejobs}
opts+=" SYMBOLS=0"
make ${opts} ${makejobs}
;;
*) # Build all in one mame[64]
make ${opts} ${makejobs}