moonlight-qt: build against sdl2-compat

This was preliminarily pinned to SDL2_classic in 2532c66211 (#393386).
The reason for that was DRM support and an incompatible override interface.
sdl3 is build with drm enabled by default, which means building things
that depend on drm through sdl2-compat should just work, no override needed.
This commit is contained in:
Grimmauld 2025-05-14 23:25:41 +02:00
parent a369fdd2c7
commit 8f2001fb55
No known key found for this signature in database

View file

@ -6,8 +6,8 @@
qt6, qt6,
pkg-config, pkg-config,
vulkan-headers, vulkan-headers,
SDL2_classic, SDL2,
SDL2_classic_ttf, SDL2_ttf,
ffmpeg, ffmpeg,
libopus, libopus,
libplacebo, libplacebo,
@ -51,8 +51,8 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = buildInputs =
[ [
(SDL2_classic.override { drmSupport = stdenv.hostPlatform.isLinux; }) SDL2
SDL2_classic_ttf SDL2_ttf
ffmpeg ffmpeg
libopus libopus
libplacebo libplacebo