games/RetroArch: Updated for version 1.6.7.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2017-08-18 12:09:51 +01:00 committed by Willy Sudiarto Raharjo
parent 198bd16640
commit 4972c44003
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 16 additions and 15 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=RetroArch
VERSION=${VERSION:-1.6.4}
VERSION=${VERSION:-1.6.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -54,14 +54,6 @@ else
LIBDIRSUFFIX=""
fi
DEBUG=${DEBUG:-0}
if [ "$DEBUG" = 1 ]; then
RELEASE=debug
SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0 -g/')"
else
RELEASE=release
fi
set -eu
rm -rf $PKG
@ -77,6 +69,15 @@ 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:-0}" = 1 ]; then
DEBUG=1
RELEASE=debug
SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0 -g/')"
else
DEBUG=0
RELEASE=release
fi
if [ "${PYTHON:-0}" = 1 ]; then
python='--enable-python'
# Needed for python3 in the 14.1 SBo branch.
@ -115,7 +116,8 @@ sed -e "s|# audio_filter_dir =|audio_filter_dir = /usr/lib${LIBDIRSUFFIX}/retroa
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure --prefix=/usr \
./configure \
--prefix=/usr \
--with-bin_dir=/usr/games \
--with-man_dir=/usr/man \
--with-assets_dir=/usr/share/games \
@ -146,10 +148,9 @@ done
mv $PKG/etc/retroarch.cfg $PKG/etc/retroarch.cfg.new
if [ "$DEBUG" = 0 ]; then
[ "$DEBUG" = 0 ] && \
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
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done

View file

@ -1,8 +1,8 @@
PRGNAM="RetroArch"
VERSION="1.6.4"
VERSION="1.6.7"
HOMEPAGE="https://www.libretro.com/"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/RetroArch-1.6.4.tar.xz"
MD5SUM="1ad3b06ce7a14e044b25e6d5a95fc603"
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/RetroArch-1.6.7.tar.xz"
MD5SUM="bf56c60f0cd243daa95c5685f3e13055"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""