16 bento4 = fetchFromGitHub {
19 rev = "1.6.0-641-${rel}";
20 sha256 = "sha256-vsFMDzH8JJecYw0qWKGCxnd/m5wn62mCKE2g2HwQhwI=";
23 buildKodiBinaryAddon rec {
24 pname = "inputstream-adaptive";
25 namespace = "inputstream.adaptive";
28 src = fetchFromGitHub {
30 repo = "inputstream.adaptive";
31 rev = "${version}-${rel}";
32 sha256 = "sha256-ub4ep89datfr8aZLZAfoz7zhOizGFpzgp2PVON6Ptj8=";
36 "-DENABLE_INTERNAL_BENTO4=ON"
37 "-DBENTO4_URL=${bento4}"
40 extraNativeBuildInputs = [ gtest ];
47 extraRuntimeDependencies = [
51 (lib.getLib stdenv.cc.cc)
59 ${lib.optionalString stdenv.hostPlatform.isAarch64 "ln -s $out/lib/addons/${n}/libcdm_aarch64_loader.so $out/${addonDir}/${n}/libcdm_aarch64_loader.so"}
63 homepage = "https://github.com/xbmc/inputstream.adaptive";
64 description = "Kodi inputstream addon for several manifest types";
65 platforms = platforms.all;
66 license = licenses.gpl2Only;
67 maintainers = teams.kodi.members;