summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-12-20 22:35:45 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-21 08:19:30 +0700
commit5d124f9a1370902a1e0f2fead8f28cb1ab7092d3 (patch)
treeba3160f28fcd1b3bc1d4ad13782821868791017f
parent291b61055d46a7afbe42ace2ca880adf53807401 (diff)
downloadslackbuilds-5d124f9a1370902a1e0f2fead8f28cb1ab7092d3.tar.gz
games/parallel-n64: Updated for version 2017.12.20_c2f2b94.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--games/parallel-n64/parallel-n64.SlackBuild31
-rw-r--r--games/parallel-n64/parallel-n64.info6
-rw-r--r--games/parallel-n64/slack-desc2
3 files changed, 15 insertions, 24 deletions
diff --git a/games/parallel-n64/parallel-n64.SlackBuild b/games/parallel-n64/parallel-n64.SlackBuild
index 0b5e140632..02375cfdaf 100644
--- a/games/parallel-n64/parallel-n64.SlackBuild
+++ b/games/parallel-n64/parallel-n64.SlackBuild
@@ -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
diff --git a/games/parallel-n64/parallel-n64.info b/games/parallel-n64/parallel-n64.info
index d3e418cf48..750d6338df 100644
--- a/games/parallel-n64/parallel-n64.info
+++ b/games/parallel-n64/parallel-n64.info
@@ -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"
diff --git a/games/parallel-n64/slack-desc b/games/parallel-n64/slack-desc
index 8892c3d563..072a17a6f4 100644
--- a/games/parallel-n64/slack-desc
+++ b/games/parallel-n64/slack-desc
@@ -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: