diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix index fa60d9c6dc5b..650db88130ad 100644 --- a/pkgs/development/libraries/ffmpeg/generic.nix +++ b/pkgs/development/libraries/ffmpeg/generic.nix @@ -117,7 +117,7 @@ withRav1e ? withFullDeps, # AV1 encoder (focused on speed and safety) withRist ? withHeadlessDeps, # Reliable Internet Stream Transport (RIST) protocol withRtmp ? withFullDeps, # RTMP[E] support - withRubberband ? withFullDeps && withGPL, # Rubberband filter + withRubberband ? withFullDeps && withGPL && !stdenv.hostPlatform.isFreeBSD, # Rubberband filter withSamba ? withFullDeps && !stdenv.hostPlatform.isDarwin && withGPLv3, # Samba protocol withSdl2 ? withSmallDeps, withShaderc ? withFullDeps && !stdenv.hostPlatform.isDarwin && lib.versionAtLeast version "5.0", @@ -793,10 +793,7 @@ stdenv.mkDerivation ( cuda_nvcc ] ++ optionals withDav1d [ dav1d ] - ++ optionals withDc1394 [ - libdc1394 - libraw1394 - ] + ++ optionals withDc1394 ([ libdc1394 ] ++ (lib.optional stdenv.hostPlatform.isLinux libraw1394)) ++ optionals withDrm [ libdrm ] ++ optionals withDvdnav [ libdvdnav ] ++ optionals withDvdread [ libdvdread ]