ffmpeg-full: Fix on Darwin (PR #63643)
This commit is contained in:
parent
2f746bc1fc
commit
2d2a3dcffb
1 changed files with 6 additions and 2 deletions
|
@ -97,7 +97,7 @@
|
|||
, libXv ? null # Xlib support
|
||||
, libXext ? null # Xlib support
|
||||
, lzma ? null # xz-utils
|
||||
, nvenc ? true, nv-codec-headers ? null # NVIDIA NVENC support
|
||||
, nvenc ? !stdenv.isDarwin, nv-codec-headers ? null # NVIDIA NVENC support
|
||||
, openal ? null # OpenAL 1.1 capture support
|
||||
#, opencl ? null # OpenCL code
|
||||
, opencore-amr ? null # AMR-NB de/encoder & AMR-WB decoder
|
||||
|
@ -175,7 +175,7 @@
|
|||
*/
|
||||
|
||||
let
|
||||
inherit (stdenv) isCygwin isFreeBSD isLinux;
|
||||
inherit (stdenv) isCygwin isDarwin isFreeBSD isLinux;
|
||||
inherit (stdenv.lib) optional optionals optionalString enableFeature;
|
||||
in
|
||||
|
||||
|
@ -189,6 +189,10 @@ assert nonfreeLicensing -> gplLicensing && version3Licensing;
|
|||
*/
|
||||
assert networkBuild -> gnutls != null || opensslExtlib;
|
||||
assert pixelutilsBuild -> avutilLibrary;
|
||||
/*
|
||||
* Platform dependencies
|
||||
*/
|
||||
assert isDarwin -> !nvenc;
|
||||
/*
|
||||
* Program dependencies
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue