From 907d4b4ab86875707042d2c29faad82416c6dda9 Mon Sep 17 00:00:00 2001 From: Carles Pastor Date: Mon, 19 Jul 2021 12:49:22 +0200 Subject: [PATCH 1/4] Build with DENABLE_EVDEV=ON It's apparently necessary for some motion controllers that aren't real wii remotes. --- org.DolphinEmu.dolphin-emu.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.DolphinEmu.dolphin-emu.yml b/org.DolphinEmu.dolphin-emu.yml index 9a55461..07719f5 100644 --- a/org.DolphinEmu.dolphin-emu.yml +++ b/org.DolphinEmu.dolphin-emu.yml @@ -78,7 +78,7 @@ modules: - -DCMAKE_BUILD_TYPE=Release - -DENABLE_ALSA=OFF - -DENABLE_SDL=ON - - -DENABLE_EVDEV=OFF + - -DENABLE_EVDEV=ON - -DDISTRIBUTOR=Flathub build-options: arch: From 75df34520a284e1463903522aa18fd63e5b6259d Mon Sep 17 00:00:00 2001 From: Carles Pastor Date: Mon, 19 Jul 2021 13:05:05 +0200 Subject: [PATCH 2/4] Add libevdev --- org.DolphinEmu.dolphin-emu.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/org.DolphinEmu.dolphin-emu.yml b/org.DolphinEmu.dolphin-emu.yml index 07719f5..8a6f93f 100644 --- a/org.DolphinEmu.dolphin-emu.yml +++ b/org.DolphinEmu.dolphin-emu.yml @@ -64,6 +64,16 @@ modules: project-id: 10029 url-template: https://www.kernel.org/pub/linux/bluetooth/bluez-$version.tar.xz + - name: libevdev + buildsystem: meson + config-opts: + - -Dtests=disabled + - -Ddocumentation=disabled + sources: + - type: archive + url: https://www.freedesktop.org/software/libevdev/libevdev-1.11.0.tar.xz + sha256: 63f4ea1489858a109080e0b40bd43e4e0903a1e12ea888d581db8c495747c2d0 + # needed for screensaver inhibition - name: xdg-screensaver-shim buildsystem: meson From 4f745ecaed3d766d3a84ebae804e13384b41bb5f Mon Sep 17 00:00:00 2001 From: Carles Pastor Date: Wed, 21 Jul 2021 18:00:11 +0200 Subject: [PATCH 3/4] Document why we need libevdev --- org.DolphinEmu.dolphin-emu.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.DolphinEmu.dolphin-emu.yml b/org.DolphinEmu.dolphin-emu.yml index 8a6f93f..820fa8e 100644 --- a/org.DolphinEmu.dolphin-emu.yml +++ b/org.DolphinEmu.dolphin-emu.yml @@ -64,6 +64,8 @@ modules: project-id: 10029 url-template: https://www.kernel.org/pub/linux/bluetooth/bluez-$version.tar.xz + # enables motion controls on non-wii controllers (switch, ps4, etc) + # requires a udev rule enabling Motion Sensors access - name: libevdev buildsystem: meson config-opts: From 006e75b5edfcda9d9e7e458d62c9f62690f50e08 Mon Sep 17 00:00:00 2001 From: Carles Pastor Date: Wed, 21 Jul 2021 18:04:21 +0200 Subject: [PATCH 4/4] Add x-checker-data for libevdev --- org.DolphinEmu.dolphin-emu.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/org.DolphinEmu.dolphin-emu.yml b/org.DolphinEmu.dolphin-emu.yml index 820fa8e..1840dad 100644 --- a/org.DolphinEmu.dolphin-emu.yml +++ b/org.DolphinEmu.dolphin-emu.yml @@ -75,6 +75,10 @@ modules: - type: archive url: https://www.freedesktop.org/software/libevdev/libevdev-1.11.0.tar.xz sha256: 63f4ea1489858a109080e0b40bd43e4e0903a1e12ea888d581db8c495747c2d0 + x-checker-data: + type: anitya + project-id: 20540 + url-template: https://www.freedesktop.org/software/libevdev/libevdev-$version.tar.xz # needed for screensaver inhibition - name: xdg-screensaver-shim