diff options
Diffstat (limited to 'games/advancemame')
-rw-r--r-- | games/advancemame/README | 6 | ||||
-rw-r--r-- | games/advancemame/advancemame.SlackBuild | 31 | ||||
-rw-r--r-- | games/advancemame/advancemame.info | 8 | ||||
-rw-r--r-- | games/advancemame/joverride.dat.xz | bin | 8640 -> 0 bytes |
4 files changed, 19 insertions, 26 deletions
diff --git a/games/advancemame/README b/games/advancemame/README index 483467c542..b0b04523a1 100644 --- a/games/advancemame/README +++ b/games/advancemame/README @@ -4,7 +4,5 @@ Advancemame is a derivative of the well known "mame" emulator. It works easily on linux, with joystick support, fullscreen support, and more "out of the box." -Optional dependency: SDL2. By default, advancemame is built with -SDL-1.2. If SDL-2.0 is installed, advancemame will autodetect it and use -it instead. If you have SDL2 installed, but want to build advancemame -with SDL-1.2, set SDL2=no in the script's environment. +By default, advancemame is built with SDL2. If you want to build +advancemame with SDL-1.2, set SDL2=no in the script's environment. diff --git a/games/advancemame/advancemame.SlackBuild b/games/advancemame/advancemame.SlackBuild index 725bf9a5d4..9384419a66 100644 --- a/games/advancemame/advancemame.SlackBuild +++ b/games/advancemame/advancemame.SlackBuild @@ -4,10 +4,13 @@ # Originally written by seb (email removed) -# Now maintained by B. Watson <yalhcru@gmail.com>. Original version +# Now maintained by B. Watson <urchlay@slackware.uk>. Original version # had no license, modified version released under the WTFPL. See # http://www.wtfpl.net/txt/copying/ for details. +# 20240320 bkw: update for v3.10 +# 20220401 bkw: BUILD=3, add SlackBuild to doc dir +# 20211004 bkw: BUILD=2, fix for -current # 20180910 bkw: Update for v3.9 # 20180702 bkw: Update for v3.8 # 20180206 bkw: Update for v3.7 @@ -27,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=advancemame -VERSION=${VERSION:-3.9} +VERSION=${VERSION:-3.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -75,18 +75,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -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 +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + if [ "${SDL2:-yes}" != "yes" ]; then SDL2OPT="--enable-sdl --disable-sdl2" @@ -119,7 +109,10 @@ make # into them, resulting in a mess. make -j1 install prefix=$PKG/usr bindir=$PKG/usr/games docdir=$PKGDOC -# Binaries are installed stripped. Man pages are in the wrong section! +# 20240320 bkw: in 3.9, binaries were installed stripped. Not so in 3.10. +strip $PKG/usr/games/* + +# Man pages are in the wrong section! mv $PKG/usr/man/man1 $PKG/usr/man/man6 sed -i '/^\.TH.* 1$/s,1$,6,' $PKG/usr/man/man6/*.1 rename .1 .6 $PKG/usr/man/man6/*.1 @@ -133,6 +126,8 @@ ln -s advmame.6.gz $PKG/usr/man/man6/advmess.6.gz mv $PKGDOC/advance/* $PKGDOC rmdir $PKGDOC/advance +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild + # HISTORY, README, RELEASE are identical to history.txt, readme.txt, # release.txt which are already installed, but the license doesn't have # a lowercase.txt equivalent: diff --git a/games/advancemame/advancemame.info b/games/advancemame/advancemame.info index d91165a5c4..c5dc259449 100644 --- a/games/advancemame/advancemame.info +++ b/games/advancemame/advancemame.info @@ -1,10 +1,10 @@ PRGNAM="advancemame" -VERSION="3.9" +VERSION="3.10" HOMEPAGE="http://advancemame.sourceforge.net" -DOWNLOAD="https://github.com/amadvance/advancemame/releases/download/v3.9/advancemame-3.9.tar.gz" -MD5SUM="2a5fce5892b95db9f6129f84c9369869" +DOWNLOAD="https://github.com/amadvance/advancemame/releases/download/v3.10/advancemame-3.10.tar.gz" +MD5SUM="620129fd17916e052bf594b866714133" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/games/advancemame/joverride.dat.xz b/games/advancemame/joverride.dat.xz Binary files differdeleted file mode 100644 index 6f3f694840..0000000000 --- a/games/advancemame/joverride.dat.xz +++ /dev/null |