games/parallel-n64: Updated for version 2017.12.20_c2f2b94.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2017-12-20 22:35:45 +00:00 committed by Willy Sudiarto Raharjo
parent 291b61055d
commit 5d124f9a13
3 changed files with 15 additions and 24 deletions

View file

@ -24,7 +24,7 @@
PRGNAM=parallel-n64
LIBNAM="$(printf %s $PRGNAM | tr - _)_libretro"
VERSION=${VERSION:-2017.08.07_7ee9ace2}
VERSION=${VERSION:-2017.12.20_c2f2b94}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -57,10 +57,7 @@ else
LIBDIRSUFFIX=""
fi
DEBUG=${DEBUG:-0}
GLES=${GLES:-0}
set -e
set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@ -75,27 +72,21 @@ 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 [ "$DEBUG" = 1 ]; then
LIBNAM="$(printf %s "$LIBNAM" | sed "s/_libretro/_debug_libretro/")"
fi
[ "${DEBUG:=0}" != 0 ] && DEBUG=1 \
LIBNAM="$(printf %s "$LIBNAM" | sed 's/_libretro/_debug_libretro/')"
# parallel is baked out due to llvm 4 build issues
# https://github.com/libretro/parallel-n64/issues/448
case "${PARALLEL:-1}" in
[!1]) PARALLEL=0 ;;
*) PARALLEL=1 ;;
esac
[ "${GLES:=0}" != 0 ] && GLES=1
make DEBUG="$DEBUG" \
GIT_VERSION="${VERSION#*_}" \
HAVE_VULKAN_DEBUG="$DEBUG" \
HAVE_PARALLEL="$PARALLEL" \
FORCE_GLES="$GLES"
make \
DEBUG=$DEBUG \
HAVE_VULKAN_DEBUG=$DEBUG \
FORCE_GLES=$GLES \
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="parallel-n64"
VERSION="2017.08.07_7ee9ace2"
VERSION="2017.12.20_c2f2b94"
HOMEPAGE="https://www.libretro.com/"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/parallel-n64-2017.08.07_7ee9ace2.tar.xz"
MD5SUM="8bfa1fd7a62e7d1bfa16c5aa95499e72"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/parallel-n64-2017.12.20_c2f2b94.tar.xz"
MD5SUM="58168c1b3fb6e652e9adb5edea01e8ac"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"

View file

@ -10,7 +10,7 @@ parallel-n64: parallel-n64 (libretro port of Mupen64 Plus)
parallel-n64:
parallel-n64: Parallel-n64 is a cross-platform plugin-based Nintendo 64 emulator.
parallel-n64:
parallel-n64: Homepage: http://www.libretro.com/
parallel-n64: Homepage: https://www.libretro.com/
parallel-n64:
parallel-n64:
parallel-n64: