summaryrefslogtreecommitdiff
path: root/games/beetle-saturn-libretro
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-12-21 20:39:16 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-23 07:12:36 +0700
commit66c135cf42513841286b7d32d1dfcf1a3bce9067 (patch)
tree305090248a370ac94bf1a87448c6666e5c6fa7e2 /games/beetle-saturn-libretro
parent6af19b7da607655f47913f4ce0787edf92e6aa40 (diff)
downloadslackbuilds-66c135cf42513841286b7d32d1dfcf1a3bce9067.tar.gz
games/beetle-saturn-libretro: Updated for v. 2017.12.20_a0a6dad.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/beetle-saturn-libretro')
-rw-r--r--games/beetle-saturn-libretro/beetle-saturn-libretro.SlackBuild18
-rw-r--r--games/beetle-saturn-libretro/beetle-saturn-libretro.info10
-rw-r--r--games/beetle-saturn-libretro/slack-desc2
3 files changed, 15 insertions, 15 deletions
diff --git a/games/beetle-saturn-libretro/beetle-saturn-libretro.SlackBuild b/games/beetle-saturn-libretro/beetle-saturn-libretro.SlackBuild
index 4c652d07ae..32c80e5cda 100644
--- a/games/beetle-saturn-libretro/beetle-saturn-libretro.SlackBuild
+++ b/games/beetle-saturn-libretro/beetle-saturn-libretro.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=beetle-saturn-libretro
LIBNAM=mednafen_saturn_libretro
-VERSION=${VERSION:-2017.01.24_bb5d0c1}
+VERSION=${VERSION:-2017.12.20_a0a6dad}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,11 +44,11 @@ OUTPUT=${OUTPUT:-/tmp}
# requires patching the Makefile to properly use
# the default CFLAGS and CXXFLAGS are probably fine
if [ "$ARCH" = "i586" ]; then
- echo "$ARCH is not supported."
- exit 1
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- echo "$ARCH is not supported."
- exit 1
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
@@ -57,9 +57,7 @@ else
LIBDIRSUFFIX=""
fi
-DEBUG=${DEBUG:-0}
-
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -74,12 +72,14 @@ 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 {} \;
+[ "${DEBUG:=0}" != 0 ] && DEBUG=1
+
make DEBUG=$DEBUG
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/beetle-saturn-libretro/beetle-saturn-libretro.info b/games/beetle-saturn-libretro/beetle-saturn-libretro.info
index b4b72d2cf1..3356e5c029 100644
--- a/games/beetle-saturn-libretro/beetle-saturn-libretro.info
+++ b/games/beetle-saturn-libretro/beetle-saturn-libretro.info
@@ -1,10 +1,10 @@
PRGNAM="beetle-saturn-libretro"
-VERSION="2017.01.24_bb5d0c1"
+VERSION="2017.12.20_a0a6dad"
HOMEPAGE="https://www.libretro.com/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/beetle-saturn-libretro-2017.01.24_bb5d0c1.tar.xz"
-MD5SUM_x86_64="fffd151e0ea5446c834a602911c5aaff"
+DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/beetle-saturn-libretro-2017.12.20_a0a6dad.tar.xz"
+MD5SUM="c08dea5a495204d0cc98556e7e891006"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
REQUIRES="RetroArch"
MAINTAINER="Hunter Sezen"
EMAIL="ovariegata@yahoo.com"
diff --git a/games/beetle-saturn-libretro/slack-desc b/games/beetle-saturn-libretro/slack-desc
index c6d1cdf2bd..1309fd0758 100644
--- a/games/beetle-saturn-libretro/slack-desc
+++ b/games/beetle-saturn-libretro/slack-desc
@@ -10,7 +10,7 @@ beetle-saturn-libretro: beetle-saturn-libretro (Mednafen Saturn libretro port)
beetle-saturn-libretro:
beetle-saturn-libretro: Standalone port of Mednafen Saturn to the libretro API.
beetle-saturn-libretro:
-beetle-saturn-libretro: Homepage: http://www.libretro.com/
+beetle-saturn-libretro: Homepage: https://www.libretro.com/
beetle-saturn-libretro:
beetle-saturn-libretro:
beetle-saturn-libretro: