games/gambatte-libretro: Updated for version 2018.10.22_5ee8b1e.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2018-11-04 20:52:10 +00:00 committed by Willy Sudiarto Raharjo
parent ca5502bce8
commit bb8ab6c0c1
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 8 additions and 21 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for gambatte-libretro
# Copyright 2016-2017 Hunter Sezen
# Copyright 2016-2018 Hunter Sezen
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM=gambatte-libretro
LIBNAM=$(echo $PRGNAM | tr - _)
VERSION=${VERSION:-2017.12.17_f3ca27f}
VERSION=${VERSION:-2018.10.22_5ee8b1e}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -41,21 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# requires patching the Makefile to properly use
# the default CFLAGS and CXXFLAGS are probably fine
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
LIBDIRSUFFIX=
[ "$ARCH" = x86_64 ] && LIBDIRSUFFIX=64
set -eu
@ -85,7 +72,7 @@ if [ $DEBUG = 0 ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README changelog $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README.md changelog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,8 +1,8 @@
PRGNAM="gambatte-libretro"
VERSION="2017.12.17_f3ca27f"
VERSION="2018.10.22_5ee8b1e"
HOMEPAGE="https://www.libretro.com/"
DOWNLOAD="http://slackware.uk/sbosrcarch/by-name/games/gambatte-libretro/gambatte-libretro-2017.12.17_f3ca27f.tar.xz"
MD5SUM="89c3031929c5f6c70ed494e763aa8452"
DOWNLOAD="http://slackless.raccoons.tech/src/libretro/gambatte-libretro-2018.10.22_5ee8b1e.tar.xz"
MD5SUM="d02329b684152901a63f772ad03f01a7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="RetroArch"