From cf9ee748e9a5393efc05e3adbe60d847d76f9534 Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Sun, 6 May 2018 16:46:22 +0100 Subject: games/RetroArch: Patched from upstream + add optional dep. Signed-off-by: David Spencer --- games/RetroArch/README | 2 +- games/RetroArch/RetroArch.SlackBuild | 7 ++++++- games/RetroArch/qt.patch.gz | Bin 0 -> 595 bytes 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 games/RetroArch/qt.patch.gz (limited to 'games/RetroArch') diff --git a/games/RetroArch/README b/games/RetroArch/README index 77d0655246ae0..6a6818d4177a5 100644 --- a/games/RetroArch/README +++ b/games/RetroArch/README @@ -26,7 +26,7 @@ If building debugging symbols asan can also be built: Optional dependencies: ffmpeg jack-audio-connection-kit libxkbcommon miniupnpc - nvidia-cg-toolkit python3 qt5 SDL2 vulkansdk wayland + nvidia-cg-toolkit OpenAL python3 qt5 SDL2 vulkansdk wayland Python3 support for shaders will need to be enabled with: PYTHON=1 ./RetroArch.SlackBuild diff --git a/games/RetroArch/RetroArch.SlackBuild b/games/RetroArch/RetroArch.SlackBuild index 9f2114fa73d23..36e252937fc11 100644 --- a/games/RetroArch/RetroArch.SlackBuild +++ b/games/RetroArch/RetroArch.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=RetroArch VERSION=${VERSION:-1.7.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -114,6 +114,11 @@ sed -e "s|# audio_filter_dir =|audio_filter_dir = /usr/lib${LIBDIRSUFFIX}/retroa -e "$SED_CORE;$SED_INFO;$SED_MENU" \ -i retroarch.cfg +# Qt: only check for pending events of the main thread +# https://github.com/libretro/RetroArch/commit/c2ad8d47d382c7460bb54c8a7116573d95648f95 +# https://github.com/libretro/RetroArch/issues/6726 +zcat $CWD/qt.patch.gz | patch -p1 + # Set $lib to a portable array eval "set -- $lib" diff --git a/games/RetroArch/qt.patch.gz b/games/RetroArch/qt.patch.gz new file mode 100644 index 0000000000000..d1563c3d58fa6 Binary files /dev/null and b/games/RetroArch/qt.patch.gz differ -- cgit v1.2.3