games/mupen64plus-libretro: Updated for version 2017.11.19_6f80cbc.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2017-12-20 21:44:16 +00:00 committed by Willy Sudiarto Raharjo
parent e31ec32fd8
commit ed660d7168
2 changed files with 14 additions and 14 deletions

View File

@ -24,7 +24,7 @@
PRGNAM=mupen64plus-libretro
LIBNAM=$(printf %s "$PRGNAM" | tr - _)
VERSION=${VERSION:-2017.07.22_9b01671}
VERSION=${VERSION:-2017.11.19_6f80cbc}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -57,11 +57,7 @@ else
LIBDIRSUFFIX=""
fi
DEBUG=${DEBUG:-0}
GLES=${GLES:-0}
GLES3=${GLES3:-0}
set -e
set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@ -76,15 +72,19 @@ 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 {} \;
make DEBUG="$DEBUG" \
GIT_VERSION="${VERSION#*_}" \
FORCE_GLES="$GLES" \
FORCE_GLES3="$GLES3"
[ "${DEBUG:=0}" != 0 ] && DEBUG=1
[ "${GLES:=0}" != 0 ] && GLES=1
[ "${GLES3:=0}" != 0 ] && GLES3=1
make DEBUG=$DEBUG \
FORCE_GLES=$GLES \
FORCE_GLES3=$GLES3 \
GIT_VERSION="${VERSION#*_}"
install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
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

View File

@ -1,8 +1,8 @@
PRGNAM="mupen64plus-libretro"
VERSION="2017.07.22_9b01671"
VERSION="2017.11.19_6f80cbc"
HOMEPAGE="https://github.com/libretro/mupen64plus-libretro"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/mupen64plus-libretro-2017.07.22_9b01671.tar.xz"
MD5SUM="8c57271a2262a04e16bf2d9ed0bd5b6a"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/mupen64plus-libretro-2017.11.19_6f80cbc.tar.xz"
MD5SUM="d0d4fa05a6a1d349686819b43d137c03"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"