anchor.diff:      bzip2 fontconfig freetype gnutls libiconv lame libass libogg libssh libtheora
       libvdpau libvorbis lzma soxr x264 x265 xvidcore zlib libopus speex nv-codec-headers
     ] ++ optional openglSupport libGLU_combined
  +    ++ optional libmfxSupport intel-media-sdk
  +    ++ optional vpxSupport libaom
       ++ optional vpxSupport libvpx
       ++ optionals (!isDarwin && !isAarch32) [ libpulseaudio ] # Need to be fixed on Darwin and ARM
       ++ optional ((isLinux || isFreeBSD) && !isAarch32) libva
  
positive.code: , libssh, libtheora, libva, libdrm, libvorbis, libvpx, lzma, libpulseaudio, soxr
  , x264, x265, xvidcore, zlib, libopus, speex, nv-codec-headers, dav1d
  , openglSupport ? false, libGLU_combined ? null
  # Build options
  , runtimeCpuDetectBuild ? true # Detect CPU capabilities at runtime
  , multithreadBuild ? true # Multithreading via pthreads/win32 threads
  
negative.code: in
  
  assert openglSupport -> libGLU_combined != null;
  assert libmfxSupport -> intel-media-sdk != null;
  assert libaomSupport -> libaom != null;
  
  stdenv.mkDerivation rec {
  
  