summaryrefslogtreecommitdiffstats
path: root/games/RetroArch/RetroArch.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/RetroArch/RetroArch.SlackBuild')
-rw-r--r--games/RetroArch/RetroArch.SlackBuild21
1 files changed, 8 insertions, 13 deletions
diff --git a/games/RetroArch/RetroArch.SlackBuild b/games/RetroArch/RetroArch.SlackBuild
index 0c4881c530..788f4e04c4 100644
--- a/games/RetroArch/RetroArch.SlackBuild
+++ b/games/RetroArch/RetroArch.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=RetroArch
-VERSION=${VERSION:-1.7.6}
+VERSION=${VERSION:-1.7.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -85,7 +85,7 @@ else
RELEASE=release
fi
-[ "${DISCORD:-0}" = 0 ] && lib="${lib} --disable-discord"
+[ "${DISCORD:-no}" = no ] && lib="${lib} --disable-discord"
if [ "${GLES:-0}" != 0 ]; then
lib="${lib} --enable-opengles"
@@ -93,19 +93,14 @@ elif [ "${GLES3:-0}" != 0 ]; then
lib="${lib} --enable-opengles --enable-opengles3"
fi
+pkg-config --exists caca && lib="${lib} --enable-caca"
pkg-config --exists flac && lib="${lib} --disable-builtinflac"
pkg-config --exists libsixel && lib="${lib} --enable-sixel"
[ -d /usr/include/mbedtls ] && lib="${lib} --disable-builtinmbedtls"
[ -d /usr/include/miniupnpc ] && lib="${lib} --disable-builtinminiupnpc"
-if [ "${PYTHON:-0}" != 0 ]; then
- lib="${lib} --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
-fi
+[ "${PYTHON:-no}" != no ] && lib="${lib} --enable-python"
[ "${MENU:-yes}" != yes ] && lib="${lib} --disable-menu"
[ "${PULSE:-yes}" != yes ] && lib="${lib} --disable-pulse"
@@ -134,10 +129,10 @@ sed -e "s|# audio_filter_dir =|audio_filter_dir = ${filter_dir}/audio|" \
-e "$SED_CORE;$SED_INFO;$SED_MENU" \
-i retroarch.cfg
-# Fix --disable-menu (Again).
-# https://github.com/libretro/RetroArch/commit/762151758d0704394699fe3462ad0505e2cf4070
-# https://github.com/libretro/RetroArch/pull/8170
-patch -p1 < $CWD/menu.patch
+# Fix --enable-opengles and --enable-opengles3
+# https://github.com/libretro/RetroArch/pull/8749
+# https://github.com/libretro/RetroArch/commit/1a3f16ded122bf3928aeb9beb71b594bf24ce01a
+patch -p1 < $CWD/gles.patch
# Set $lib to a portable array
eval "set -- $lib"