From 8ecc68eec732b44cf80684678bab6c60099946a7 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 2 Jul 2018 04:32:39 -0400 Subject: games/advancemame: Updated for version 3.8. Signed-off-by: B. Watson --- games/advancemame/advancemame.SlackBuild | 15 ++++++++++++++- games/advancemame/advancemame.info | 6 +++--- games/advancemame/joverride.dat.xz | Bin 0 -> 8640 bytes 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 games/advancemame/joverride.dat.xz (limited to 'games/advancemame') 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 Binary files /dev/null and b/games/advancemame/joverride.dat.xz differ -- cgit v1.2.3-65-gdbad