From c9ec4a74fab760ff8418208613de4d993159a03c Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Tue, 8 Aug 2017 23:21:37 +0100 Subject: games/RetroArch: Updated for version 1.6.4. Signed-off-by: David Spencer --- games/RetroArch/RetroArch.SlackBuild | 25 ++++++++++--------------- games/RetroArch/RetroArch.info | 6 +++--- games/RetroArch/input.patch.gz | Bin 882 -> 0 bytes games/RetroArch/udev.patch.gz | Bin 1109 -> 0 bytes 4 files changed, 13 insertions(+), 18 deletions(-) delete mode 100644 games/RetroArch/input.patch.gz delete mode 100644 games/RetroArch/udev.patch.gz 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 Binary files a/games/RetroArch/input.patch.gz and /dev/null differ diff --git a/games/RetroArch/udev.patch.gz b/games/RetroArch/udev.patch.gz deleted file mode 100644 index d0964c426a..0000000000 Binary files a/games/RetroArch/udev.patch.gz and /dev/null differ -- cgit v1.2.3