diff options
Diffstat (limited to 'games/bsnes-libretro')
-rw-r--r-- | games/bsnes-libretro/bsnes-libretro.SlackBuild | 24 | ||||
-rw-r--r-- | games/bsnes-libretro/bsnes-libretro.info | 6 |
2 files changed, 14 insertions, 16 deletions
diff --git a/games/bsnes-libretro/bsnes-libretro.SlackBuild b/games/bsnes-libretro/bsnes-libretro.SlackBuild index fd736c98cc..47fa53957b 100644 --- a/games/bsnes-libretro/bsnes-libretro.SlackBuild +++ b/games/bsnes-libretro/bsnes-libretro.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for bsnes-libretro -# Copyright 2016 Hunter Sezen +# Copyright 2016-2017 Hunter Sezen # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=bsnes-libretro LIBNAM=$(echo $PRGNAM | cut -f1 -d"-") -VERSION=${VERSION:-2017.02.04_026fc306} +VERSION=${VERSION:-2017.07.24_263e94f9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,24 +74,22 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -if [ "$ARCH" = "arm" ]; then - CORE="${CORE:-performance}" -else - CORE="${CORE:-accuracy}" -fi -if [ "$CORE" = "all" ]; then - CORE="accuracy balanced performance" -fi +case "$ARCH" in + arm) CORE="${CORE:-performance}" ;; + *) CORE="${CORE:-accuracy}" ;; +esac + +[ "$CORE" = all ] && CORE='accuracy balanced performance' for PROFILE in $CORE; do - CORENAM=${LIBNAM}_${PROFILE}_libretro - make profile=$PROFILE DEBUG=$DEBUG GIT_VERSION=${VERSION#*_} + CORENAM="${LIBNAM}_${PROFILE}_libretro" + make profile="$PROFILE" DEBUG="$DEBUG" GIT_VERSION="${VERSION#*_}" install -Dm0644 out/$CORENAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$CORENAM.so install -Dm0644 $CORENAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$CORENAM.info make clean done -if [ "$DEBUG" = "0" ]; then +if [ "$DEBUG" = 0 ]; then find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true fi diff --git a/games/bsnes-libretro/bsnes-libretro.info b/games/bsnes-libretro/bsnes-libretro.info index 5bc8875ff6..d02b5d9cda 100644 --- a/games/bsnes-libretro/bsnes-libretro.info +++ b/games/bsnes-libretro/bsnes-libretro.info @@ -1,8 +1,8 @@ PRGNAM="bsnes-libretro" -VERSION="2017.02.04_026fc306" +VERSION="2017.07.24_263e94f9" HOMEPAGE="https://www.libretro.com/" -DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/bsnes-libretro-2017.02.04_026fc306.tar.xz" -MD5SUM="080da20ed8e16d26adc1702903be550f" +DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/bsnes-libretro-2017.07.24_263e94f9.tar.xz" +MD5SUM="87909bac99d32a625457121313774f52" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="RetroArch" |