anchor.diff:  , libmtp, unzip, taglib, libkate, libtiger, libv4l, samba, libssh2, liboggz
   , libass, libva, libdvbpsi, libdc1394, libraw1394, libopus
   , libvdpau, libsamplerate, live555, fluidsynth, wayland, wayland-protocols
  -, ncurses
  +, ncurses, srt
   , onlyLibVLC ? false
   , withQt5 ? true, qtbase, qtsvg, qtx11extras, wrapQtAppsHook
   , jackSupport ? false
  
positive.code:   # vlc depends on a c11-gcc wrapper script which we don't have so we need to
    # set the path to the compiler
    BUILDCC = "${stdenv.cc}/bin/gcc";
  
    postPatch = ''
      substituteInPlace modules/text_renderer/freetype/platform_fonts.h --replace \
  
negative.code:     libkate libtiger libv4l samba libssh2 liboggz libass libdvbpsi libva
      xorg.xlibsWrapper xorg.libXv xorg.libXvMC xorg.libXpm xorg.xcbutilkeysyms
      libdc1394 libraw1394 libopus libebml libmatroska libvdpau libsamplerate
      fluidsynth wayland wayland-protocols ncurses srt
    ] ++ optional (!stdenv.hostPlatform.isAarch64) live555
      ++ optionals withQt5    [ qtbase qtsvg qtx11extras ]
      ++ optionals skins2Support (with xorg; [ libXpm freetype libXext libXinerama ])
  