summaryrefslogtreecommitdiffstats
path: root/games/RetroArch
diff options
context:
space:
mode:
author Hunter Sezen <ovariegata@yahoo.com>2017-11-22 09:25:46 +0000
committer David Spencer <idlemoor@slackbuilds.org>2017-11-22 09:25:46 +0000
commitdbca34bb4b41900683e6564aef980c55314b9c32 (patch)
tree5cb5cfcb18cb8a2bf31e0026b7210ceafa2fbe81 /games/RetroArch
parentaf36272ff00f5c0851d1f9811bb164f4a5d44c45 (diff)
downloadslackbuilds-dbca34bb4b41900683e6564aef980c55314b9c32.tar.gz
slackbuilds-dbca34bb4b41900683e6564aef980c55314b9c32.tar.xz
games/RetroArch: Updated for version 1.6.9.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/RetroArch')
-rw-r--r--games/RetroArch/RetroArch.SlackBuild39
-rw-r--r--games/RetroArch/RetroArch.info6
-rw-r--r--games/RetroArch/udev.patch.gzbin686 -> 0 bytes
3 files changed, 18 insertions, 27 deletions
diff --git a/games/RetroArch/RetroArch.SlackBuild b/games/RetroArch/RetroArch.SlackBuild
index b1325e9cf3..6e4c3b9374 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.7}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.6.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,43 +69,37 @@ 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
+if [ "${DEBUG:=0}" != 0 ]; then
DEBUG=1
RELEASE=debug
SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0 -g/')"
else
- DEBUG=0
RELEASE=release
fi
+gles=''
+if [ "${GLES:-0}" = 1 ]; then
+ gles='--enable-opengles'
+elif [ "${GLES3:-0}" = 1 ]; then
+ gles='--enable-opengles --enable-opengles3'
+fi
+
+python=''
if [ "${PYTHON:-0}" = 1 ]; then
python='--enable-python'
# Needed for python3 in the 14.1 SBo branch.
if ! pkg-config --exists python3 && pkg-config --exists python-3.5; then
sed -i 's/python3/python-3.5/' qb/config.libs.sh
fi
-else
- python=
-fi
-
-if [ "${GLES:-0}" = 1 ]; then
- gles='--enable-opengles'
-elif [ "${GLES3:-0}" = 1 ]; then
- gles='--enable-opengles --enable-opengles3'
-else
- gles=
fi
# Disable downloading cores with the online updater
# https://github.com/libretro/RetroArch/issues/3237
+SED_CORE=''; SED_INFO=''; SED_MENU=''
if [ "${BUILDBOT:-0}" != 1 ]; then
SED_CORE="s|# libretro_directory =|libretro_directory = /usr/lib${LIBDIRSUFFIX}/libretro|"
SED_INFO="s|# libretro_info_path =|libretro_info_path = /usr/lib${LIBDIRSUFFIX}/libretro/info|"
SED_MENU='s|# menu_show_core_updater = true|menu_show_core_updater = false|'
-else
- SED_CORE=
- SED_INFO=
- SED_MENU=
fi
# Set the config file default directories to be consistent with the installation.
@@ -114,10 +108,6 @@ sed -e "s|# audio_filter_dir =|audio_filter_dir = /usr/lib${LIBDIRSUFFIX}/retroa
-e "$SED_CORE;$SED_INFO;$SED_MENU" \
-i retroarch.cfg
-# Disable keyboard input if window is not active
-# https://github.com/libretro/RetroArch/commit/84d33fb847d62e833edbf75017d6861bb66aac31
-zcat $CWD/udev.patch.gz | patch -p1
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -129,7 +119,7 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-update_assets \
$gles $python
-make GL_DEBUG="$DEBUG" VULKAN_DEBUG="$DEBUG"
+make GL_DEBUG=$DEBUG VULKAN_DEBUG=$DEBUG
make install DESTDIR=$PKG
for filter in audio video; do
@@ -152,9 +142,10 @@ done
mv $PKG/etc/retroarch.cfg $PKG/etc/retroarch.cfg.new
-[ "$DEBUG" = 0 ] && \
+if [ $DEBUG = 0 ]; then
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
diff --git a/games/RetroArch/RetroArch.info b/games/RetroArch/RetroArch.info
index 16722fc2f2..c7c604ca17 100644
--- a/games/RetroArch/RetroArch.info
+++ b/games/RetroArch/RetroArch.info
@@ -1,8 +1,8 @@
PRGNAM="RetroArch"
-VERSION="1.6.7"
+VERSION="1.6.9"
HOMEPAGE="https://www.libretro.com/"
-DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/RetroArch-1.6.7.tar.xz"
-MD5SUM="bf56c60f0cd243daa95c5685f3e13055"
+DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/RetroArch-1.6.9.tar.xz"
+MD5SUM="2196959643b90cea8c2f7d365aa938cb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/games/RetroArch/udev.patch.gz b/games/RetroArch/udev.patch.gz
deleted file mode 100644
index f931f6c3c2..0000000000
--- a/games/RetroArch/udev.patch.gz
+++ /dev/null
Binary files differ