games/bsnes-mercury: Updated for version 2017.02.04_4012862.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2017-02-04 21:51:27 +00:00 committed by Willy Sudiarto Raharjo
parent b041534ba4
commit fa375daea0
3 changed files with 14 additions and 7 deletions

View file

@ -33,3 +33,6 @@ To build the balanced or performance cores, choose any desired cores:
Or to build all three cores, "all" can be used:
CORE="all" ./bsnes-mercury.SlackBuild
To build the debugging symbols use:
DEBUG=1 ./bsnes-mercury.SlackBuild

View file

@ -24,7 +24,7 @@
PRGNAM=bsnes-mercury
LIBNAM=$(echo $PRGNAM | tr - _)
VERSION=${VERSION:-2016.07.17_a444a4e}
VERSION=${VERSION:-2017.02.04_4012862}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -57,6 +57,8 @@ else
LIBDIRSUFFIX=""
fi
DEBUG=${DEBUG:-0}
set -e
rm -rf $PKG
@ -83,14 +85,16 @@ fi
for PROFILE in $CORE; do
CORENAM=${LIBNAM}_${PROFILE}_libretro
make profile=$PROFILE
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
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
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="bsnes-mercury"
VERSION="2016.07.17_a444a4e"
VERSION="2017.02.04_4012862"
HOMEPAGE="http://www.libretro.com/"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/bsnes-mercury-2016.07.17_a444a4e.tar.xz"
MD5SUM="f2c5edf61fed5c43c8e0d47696619ec8"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/bsnes-mercury-2017.02.04_4012862.tar.xz"
MD5SUM="8111c88cfa4eb9445350002233d95d00"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"