summaryrefslogtreecommitdiff
path: root/games/mame/mame.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-07-28 15:47:42 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-29 17:50:29 +0700
commit3ba86b0d92272e6e81990a8476bac8a1f7d0f7eb (patch)
tree16fbdaee95c18861d13ab6a350c9ac10316cf875 /games/mame/mame.SlackBuild
parent8bab5fe2f7f469192fc5620228559869d8b5f832 (diff)
downloadslackbuilds-3ba86b0d92272e6e81990a8476bac8a1f7d0f7eb.tar.gz
games/mame: Updated for version 0.188.
Signed-off-by: B. Watson <yalhcru@gmail.com>
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.