games/snes9x2010: Updated for version 2022.07.25_e86e546.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
ilmich 2022-11-19 08:52:13 +07:00 committed by Willy Sudiarto Raharjo
parent 2dd2f05736
commit 9bd2e0627f
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 11 additions and 15 deletions

View file

@ -7,8 +7,5 @@ compatibility improvements.
This package was previously called snes9x-next.
To build with the griffin LTCG use:
GRIFFIN=1 ./snes9x2010.SlackBuild
To build the debugging symbols use:
DEBUG=1 ./snes9x2010.SlackBuild

View file

@ -3,7 +3,7 @@
# Slackware build script for snes9x2010
# Copyright 2016-2018 Hunter Sezen California, USA
# Copyright 2020 ilmich < ardutu at gmail dot com >
# Copyright 2020-2022 ilmich < ardutu at gmail dot com >
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -27,7 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=snes9x2010
LIBNAM=${PRGNAM}_libretro
VERSION=${VERSION:-2020.05.18_187e2b5}
VERSION=${VERSION:-2022.07.25_e86e546}
COMMIT=e86e54624a7910a64a9a744e3734d4067c48d240
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -55,16 +56,14 @@ OUTPUT=${OUTPUT:-/tmp}
LIBDIRSUFFIX=
[ "$ARCH" = x86_64 ] && LIBDIRSUFFIX=64
GRIFFIN=${GRIFFIN:-0}
set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
rm -rf ${PRGNAM/-/_}-$COMMIT
tar xvf $CWD/${PRGNAM/-/_}-$COMMIT.tar.gz
cd ${PRGNAM/-/_}-$COMMIT
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -74,10 +73,10 @@ find -L . \
[ "${DEBUG:=0}" != 0 ] && DEBUG=1
make -f Makefile.libretro DEBUG=$DEBUG HAVE_GRIFFIN="$GRIFFIN"
make -f Makefile.libretro DEBUG=$DEBUG
install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
install -Dm0644 $CWD/$LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
if [ $DEBUG = 0 ]; then
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \

View file

@ -1,8 +1,8 @@
PRGNAM="snes9x2010"
VERSION="2020.05.18_187e2b5"
VERSION="2022.07.25_e86e546"
HOMEPAGE="https://www.libretro.com/"
DOWNLOAD="https://ilmich.github.io/src/snes9x2010-2020.05.18_187e2b5.tar.xz"
MD5SUM="c93a209cdafe0954062d2a637d9f47f9"
DOWNLOAD="https://github.com/libretro/snes9x2010/archive/e86e546/snes9x2010-e86e54624a7910a64a9a744e3734d4067c48d240.tar.gz"
MD5SUM="25f6ab32b92ec7d97af610f5dc281510"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"