app-emulation/wine-proton: require USE=sdl when udev is set

USE=-sdl seems fine when udev is disabled, and issue is specific to
Valve's changes (doesn't apply to wine-vanilla, nor older wine-proton).

No major reason to try fixing this in wine-proton (Valve likely does
not test/support this configuration and has a lot of custom code around
sdl/udev for gamepad and other input support), so just add the REQ USE.

Closes: https://bugs.gentoo.org/959263
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-06-28 23:24:48 -04:00
parent dde11d1b49
commit 7a70d6baa4
2 changed files with 12 additions and 4 deletions

View File

@@ -30,8 +30,12 @@ IUSE="
llvm-libunwind +mono nls perl pulseaudio +sdl selinux +ssl udev
+unwind usb v4l wayland video_cards_amdgpu +xcomposite xinerama
"
# headless is not really supported with wine-proton, use normal Wine
REQUIRED_USE="|| ( X wayland )"
# headless is not really supported here, and udev needs sdl due to Valve's
# changes (bug #959263), use normal wine instead if need to avoid these
REQUIRED_USE="
|| ( X wayland )
udev? ( sdl )
"
# tests are non-trivial to run, can hang easily, don't play well with
# sandbox, and several need real opengl/vulkan or network access

View File

@@ -33,8 +33,12 @@ IUSE="
llvm-libunwind +mono nls perl pulseaudio +sdl selinux +ssl udev
+unwind usb v4l wayland video_cards_amdgpu +xcomposite xinerama
"
# headless is not really supported with wine-proton, use normal Wine
REQUIRED_USE="|| ( X wayland )"
# headless is not really supported here, and udev needs sdl due to Valve's
# changes (bug #959263), use normal wine instead if need to avoid these
REQUIRED_USE="
|| ( X wayland )
udev? ( sdl )
"
# tests are non-trivial to run, can hang easily, don't play well with
# sandbox, and several need real opengl/vulkan or network access