summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz>2016-04-29 08:30:50 +0000
committerwiz <wiz>2016-04-29 08:30:50 +0000
commit33146cbf9313fe7006e5a70e4293b5a051c5c9f7 (patch)
tree3ecce024599fcefaeff370885ef952d28038c8be /emulators
parent647514563a85bee0b1b1b6f970ec569f180ccd3d (diff)
downloadpkgsrc-33146cbf9313fe7006e5a70e4293b5a051c5c9f7.tar.gz
Updated mame to 0.173.
It's the end of another month, and time for a new MAME release. This time there are more improvements for capabilities we have added in previous versions. MAME now includes ports of some popular shaders for the BGFX renderer, including the EAGLE, HQx and xBR scaling effects. Please be aware that the BGFX renderer is still a work in progress, and you may experience some stability issues when using it. This release introduces a new cheat engine based on the Lua scripting language. This opens the door to exciting new possibilities. One of the most significant improvements is better support for systems with banked memory, including many 8-bit home computers like the Apple II family. MAME's archive file handling has been improved in a number of ways. ZIP64 format is now supported, allowing MAME to archives over 4GiB in size. This mean that, for example, large flyer collections don't need to be unzipped for use with the internal UI. 7zip support has been updated for the latest 7zip release, including new archive features and many bug fixes. We've also fixed a number of bugs in the internal file browser. Of course this release also includes many other improvements from the MAME team and external contributors.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mame/Makefile18
-rw-r--r--emulators/mame/PLIST9
-rw-r--r--emulators/mame/distinfo12
-rw-r--r--emulators/mame/patches/patch-scripts_genie.lua33
4 files changed, 51 insertions, 21 deletions
diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index 83c78e7b6e0..3ba947f6c43 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.55 2016/04/14 21:47:07 wiz Exp $
+# $NetBSD: Makefile,v 1.56 2016/04/29 08:30:50 wiz Exp $
-DISTNAME= mame-0.172
+DISTNAME= mame-0.173
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=mamedev/}
GITHUB_TAG= ${DISTNAME:S/-//S/.//}
@@ -13,7 +13,8 @@ LICENSE= modified-bsd AND gnu-gpl-v2
DOCDIR= share/doc/mame
SHAREDIR= share/mame
INSTALLATION_DIRS= bin ${DOCDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man6
-INSTALLATION_DIRS+= ${SHAREDIR}/artwork ${SHAREDIR}/hash
+INSTALLATION_DIRS+= ${SHAREDIR}/artwork/bgfx/border_blur
+INSTALLATION_DIRS+= ${SHAREDIR}/artwork/bgfx/chains ${SHAREDIR}/hash
RESTRICTED= selling is not allowed
NO_SRC_ON_CDROM= ${RESTRICTED}
@@ -106,13 +107,16 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mame64 ${DESTDIR}${PREFIX}/bin/mame
set -e; \
for prg in castool chdman floptool imgtool jedutil ldresample ldverify \
- nltool pngcmp regrep romcmp split src2html srcclean testkeys unidasm; \
+ nltool nlwav pngcmp regrep romcmp split src2html srcclean unidasm; \
do \
${INSTALL_PROGRAM} ${WRKSRC}/"$$prg" ${DESTDIR}${PREFIX}/bin; \
done
- ${INSTALL_DATA} ${WRKSRC}/src/osd/sdl/man/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA} ${WRKSRC}/src/osd/sdl/man/*.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
- ${INSTALL_DATA} ${WRKSRC}/artwork/* ${DESTDIR}${PREFIX}/${SHAREDIR}/artwork
+ ${INSTALL_DATA} ${WRKSRC}/docs/man/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/docs/man/*.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
+ ${INSTALL_DATA} ${WRKSRC}/artwork/LICENSE ${DESTDIR}${PREFIX}/${SHAREDIR}/artwork
+ ${INSTALL_DATA} ${WRKSRC}/artwork/*.* ${DESTDIR}${PREFIX}/${SHAREDIR}/artwork
+ ${INSTALL_DATA} ${WRKSRC}/artwork/bgfx/border_blur/* ${DESTDIR}${PREFIX}/${SHAREDIR}/artwork/bgfx/border_blur
+ ${INSTALL_DATA} ${WRKSRC}/artwork/bgfx/chains/* ${DESTDIR}${PREFIX}/${SHAREDIR}/artwork/bgfx/chains
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/hash/* ${DESTDIR}${PREFIX}/${SHAREDIR}/hash
diff --git a/emulators/mame/PLIST b/emulators/mame/PLIST
index 57ac9d198e1..0ed6782ef35 100644
--- a/emulators/mame/PLIST
+++ b/emulators/mame/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2016/04/14 21:47:07 wiz Exp $
+@comment $NetBSD: PLIST,v 1.13 2016/04/29 08:30:50 wiz Exp $
bin/castool
bin/chdman
bin/floptool
@@ -8,13 +8,13 @@ bin/ldresample
bin/ldverify
bin/mame
bin/nltool
+bin/nlwav
bin/pngcmp
bin/regrep
bin/romcmp
bin/split
bin/src2html
bin/srcclean
-bin/testkeys
bin/unidasm
man/man1/castool.1
man/man1/chdman.1
@@ -42,6 +42,10 @@ share/doc/mame/windows.txt
share/mame/artwork/LICENSE
share/mame/artwork/README.md
share/mame/artwork/aperture-grille.png
+share/mame/artwork/bgfx/border_blur/default.lay
+share/mame/artwork/bgfx/chains/hq2x.png
+share/mame/artwork/bgfx/chains/hq3x.png
+share/mame/artwork/bgfx/chains/hq4x.png
share/mame/artwork/monochrome-chessboard.png
share/mame/artwork/monochrome-matrix.png
share/mame/artwork/shadow-mask.png
@@ -321,6 +325,7 @@ share/mame/hash/pc8801_flop.xml
share/mame/hash/pc88va.xml
share/mame/hash/pc98.xml
share/mame/hash/pce.xml
+share/mame/hash/pce_tourvision.xml
share/mame/hash/pcecd.xml
share/mame/hash/pcw.xml
share/mame/hash/pcw16.xml
diff --git a/emulators/mame/distinfo b/emulators/mame/distinfo
index 2697e4593cc..7b73c96e47d 100644
--- a/emulators/mame/distinfo
+++ b/emulators/mame/distinfo
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.50 2016/04/14 21:47:07 wiz Exp $
+$NetBSD: distinfo,v 1.51 2016/04/29 08:30:50 wiz Exp $
-SHA1 (mame-0.172.tar.gz) = f6ea29f7880a05f8d835c538f4316bd4b0adad18
-RMD160 (mame-0.172.tar.gz) = b2cff1f9890091efec09ed774e20f7510747060b
-SHA512 (mame-0.172.tar.gz) = cf6f4a8da6c8e19ec81da5a79c6d2d0b9b6a687d5103e7010e83566a1eb24a829765c4964e2dbcbf7aa2ea6fe7f1f19faf9b4b0a9051e669bd0f33a8cd58a269
-Size (mame-0.172.tar.gz) = 97300980 bytes
+SHA1 (mame-0.173.tar.gz) = 682035727ac201384d36a28c4ad0ca90011f321c
+RMD160 (mame-0.173.tar.gz) = 5f093104d36976fa28ce345e18a5f63ad1b59169
+SHA512 (mame-0.173.tar.gz) = 731e94af1cde80ce0d62a4ff65ed7b1de97ed0e84633396eb9ec6e3a10d5da0717424f277fcbde5cd64a622a669ea7776047837d8f86f8baf6f077916eb982ee
+Size (mame-0.173.tar.gz) = 98395748 bytes
SHA1 (patch-3rdparty_bgfx_examples_common_font_font__manager.cpp) = e39b2dff553505531adb5f0a31b0a22306b8e2e4
SHA1 (patch-3rdparty_bx_include_bx_thread.h) = 779c8b750a3ae5d50d12c6430678ada64a4b82ed
SHA1 (patch-3rdparty_libuv_src_unix_netbsd.c) = 63d2378c19cbbcb71d7540e088c3bdf5940f4dc6
SHA1 (patch-makefile) = 0be740e7d61cdaa66c1c415f84344b37da267a45
-SHA1 (patch-scripts_genie.lua) = 8bcb97215fcc379b34f893d53843533630d0f26e
+SHA1 (patch-scripts_genie.lua) = f0b6b9fe00b6f572089fc2a7495fe1fd3c86ae4e
SHA1 (patch-scripts_src_3rdparty.lua) = 306917af65da601667ffc9ffaf7b8092a2d03ef7
diff --git a/emulators/mame/patches/patch-scripts_genie.lua b/emulators/mame/patches/patch-scripts_genie.lua
index 11d3f3637ed..1372420559f 100644
--- a/emulators/mame/patches/patch-scripts_genie.lua
+++ b/emulators/mame/patches/patch-scripts_genie.lua
@@ -1,11 +1,24 @@
-$NetBSD: patch-scripts_genie.lua,v 1.2 2016/04/14 21:47:07 wiz Exp $
+$NetBSD: patch-scripts_genie.lua,v 1.3 2016/04/29 08:30:50 wiz Exp $
-Detect clang correctly.
+Precompilation is broken on NetBSD with gcc-5.3.
Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD.
+Detect clang correctly.
---- scripts/genie.lua.orig 2016-03-30 09:03:03.000000000 +0000
+--- scripts/genie.lua.orig 2016-04-27 06:13:59.000000000 +0000
+++ scripts/genie.lua
-@@ -672,22 +672,22 @@ local version = str_to_version(_OPTIONS[
+@@ -65,11 +65,6 @@ function layoutbuildtask(_folder, _name)
+ end
+
+ function precompiledheaders()
+- if _OPTIONS["precompile"]==nil or (_OPTIONS["precompile"]~=nil and _OPTIONS["precompile"]=="1") then
+- configuration { "not xcode4" }
+- pchheader("emu.h")
+- configuration { }
+- end
+ end
+
+ function addprojectflags()
+@@ -692,22 +687,22 @@ local version = str_to_version(_OPTIONS[
if string.find(_OPTIONS["gcc"], "clang") and ((version < 30500) or (_OPTIONS["targetos"]=="macosx" and (version <= 60000))) then
buildoptions_cpp {
"-x c++",
@@ -32,7 +45,7 @@ Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD.
}
end
-- this speeds it up a bit by piping between the preprocessor/compiler/assembler
-@@ -933,7 +933,17 @@ end
+@@ -950,7 +945,17 @@ end
local version = str_to_version(_OPTIONS["gcc_version"])
@@ -51,7 +64,15 @@ Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD.
if (version < 30400) then
print("Clang version 3.4 or later needed")
os.exit(-1)
-@@ -959,16 +969,6 @@ end
+@@ -963,7 +968,6 @@ end
+ "-Wno-inline-new-delete",
+ "-Wno-constant-logical-operand",
+ "-Wno-deprecated-register",
+- "-fdiagnostics-show-note-include-stack",
+ }
+ if (version >= 30500) then
+ buildoptions {
+@@ -977,16 +981,6 @@ end
"-Wno-tautological-undefined-compare",
}
end