anchor.diff:    configureFlags = [
       "--with-kde-solid=$out/share/apps/solid/actions"
     ] ++ optional onlyLibVLC "--disable-vlc"
  +    ++ optional skins2Support "--enable-skins2"
       ++ optionals chromecastSupport [
       "--enable-sout"
       "--enable-chromecast"
  
positive.code: #   networking.firewall.allowedTCPPorts = [ 8010 ];
  
  with lib;
  
  assert (withQt5 -> qtbase != null && qtsvg != null && qtx11extras != null && wrapQtAppsHook != null);
  
  stdenv.mkDerivation rec {
    pname = "${optionalString onlyLibVLC "lib"}vlc";
  
negative.code: , libass, libva, libdvbpsi, libdc1394, libraw1394, libopus
  , libvdpau, libsamplerate, live555, fluidsynth, wayland, wayland-protocols
  , onlyLibVLC ? false
  , withQt5 ? true, qtbase, qtsvg, qtx11extras, wrapQtAppsHook
  , jackSupport ? false
  , skins2Support ? !onlyLibVLC, freetype
  , removeReferencesTo
  , chromecastSupport ? true, protobuf, libmicrodns
  }:
  