anchor.diff:  
     ffmpeg = kodiDependency rec {
       name    = "FFmpeg";
  -    version = "3.1.11";
  -    rev     = "${version}-${rel}-17.5"; # TODO: change 17.5 back to ${kodiVersion}
  -    sha256  = "0nc4sb6v1g3l11v9h5l9n44a8r40186rcbp2xg5c7vg6wcpjid13";
  +    version = "4.0.3";
  +    rev     = "${version}-${rel}-RC5";
  +    sha256  = "0l20bysv2y711khwpnpw4dz6mzd37qllki3fnv4dx1lj8ivydrlx";
       preConfigure = ''
         cp ${kodi_src}/tools/depends/target/ffmpeg/{CMakeLists.txt,*.cmake} .
       '';
  
positive.code: , libcec, libcec_platform, dcadec, libuuid
  , libcrossguid, libmicrohttpd
  , bluez, doxygen, giflib, glib, harfbuzz, lcms2, libidn, libpthreadstubs, libtasn1, libXdmcp
  , libplist, p11-kit, zlib
  , dbusSupport ? true, dbus ? null
  , joystickSupport ? true, cwiid ? null
  , nfsSupport ? true, libnfs ? null
  
negative.code:       libgcrypt libgpgerror libunistring
        libcrossguid cwiid libplist
        bluez giflib glib harfbuzz lcms2 libpthreadstubs libXdmcp
        ffmpeg flatbuffers fmt fstrcmp rapidjson
        # libdvdcss libdvdnav libdvdread
      ]
      ++ lib.optional  dbusSupport     dbus
  