Admins will be upgrading ORNL GitLab Servers on Saturday, 16 May 2026, from 7 AM until 11 AM EST. Repositories will experience intermittent outages during this time.
,withAudioToolbox?withHeadlessDeps&&stdenv.isDarwin# Apple AudioToolbox
,withAvFoundation?withHeadlessDeps&&stdenv.isDarwin# Apple AVFoundation framework
# Compiling ffmpeg 7 with AVFoundation on x86_64-darwin currently fails with "error: incompatible pointer to integer conversion passing 'NSString *const' to parameter of type 'enum AVMediaType' [-Wint-conversion] NSArray *devices = getDevicesWithMediaType(AVMediaTypeAudio);"
,withAvFoundation?withHeadlessDeps&&stdenv.isDarwin&&!(lib.versionAtLeastversion"7"&&stdenv.hostPlatform.isx86)# Apple AVFoundation framework
# Currently only supports gcc and msvc as compiler, the limitation for clang get removed in the next release, but that does not fix building on darwin.