summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-08-01 13:53:54 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-04 08:40:08 +0700
commit3c89d9eeb107ce1f0feed92531e13bd39e77446d (patch)
treee08b17800fc1dbc70dfca0dc747fabad086fb4e8
parent5a99a1e2edb81b0d88d858a0a2dbd49817953455 (diff)
downloadslackbuilds-3c89d9eeb107ce1f0feed92531e13bd39e77446d.tar.gz
games/mame: Updated for version 0.200.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-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 985b13393f..5e946b3297 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 2cca9ae9e5..2951c81a29 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"