aboutsummaryrefslogtreecommitdiff
path: root/games/advancemame/advancemame.SlackBuild
diff options
context:
space:
mode:
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 4b51478ef7d06..9e53662676d07 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 \