ffmpeg: fix build on darwin when rubberband is enabled

This commit is contained in:
jopejoe1 2024-08-24 16:52:04 +02:00
parent 64dfaf32be
commit 9f821fa056
2 changed files with 3 additions and 1 deletions
pkgs/development/libraries/ffmpeg

View File

@ -6,6 +6,7 @@ let
callPackage ./generic.nix (
{
inherit (darwin.apple_sdk.frameworks)
Accelerate
AppKit
AudioToolbox
AVFoundation

View File

@ -328,6 +328,7 @@
/*
* Darwin frameworks
*/
, Accelerate
, AppKit
, AudioToolbox
, AVFoundation
@ -778,7 +779,7 @@ stdenv.mkDerivation (finalAttrs: {
++ optionals withQuirc [ quirc ]
++ optionals withRav1e [ rav1e ]
++ optionals withRtmp [ rtmpdump ]
++ optionals withRubberband [ rubberband ]
++ optionals withRubberband ([ rubberband ] ++ lib.optional stdenv.hostPlatform.isDarwin Accelerate)
++ optionals withSamba [ samba ]
++ optionals withSdl2 [ SDL2 ]
++ optionals withShaderc [ shaderc ]