diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/beetle-saturn-libretro/beetle-saturn-libretro.SlackBuild | 18 | ||||
-rw-r--r-- | games/beetle-saturn-libretro/beetle-saturn-libretro.info | 10 | ||||
-rw-r--r-- | games/beetle-saturn-libretro/slack-desc | 2 |
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 4c652d07ae851..32c80e5cda937 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 b4b72d2cf1f15..3356e5c029cbf 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 c6d1cdf2bdc0a..1309fd0758740 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: |