anchor.diff:      "--extra-ldflags=-lasound"
     ];
   
  +  # For debugging the configure script
  +  #configurePhase = ''
  +  #  ./configure $configureFlags || {
  +  #    cat ffbuild/config.log
  +  #    return 1
  +  #  }
  +  #'';
  +
     # Build qt-faststart executable
     postBuild = optionalString qtFaststartProgram ''
       make tools/qt-faststart
  
positive.code:     (fflag "--${boolEn (
        nv-codec-headers != null
        && nvidia-cuda-toolkit != null
        && nvidia-drivers != null)}-cuvid" "3.5")
      "--disable-d3d11va"  # Windows
      "--disable-dxva2"  # Windows
      (fflag "--${boolEn (
        nv-codec-headers != null
        && nvidia-cuda-toolkit != null
        && nvidia-drivers != null)}-ffnvcodec" "3.5")
      "--${boolEn (libdrm != null)}-libdrm"
      "--${boolEn (mfx-dispatcher != null)}-libmfx"
      "--${boolEn libnppSupport}-libnpp"
  
negative.code:     "--${boolEn (snappy != null)}-libsnappy"
      "--${boolEn (soxr != null)}-libsoxr"
      "--${boolEn (speex != null)}-libspeex"
      /**/(fflag "--disable-libsrt" "4.0")
      "--${boolEn (libssh != null)}-libssh"
      #"--${boolEn (tesseract != null)}-libtesseract"
      /**/"--disable-libtesseract"
      "--${boolEn (libtheora != null)}-libtheora"
      /**/(fflag "--disable-libtls" "4.0")  # libressl
      #"--${boolEn (twolame != null)}-libtwolame"
      /**/"--disable-libtwolame"
      "--${boolEn (v4l_lib != null)}-libv4l2"
      (deprfflag "--${boolEn (v4l_lib != null)}-v4l2_m2m" null "3.4")
      (fflag "--${boolEn (v4l_lib != null)}-v4l2-m2m" "4.0")
      "--${boolEn (vid-stab != null)}-libvidstab"
      /**/"--disable-libvmaf"
      "--${boolEn (vo-amrwbenc != null)}-libvo-amrwbenc"
  