anchor.diff: -{ stdenv, fetchurl, fetchpatch, pkgconfig, perl, texinfo, yasm
  +{ stdenv, addOpenGLRunpath, fetchurl, fetchpatch, pkgconfig, perl, texinfo, yasm
   /*
    *  Licensing options (yes some are listed twice, filters and such are not listed)
    */
  
positive.code:     "--enable-cross-compile"
    ];
  
    nativeBuildInputs = [ perl pkgconfig texinfo yasm ];
  
    buildInputs = [
      bzip2 celt dav1d fontconfig freetype frei0r fribidi game-music-emu gnutls gsm
  
negative.code:   # Hacky framework patching technique borrowed from the phantomjs2 package
    postInstall = optionalString qtFaststartProgram ''
      cp -a tools/qt-faststart $out/bin/
    '';
  
    postFixup = optionalString stdenv.isLinux ''
      # Set RUNPATH so that libnvcuvid and libcuda in /run/opengl-driver(-32)/lib can be found.
      # See the explanation in addOpenGLRunpath.
      addOpenGLRunpath $out/lib/libavcodec.so
      addOpenGLRunpath $out/lib/libavutil.so
    '';
  
    enableParallelBuilding = true;
  