aboutsummaryrefslogtreecommitdiff
path: root/games/mame
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-12-01 03:36:37 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-09 13:17:25 +0700
commit6ce86694e5c67991e0472a455f79baf0f4a764cb (patch)
treec3e740712c34cd312b644d06cac97410e6e07edf /games/mame
parentf4d6f71b4a9ce75416e5203e98f35885df36f6d7 (diff)
games/mame: Updated for version 0.204.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/mame')
-rw-r--r--games/mame/mame.SlackBuild23
-rw-r--r--games/mame/mame.info6
2 files changed, 15 insertions, 14 deletions
diff --git a/games/mame/mame.SlackBuild b/games/mame/mame.SlackBuild
index dc08ffc2f32e9..8325f06d17e22 100644
--- a/games/mame/mame.SlackBuild
+++ b/games/mame/mame.SlackBuild
@@ -9,6 +9,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20181130 bkw: Updated for v0.204, including compile fix for xavix.cpp.
# 20181031 bkw: Updated for v0.203.
# 20180928 bkw: Updated for v0.202.
# 20180830 bkw: Updated for v0.201.
@@ -91,7 +92,7 @@
# - Update .ini file slightly (sound=sdl, not sound=1)
PRGNAM=mame
-VERSION=${VERSION:-0.203}
+VERSION=${VERSION:-0.204}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -138,16 +139,16 @@ tar xvf $CWD/$DIRNAME.tar.gz
cd $DIRNAME
chown -R root:root .
-# This isn't standard template code, but it executes maybe a hundred
-# times as fast, and does the same thing.
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -print0 | \
- 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 -r -0 chmod 644
+# 20181201 bkw: Urchlay's personal template:
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# 20181130 bkw: the new xavix code in 0.204 is missing this include.
+# Add future versions to the first case, as needed.
+case "$VERSION" in
+ 0.204) sed -i '1i#include <cmath>' src/mame/video/xavix.cpp ;;
+ *) ;;
+esac
# 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,
diff --git a/games/mame/mame.info b/games/mame/mame.info
index 86cb32bdbaed1..aa69232d3f0a3 100644
--- a/games/mame/mame.info
+++ b/games/mame/mame.info
@@ -1,8 +1,8 @@
PRGNAM="mame"
-VERSION="0.203"
+VERSION="0.204"
HOMEPAGE="http://mamedev.org/"
-DOWNLOAD="https://github.com/mamedev/mame/archive/mame0203/mame-mame0203.tar.gz"
-MD5SUM="a4f82bf533c1826b43a8ac24a3aeb80c"
+DOWNLOAD="https://github.com/mamedev/mame/archive/mame0204/mame-mame0204.tar.gz"
+MD5SUM="48fd3e3b5a52a595b251fe106948d31b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2_ttf"