summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-09-14 22:12:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-09-14 22:12:25 +0700
commitcdb83221c35ae75ea0200d3fe1168577f27ead8c (patch)
treef09dfb85750bb046297ea1e60f624d886825500f /games
parentc5a9de3cbe3ceddedf94294cb6819a6768f71c36 (diff)
downloadslackbuilds-cdb83221c35ae75ea0200d3fe1168577f27ead8c.tar.gz
games/RetroArch: Added udev input driver patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/RetroArch/RetroArch.SlackBuild6
-rw-r--r--games/RetroArch/udev.patch.gzbin0 -> 686 bytes
2 files changed, 5 insertions, 1 deletions
diff --git a/games/RetroArch/RetroArch.SlackBuild b/games/RetroArch/RetroArch.SlackBuild
index 6a0892c3b8..b1325e9cf3 100644
--- a/games/RetroArch/RetroArch.SlackBuild
+++ b/games/RetroArch/RetroArch.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=RetroArch
VERSION=${VERSION:-1.6.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -114,6 +114,10 @@ sed -e "s|# audio_filter_dir =|audio_filter_dir = /usr/lib${LIBDIRSUFFIX}/retroa
-e "$SED_CORE;$SED_INFO;$SED_MENU" \
-i retroarch.cfg
+# Disable keyboard input if window is not active
+# https://github.com/libretro/RetroArch/commit/84d33fb847d62e833edbf75017d6861bb66aac31
+zcat $CWD/udev.patch.gz | patch -p1
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/games/RetroArch/udev.patch.gz b/games/RetroArch/udev.patch.gz
new file mode 100644
index 0000000000..f931f6c3c2
--- /dev/null
+++ b/games/RetroArch/udev.patch.gz
Binary files differ