aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-05-06 16:46:22 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-05-12 06:58:23 +0700
commitcf9ee748e9a5393efc05e3adbe60d847d76f9534 (patch)
treef1f2d513952d9959bd25a88bfcb481db6ce6d9bb
parentaf7fe71764b4dd8992634cb5634e4d41843c905a (diff)
games/RetroArch: Patched from upstream + add optional dep.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--games/RetroArch/README2
-rw-r--r--games/RetroArch/RetroArch.SlackBuild7
-rw-r--r--games/RetroArch/qt.patch.gzbin0 -> 595 bytes
3 files changed, 7 insertions, 2 deletions
diff --git a/games/RetroArch/README b/games/RetroArch/README
index 77d0655246ae..6a6818d4177a 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 9f2114fa73d2..36e252937fc1 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 000000000000..d1563c3d58fa
--- /dev/null
+++ b/games/RetroArch/qt.patch.gz
Binary files differ