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

View File

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

View File

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