anchor.diff:    ] ++ optionals withQt5    [ qtbase qtsvg qtx11extras ]
       ++ optional jackSupport libjack2;
   
  -  nativeBuildInputs = [ autoreconfHook perl pkgconfig ];
  +  nativeBuildInputs = [ autoreconfHook perl pkgconfig removeReferencesTo ];
   
     enableParallelBuilding = true;
   
  
positive.code: , withQt5 ? true, qtbase ? null, qtsvg ? null, qtx11extras ? null
  , jackSupport ? false
  , fetchpatch
  }:
  
  with stdenv.lib;
  
negative.code:       /usr/share/fonts/truetype/freefont ${freefont_ttf}/share/fonts/truetype
    '';
  
    # - Touch plugins (plugins cache keyed off mtime and file size:
    #     https://github.com/NixOS/nixpkgs/pull/35124#issuecomment-370552830
    # - Remove references to the Qt development headers (used in error messages)
    postFixup = ''
      find $out/lib/vlc/plugins -exec touch -d @1 '{}' ';'
      $out/lib/vlc/vlc-cache-gen $out/vlc/plugins
  
      remove-references-to -t "${qtbase.dev}" $out/lib/vlc/plugins/gui/libqt_plugin.so
    '';
  
    # Most of the libraries are auto-detected so we don't need to set a bunch of
  