summaryrefslogtreecommitdiff
path: root/games/advancemame
diff options
context:
space:
mode:
Diffstat (limited to 'games/advancemame')
-rw-r--r--games/advancemame/advancemame.SlackBuild15
-rw-r--r--games/advancemame/advancemame.info6
-rw-r--r--games/advancemame/joverride.dat.xzbin0 -> 8640 bytes
3 files changed, 17 insertions, 4 deletions
diff --git a/games/advancemame/advancemame.SlackBuild b/games/advancemame/advancemame.SlackBuild
index 4b51478ef7..9e53662676 100644
--- a/games/advancemame/advancemame.SlackBuild
+++ b/games/advancemame/advancemame.SlackBuild
@@ -8,6 +8,7 @@
# had no license, modified version released under the WTFPL. See
# http://www.wtfpl.net/txt/copying/ for details.
+# 20180702 bkw: Update for v3.8
# 20180206 bkw: Update for v3.7
# 20171211 bkw: Update for v3.6
# 20170610 bkw: Update for v3.5
@@ -23,7 +24,7 @@
# - document optional SDL2 dep, add SDL2 env var to control it
PRGNAM=advancemame
-VERSION=${VERSION:-3.7}
+VERSION=${VERSION:-3.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,12 +70,24 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# 20180702 bkw: This file got left out of the 3.8 release tarball. It
+# xzips down to 8.5K, so just include it here (taken from upstream git).
+JOVER="joverride.dat"
+if [ -e $CWD/$JOVER.xz -a ! -e advance/linux/$JOVER ]; then
+ xzcat $CWD/$JOVER.xz > advance/linux/$JOVER
+fi
+
if [ "${SDL2:-yes}" != "yes" ]; then
SDL2OPT="--enable-sdl --disable-sdl2"
fi
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+# 20180702 bkw: tried using this:
+##SLKCFLAGS="-fuse-ld=gold"
+# but the link fails. advancemame already builds about 8-10x as fast as
+# mame without it, so not worth worrying about this.
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/games/advancemame/advancemame.info b/games/advancemame/advancemame.info
index 2e774c7b8c..ef3ebd72a1 100644
--- a/games/advancemame/advancemame.info
+++ b/games/advancemame/advancemame.info
@@ -1,8 +1,8 @@
PRGNAM="advancemame"
-VERSION="3.7"
+VERSION="3.8"
HOMEPAGE="http://advancemame.sourceforge.net"
-DOWNLOAD="https://github.com/amadvance/advancemame/releases/download/v3.7/advancemame-3.7.tar.gz"
-MD5SUM="884735e2e38db3b621b10603c365bbc2"
+DOWNLOAD="https://github.com/amadvance/advancemame/releases/download/v3.8/advancemame-3.8.tar.gz"
+MD5SUM="b4f71947f229e67b2c0f93c49cba9316"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/games/advancemame/joverride.dat.xz b/games/advancemame/joverride.dat.xz
new file mode 100644
index 0000000000..6f3f694840
--- /dev/null
+++ b/games/advancemame/joverride.dat.xz
Binary files differ