anchor.diff:  { stdenv, fetchurl, pkgconfig, perl, texinfo, yasm
   , alsaLib, bzip2, fontconfig, freetype, gnutls, libiconv, lame, libass, libogg
  -, libssh, libtheora, libva, libvorbis, libvpx, lzma, libpulseaudio, soxr
  +, libssh, libtheora, libva, libdrm, libvorbis, libvpx, lzma, libpulseaudio, soxr
   , x264, x265, xvidcore, zlib, libopus, speex
   , openglSupport ? false, libGLU_combined ? null
   # Build options
  
positive.code:       "--enable-libtheora"
        (ifMinVer "2.1" "--enable-libssh")
        (ifMinVer "0.6" (enableFeature vaapiSupport "vaapi"))
        "--enable-vdpau"
        "--enable-libvorbis"
        (ifMinVer "0.6" (enableFeature vpxSupport "libvpx"))
  
negative.code:     ++ optional vpxSupport libvpx
      ++ optionals (!isDarwin && !isAarch32) [ libpulseaudio ] # Need to be fixed on Darwin and ARM
      ++ optional ((isLinux || isFreeBSD) && !isAarch32) libva
      ++ optional ((isLinux || isFreeBSD) && !isAarch32) libdrm
      ++ optional isLinux alsaLib
      ++ optionals isDarwin darwinFrameworks
      ++ optional vdpauSupport libvdpau
  