sdl3: 3.2.28 -> 3.4.0

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
Marcin Serwin
2026-01-01 11:36:17 +01:00
parent 3defbb9c31
commit dca0c9dbf6
+5 -3
View File
@@ -18,6 +18,7 @@
libusb1,
libxkbcommon,
libgbm,
libxtst,
ninja,
nix-update-script,
nixosTests,
@@ -61,7 +62,7 @@ assert lib.assertMsg (ibusSupport -> dbusSupport) "SDL3 requires dbus support to
stdenv.mkDerivation (finalAttrs: {
pname = "sdl3";
version = "3.2.28";
version = "3.4.0";
outputs = [
"lib"
@@ -74,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "libsdl-org";
repo = "SDL";
tag = "release-${finalAttrs.version}";
hash = "sha256-nfnvzog1bON2IaBOeWociV82lmRY+qXgdeXBe6GYlww=";
hash = "sha256-/A1y/NaZVebzI58F4TlwtDwuzlcA33Y1YuZqd5lz/Sk=";
};
postPatch =
@@ -84,7 +85,7 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail 'set(noninteractive_timeout 10)' 'set(noninteractive_timeout 30)'
''
+ lib.optionalString waylandSupport ''
substituteInPlace src/video/wayland/SDL_waylandmessagebox.c \
substituteInPlace src/dialog/unix/SDL_zenitymessagebox.c \
--replace-fail '"zenity"' '"${lib.getExe zenity}"'
substituteInPlace src/dialog/unix/SDL_zenitydialog.c \
--replace-fail '"zenity"' '"${lib.getExe zenity}"'
@@ -132,6 +133,7 @@ stdenv.mkDerivation (finalAttrs: {
xorg.libXfixes
xorg.libXi
xorg.libXrandr
libxtst
]
++ [
vulkan-headers