opencv4: use ffmpeg-headless (#524863)

This commit is contained in:
dotlambda 2026-05-27 17:33:59 +00:00 committed by GitHub
commit 0741a14c06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -73,7 +73,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
gdk-pixbuf
(opencv4.override { inherit ffmpeg; })
(opencv4.override { ffmpeg-headless = ffmpeg; })
ffmpeg
fftw
frei0r

View file

@ -58,7 +58,7 @@
enableVtk ? false,
vtk,
enableFfmpeg ? true,
ffmpeg,
ffmpeg-headless,
enableGStreamer ? true,
elfutils,
gst_all_1,
@ -373,7 +373,7 @@ effectiveStdenv.mkDerivation {
openjpeg
]
++ optionals enableFfmpeg [
ffmpeg
ffmpeg-headless
]
++ optionals (enableGStreamer && effectiveStdenv.hostPlatform.isLinux) [
elfutils