wine: add ffmpeg as dependency

version 9.18 added ffmpeg as a dependency.

Reference: https://gitlab.winehq.org/wine/wine/-/releases/wine-9.18
This commit is contained in:
Yuxuan Shui
2025-11-13 18:57:35 +00:00
parent 9da7f1cf7f
commit d269f093b1
3 changed files with 6 additions and 0 deletions
@@ -195,6 +195,9 @@ stdenv.mkDerivation (
libgbm
]
)
++ lib.optionals ffmpegSupport [
pkgs.ffmpeg-headless
]
)
);
@@ -42,6 +42,7 @@
mingwSupport ? stdenv.hostPlatform.isDarwin,
waylandSupport ? false,
x11Support ? false,
ffmpegSupport ? false,
embedInstallers ? false, # The Mono and Gecko MSI installers
moltenvk, # Allow users to override MoltenVK easily
}:
@@ -83,6 +84,7 @@ let
vulkanSupport
waylandSupport
x11Support
ffmpegSupport
xineramaSupport
;
};
+1
View File
@@ -33,6 +33,7 @@ rec {
usbSupport = true;
waylandSupport = stdenv.hostPlatform.isLinux;
x11Support = stdenv.hostPlatform.isLinux;
ffmpegSupport = true;
};
full = base.override {