summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author ilmich2022-11-19 02:52:13 +0100
committer Willy Sudiarto Raharjo2022-11-19 02:52:13 +0100
commit9bd2e0627fed17dad3f82b62bcfb87a1a2cf792b (patch)
treef629b21d4ed599e70961dd52147010c4eebcad64
parent2dd2f057360270e448146df7f3cadc26ce988ea1 (diff)
downloadslackbuilds-9bd2e0627fed17dad3f82b62bcfb87a1a2cf792b.tar.gz
games/snes9x2010: Updated for version 2022.07.25_e86e546.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/snes9x2010/README3
-rw-r--r--games/snes9x2010/snes9x2010.SlackBuild17
-rw-r--r--games/snes9x2010/snes9x2010.info6
3 files changed, 11 insertions, 15 deletions
diff --git a/games/snes9x2010/README b/games/snes9x2010/README
index f71e265395..2a72db2533 100644
--- a/games/snes9x2010/README
+++ b/games/snes9x2010/README
@@ -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
diff --git a/games/snes9x2010/snes9x2010.SlackBuild b/games/snes9x2010/snes9x2010.SlackBuild
index 7b75437e56..bb5ebc9dce 100644
--- a/games/snes9x2010/snes9x2010.SlackBuild
+++ b/games/snes9x2010/snes9x2010.SlackBuild
@@ -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 \
diff --git a/games/snes9x2010/snes9x2010.info b/games/snes9x2010/snes9x2010.info
index 9566ba2b62..644f24fda2 100644
--- a/games/snes9x2010/snes9x2010.info
+++ b/games/snes9x2010/snes9x2010.info
@@ -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"