summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-08-08 23:21:37 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:57:34 +0700
commitc9ec4a74fab760ff8418208613de4d993159a03c (patch)
tree64f3dd56b17630c4d63429d580553a6e7ca0fa49
parenta11517c7be1a39331ecd48aa703be15c59a8942b (diff)
downloadslackbuilds-c9ec4a74fab760ff8418208613de4d993159a03c.tar.gz
games/RetroArch: Updated for version 1.6.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--games/RetroArch/RetroArch.SlackBuild25
-rw-r--r--games/RetroArch/RetroArch.info6
-rw-r--r--games/RetroArch/input.patch.gzbin882 -> 0 bytes
-rw-r--r--games/RetroArch/udev.patch.gzbin1109 -> 0 bytes
4 files changed, 13 insertions, 18 deletions
diff --git a/games/RetroArch/RetroArch.SlackBuild b/games/RetroArch/RetroArch.SlackBuild
index 2251dead4b..3de7ec8c25 100644
--- a/games/RetroArch/RetroArch.SlackBuild
+++ b/games/RetroArch/RetroArch.SlackBuild
@@ -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
diff --git a/games/RetroArch/RetroArch.info b/games/RetroArch/RetroArch.info
index a79df45c66..c81afcdca5 100644
--- a/games/RetroArch/RetroArch.info
+++ b/games/RetroArch/RetroArch.info
@@ -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=""
diff --git a/games/RetroArch/input.patch.gz b/games/RetroArch/input.patch.gz
deleted file mode 100644
index 1684306e7b..0000000000
--- a/games/RetroArch/input.patch.gz
+++ /dev/null
Binary files differ
diff --git a/games/RetroArch/udev.patch.gz b/games/RetroArch/udev.patch.gz
deleted file mode 100644
index d0964c426a..0000000000
--- a/games/RetroArch/udev.patch.gz
+++ /dev/null
Binary files differ