aboutsummaryrefslogtreecommitdiff
path: root/games/mame
diff options
context:
space:
mode:
Diffstat (limited to 'games/mame')
-rw-r--r--games/mame/mame.SlackBuild20
-rw-r--r--games/mame/mame.info6
2 files changed, 22 insertions, 4 deletions
diff --git a/games/mame/mame.SlackBuild b/games/mame/mame.SlackBuild
index 985b13393f6f3..5e946b3297e9b 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.
+# 20180731 bkw: Updated for v0.200.
# 20180628 bkw: Updated for v0.199.
# 20180612 bkw: Updated for v0.198 (missed a few releases...)
# 20180130 bkw: Updated for v0.194.
@@ -87,7 +88,7 @@
# - Update .ini file slightly (sound=sdl, not sound=1)
PRGNAM=mame
-VERSION=${VERSION:-0.199}
+VERSION=${VERSION:-0.200}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -174,6 +175,23 @@ find -L . \
# a standard mechanism on both Unix and DOS/Windows systems for what,
# 30 or 40 years now? Come on people...)
+# Version-specific patches & sed fixes. We do it this way to keep this
+# script compatible with older versions.
+PATCHES=""
+case "$VERSION" in
+ 0.200) # couple files missing an include...
+ sed -i '1i#include <cmath>' \
+ src/devices/cpu/mips/ps2vif1.cpp \
+ src/devices/cpu/mips/mips3.cpp
+ ;;
+ *) ;;
+esac
+
+[ -n "$PATCHES" ] && \
+ for i in "$PATCHES"; do
+ [ -f "$CWD/$i" ] && patch -p1 < "$CWD/$i"
+ done
+
# This is purely cosmetic, and can't be set on the make command line.
sed -i 's,ubuntu-intrepid,slackware,g' scripts/genie.lua
sed -i 's/DISTRO := generic/DISTRO := slackware/' makefile
diff --git a/games/mame/mame.info b/games/mame/mame.info
index 2cca9ae9e5e0e..2951c81a294a1 100644
--- a/games/mame/mame.info
+++ b/games/mame/mame.info
@@ -1,8 +1,8 @@
PRGNAM="mame"
-VERSION="0.199"
+VERSION="0.200"
HOMEPAGE="http://mamedev.org/"
-DOWNLOAD="https://github.com/mamedev/mame/archive/mame0199/mame-mame0199.tar.gz"
-MD5SUM="fa7bc22ff0a93bc5f4b7cb3c659dad0c"
+DOWNLOAD="https://github.com/mamedev/mame/archive/mame0200/mame-mame0200.tar.gz"
+MD5SUM="80a135565938d6dd9ec3449ce46b9f0f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2_ttf"