ffmpeg-full: Fix on Darwin (PR #63643)

This commit is contained in:
Benjamin Esham 2019-06-21 23:04:23 -04:00 committed by Vladimír Čunát
parent 2f746bc1fc
commit 2d2a3dcffb
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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
*/