summaryrefslogtreecommitdiffstats
path: root/games/advancemame/advancemame.SlackBuild
diff options
context:
space:
mode:
author B. Watson2018-07-02 10:32:39 +0200
committer Willy Sudiarto Raharjo2018-07-07 01:54:21 +0200
commit8ecc68eec732b44cf80684678bab6c60099946a7 (patch)
treebb6a5c3fc2f90a536946947c1fbd433379074520 /games/advancemame/advancemame.SlackBuild
parent23b941780a560f7572be828ab9ae12646ea30c03 (diff)
downloadslackbuilds-8ecc68eec732b44cf80684678bab6c60099946a7.tar.gz
games/advancemame: Updated for version 3.8.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/advancemame/advancemame.SlackBuild')
-rw-r--r--games/advancemame/advancemame.SlackBuild15
1 files changed, 14 insertions, 1 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 \