games/RetroArch: Update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2017-11-26 09:25:24 +07:00 committed by Willy Sudiarto Raharjo
parent ca3fa60b8f
commit 1324a5bfd9

View file

@ -77,14 +77,14 @@ else
RELEASE=release
fi
gles=''
gles=; python=
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.
@ -95,7 +95,7 @@ fi
# Disable downloading cores with the online updater
# https://github.com/libretro/RetroArch/issues/3237
SED_CORE=''; SED_INFO=''; SED_MENU=''
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|"