ffmpeg: add libaom to build inputs only if enabled

This commit is contained in:
Orivej Desh 2020-05-23 19:39:02 +00:00
parent 775f0fda78
commit aa44ca368a

View File

@ -173,7 +173,7 @@ stdenv.mkDerivation rec {
libvorbis lzma soxr x264 x265 xvidcore zlib libopus speex nv-codec-headers
] ++ optionals openglSupport [ libGL libGLU ]
++ optional libmfxSupport intel-media-sdk
++ optional vpxSupport libaom
++ optional libaomSupport libaom
++ optional vpxSupport libvpx
++ optionals (!isDarwin && !isAarch32) [ libpulseaudio ] # Need to be fixed on Darwin and ARM
++ optional ((isLinux || isFreeBSD) && !isAarch32) libva