From ed660d71681c05fbfc44c009ed90bf2b0cba2716 Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Wed, 20 Dec 2017 21:44:16 +0000 Subject: games/mupen64plus-libretro: Updated for version 2017.11.19_6f80cbc. Signed-off-by: David Spencer --- .../mupen64plus-libretro.SlackBuild | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'games/mupen64plus-libretro/mupen64plus-libretro.SlackBuild') diff --git a/games/mupen64plus-libretro/mupen64plus-libretro.SlackBuild b/games/mupen64plus-libretro/mupen64plus-libretro.SlackBuild index 86554b33f5..f98f6e6073 100644 --- a/games/mupen64plus-libretro/mupen64plus-libretro.SlackBuild +++ b/games/mupen64plus-libretro/mupen64plus-libretro.SlackBuild @@ -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 -- cgit v1.2.3