diff options
-rw-r--r-- | games/parallel-n64/parallel-n64.SlackBuild | 31 | ||||
-rw-r--r-- | games/parallel-n64/parallel-n64.info | 6 | ||||
-rw-r--r-- | games/parallel-n64/slack-desc | 2 |
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: |