summaryrefslogtreecommitdiff
path: root/games/mame/mame.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/mame/mame.SlackBuild')
-rw-r--r--games/mame/mame.SlackBuild16
1 files changed, 13 insertions, 3 deletions
diff --git a/games/mame/mame.SlackBuild b/games/mame/mame.SlackBuild
index b499fac9ae..fce5d18287 100644
--- a/games/mame/mame.SlackBuild
+++ b/games/mame/mame.SlackBuild
@@ -9,6 +9,9 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170726 bkw:
+# - Updated for v0.188.
+
# 20170702 bkw:
# - Updated for v0.187.
@@ -82,7 +85,7 @@
# - Update .ini file slightly (sound=sdl, not sound=1)
PRGNAM=mame
-VERSION=${VERSION:-0.187}
+VERSION=${VERSION:-0.188}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -134,11 +137,11 @@ chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -print0 | \
- xargs -0 chmod 755
+ xargs -r -0 chmod 755
find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -print0 | \
- xargs -0 chmod 644
+ xargs -r -0 chmod 644
# OK, building modern mame is a bit of a PITA. It uses genie (written
# in lua, a fork of premake), but you don't get to run genie directly,
@@ -146,6 +149,13 @@ find -L . \
# genie with arguments based on the options in the main makefile. Also,
# it uses python to convert XML layout files to C++ code.
+# complay.py is the layout compressor. Layouts are XML, complay
+# compresses them and also seems to generate C code. The script got
+# updated between mame 0.187 and 0.188, and the new version doesn't
+# work. I don't know enough about Python to fix this in a timely
+# manner, so for now I'll just use the old version of the script.
+cp $CWD/complay.py scripts/build/complay.py
+
# Where possible, use system libraries instead of building the ones
# bundled with the mame source. However, SBo's lua is (still!) too old
# for mame.