2021-04-16 19:25:00 +01:00
|
|
|
{ stdenv, lib, rel, addonDir, buildKodiBinaryAddon, fetchFromGitHub, expat, glib, nspr, nss, gtest }:
|
2021-03-15 22:50:58 +00:00
|
|
|
buildKodiBinaryAddon rec {
|
|
|
|
pname = "inputstream-adaptive";
|
|
|
|
namespace = "inputstream.adaptive";
|
2021-06-01 03:28:32 +01:00
|
|
|
version = "2.6.16";
|
2021-03-15 22:50:58 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-04-03 02:26:38 +01:00
|
|
|
owner = "xbmc";
|
2021-03-15 22:50:58 +00:00
|
|
|
repo = "inputstream.adaptive";
|
|
|
|
rev = "${version}-${rel}";
|
2021-06-01 03:28:32 +01:00
|
|
|
sha256 = "0c9cy284crmki2pmg9gvf443hrg13x1cr4vzd4yjsnpk6xpifad6";
|
2021-03-15 22:50:58 +00:00
|
|
|
};
|
|
|
|
|
2021-04-16 19:25:00 +01:00
|
|
|
extraNativeBuildInputs = [ gtest ];
|
|
|
|
|
2021-03-15 22:50:58 +00:00
|
|
|
extraBuildInputs = [ expat ];
|
|
|
|
|
|
|
|
extraRuntimeDependencies = [ glib nspr nss stdenv.cc.cc.lib ];
|
|
|
|
|
|
|
|
extraInstallPhase = let n = namespace; in ''
|
|
|
|
ln -s $out/lib/addons/${n}/libssd_wv.so $out/${addonDir}/${n}/libssd_wv.so
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-04-03 02:26:38 +01:00
|
|
|
homepage = "https://github.com/xbmc/inputstream.adaptive";
|
2021-03-15 22:50:58 +00:00
|
|
|
description = "Kodi inputstream addon for several manifest types";
|
|
|
|
platforms = platforms.all;
|
2021-03-19 00:05:39 +00:00
|
|
|
license = licenses.gpl2Only;
|
2021-03-18 23:52:44 +00:00
|
|
|
maintainers = teams.kodi.members;
|
2021-03-15 22:50:58 +00:00
|
|
|
};
|
|
|
|
}
|