From 3bc69d42d5412a1b04d2a19205a966f7725081fd Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Sat, 7 Jun 2025 09:12:12 +0200 Subject: [PATCH] mlt: Remove SDL1 support mlt supports both sdl1 and sdl2, with sdl1 not being critical: It was never enabled on darwin, even though it was technically availabe. SDL1 is deprecated upstream, and has been replaced in nixpkgs with `SDL_compat`, which is just a shim running through SDL2 later. If SDL2 is supported, adding SDL1 is pointless. --- pkgs/by-name/ml/mlt/package.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/by-name/ml/mlt/package.nix b/pkgs/by-name/ml/mlt/package.nix index 9997857befc4..82cc2dbaf76d 100644 --- a/pkgs/by-name/ml/mlt/package.nix +++ b/pkgs/by-name/ml/mlt/package.nix @@ -32,8 +32,6 @@ python3, swig, qt ? null, - enableSDL1 ? stdenv.hostPlatform.isLinux, - SDL, enableSDL2 ? true, SDL2, gitUpdater, @@ -104,10 +102,6 @@ stdenv.mkDerivation rec { (qt.qt5compat or null) libarchive ] - ++ lib.optionals enableSDL1 [ - SDL - libX11 - ] ++ lib.optionals enableSDL2 [ SDL2 libX11