anchor.diff:  # - cmake is no longer in project/cmake
   # - maybe we can remove auto{conf,make} and libtool from inputs
   # - check if dbus support PR has been merged and add dbus as a buildInput
  +# - try to use system ffmpeg (kodi 17 works best with bundled 3.1 with patches)
   
   let
     kodiReleaseDate = "20171115";
  
positive.code:     preConfigure = ''
        cp ${kodi_src}/tools/depends/target/ffmpeg/{CMakeLists.txt,*.cmake} .
      '';
      buildInputs = [ gnutls libidn libtasn1 p11_kit zlib ];
      nativeBuildInputs = [ cmake nasm pkgconfig ];
    };
  
  
negative.code: , libXt, libXmu, libXext, xextproto
  , libXinerama, libXrandr, randrproto
  , libXtst, libXfixes, fixesproto, systemd
  , alsaLib, mesa, glew, fontconfig, freetype, ftgl
  , libjpeg, jasper, libpng, libtiff
  , libmpeg2, libsamplerate, libmad
  , libogg, libvorbis, flac, libxslt
  