mame: update to 0.167

This commit is contained in:
Jürgen Buchmüller 2015-10-28 08:53:51 +01:00
parent 854f769294
commit 7f19f238eb
2 changed files with 6 additions and 25 deletions

View file

@ -1,11 +0,0 @@
--- 3rdparty/bx/include/bx/thread.h 2015-09-30 14:03:06.501362188 +0200
+++ 3rdparty/bx/include/bx/thread.h 2015-09-30 14:07:06.685343449 +0200
@@ -149,7 +149,7 @@
{
#if BX_PLATFORM_OSX || BX_PLATFORM_IOS
pthread_setname_np(_name);
-#elif BX_PLATFORM_LINUX || BX_PLATFORM_FREEBSD
+#elif (BX_PLATFORM_LINUX && defined(__GLIBC__)) || BX_PLATFORM_FREEBSD
pthread_setname_np(m_handle, _name);
#elif BX_PLATFORM_WINDOWS && BX_COMPILER_MSVC
# pragma pack(push, 8)

View file

@ -1,16 +1,16 @@
# Template file for 'mame'
pkgname=mame
version=0166
revision=2
wrksrc="mame-${version}s"
version=0167
revision=1
wrksrc="mame-mame${version}"
homepage="http://mamedev.org"
distfiles="https://github.com/mamedev/$pkgname/releases/download/${pkgname}${version}/${pkgname}${version}s.zip"
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="mame"
checksum=78c8f4c212f5a5bd30f946739eeea429e326ec8f7d15656e452ee3057ae01c1d
checksum=fbb7fb8c98c2a26fed44441732d5c64c7c9c7417288e6b71a5cd0cea433e5064
hostmakedepends="unzip perl pkg-config python automoc4"
hostmakedepends="perl pkg-config python automoc4"
makedepends="SDL2_ttf-devel fontconfig-devel qt-devel lua-devel
libjpeg-turbo-devel libflac-devel sqlite-devel portaudio-devel portmidi-devel"
depends="liberation-fonts-ttf"
@ -18,14 +18,6 @@ nocross=yes
repository="nonfree"
replaces="sdlmame>=0 sdlmess>=0"
do_extract() {
# mame source code is double-zipped to save space.
cd ${wrksrc}
unzip -q ${XBPS_SRCDISTDIR}/${pkgname}-${version}/$(basename $distfiles)
unzip -q mame.zip
rm -f mame.zip
find . -type f -not -name \*.png -print0 | xargs -0 perl -pi -e 's/\r\n?/\n/g'
}
do_build() {
local opts="REGENIE=1"
opts+=" NOWERROR=1"