games/RetroArch: Updated for version 1.6.4.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2017-08-08 23:21:37 +01:00 committed by Willy Sudiarto Raharjo
parent a11517c7be
commit c9ec4a74fa
4 changed files with 13 additions and 18 deletions

View file

@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=RetroArch
VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-2}
VERSION=${VERSION:-1.6.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -56,7 +56,10 @@ 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
@ -110,14 +113,6 @@ sed -e "s|# audio_filter_dir =|audio_filter_dir = /usr/lib${LIBDIRSUFFIX}/retroa
-e "$SED_CORE;$SED_INFO;$SED_MENU" \
-i retroarch.cfg
# Revert "udev input: support controlling the menu with a TV remote control"
# https://github.com/libretro/RetroArch/commit/5c5c5ecbdfb05f78215ca6d4666b9ca20bd07805
zcat $CWD/udev.patch.gz | patch -p1
# Disable keyboard input and restrict mouse input in some cases
# https://github.com/libretro/RetroArch/commit/aa99f4f5ba1717414ef78b690aeb680f12d85aab
zcat $CWD/input.patch.gz | patch -p1
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure --prefix=/usr \
@ -132,19 +127,19 @@ make GL_DEBUG="$DEBUG" VULKAN_DEBUG="$DEBUG"
make install DESTDIR=$PKG
for filter in audio video; do
case "$filter" in
case $filter in
audio )
EXT='dsp'
EXT=dsp
DIR="libretro-common/$filter/dsp_filters"
;;
video )
EXT='filt'
EXT=filt
DIR="gfx/${filter}_filters"
;;
esac
make -C "$DIR"
make -C $DIR build=$RELEASE
install -dm0755 $PKG/usr/lib${LIBDIRSUFFIX}/retroarch/filters/$filter
for ext in "$EXT" so; do
for ext in $EXT so; do
install -m0644 $DIR/*.$ext $PKG/usr/lib${LIBDIRSUFFIX}/retroarch/filters/$filter
done
done

View file

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

Binary file not shown.

Binary file not shown.