From cf9ee748e9a5393efc05e3adbe60d847d76f9534 Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Sun, 6 May 2018 16:46:22 +0100 Subject: [PATCH] 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 diff --git a/games/RetroArch/README b/games/RetroArch/README index 77d0655246..6a6818d417 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 9f2114fa73..36e252937f 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 0000000000000000000000000000000000000000..d1563c3d58fa61368270109e209f76a1c2444c94 GIT binary patch literal 595 zcmV-Z0<8TXiwFqB6Yp9A195aNaA9;~XaJ2;U2mH(6n*!vILcm_5M`x68~8pUal!0|%QBX_IphhQefx0~~?7oWf5*2bkOp23!a z-6JnGDxtVk3y8H)rbd~=ECp;KWdkiJC&Y0af|VR{E!RTV!$&h*$@!z1)2b>Yqehm> zWmSb=@B{Q;pBCmLmxZwPs9FdBlH7IkDDa|Wltdi9=Z(X#@p)WLV%;5CcQ%9LM}sl?_8nt3Bf!a! zfZ&5vtXOe@v)l6>XiEC~KeF0r%FI>qEVedH3Dk^?FTa+lzgZ hTh_PjY78DjxHbL`<1ywQSJG@P{Q(EmT4DeN001nACcgjx literal 0 HcmV?d00001