Merge pull request #337028 from jopejoe1/ffmpeg-darwin-fixes

ffmpeg-full: fix build on darwin in staging-next
This commit is contained in:
Emily 2024-08-24 16:53:37 +01:00 committed by GitHub
commit 2470d968fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

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 ]