2021-04-18 02:13:31 +00:00
|
|
|
{ stdenv, lib, rel, addonDir, buildKodiBinaryAddon, fetchFromGitHub, expat, glib, nspr, nss, gtest }:
|
2021-03-19 17:17:44 +00:00
|
|
|
buildKodiBinaryAddon rec {
|
|
|
|
pname = "inputstream-adaptive";
|
|
|
|
namespace = "inputstream.adaptive";
|
2021-04-18 02:13:31 +00:00
|
|
|
version = "2.6.13";
|
2021-03-19 17:17:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-04-05 15:23:46 +00:00
|
|
|
owner = "xbmc";
|
2021-03-19 17:17:44 +00:00
|
|
|
repo = "inputstream.adaptive";
|
|
|
|
rev = "${version}-${rel}";
|
2021-04-18 02:13:31 +00:00
|
|
|
sha256 = "1xvinmwyx7mai84i8c394dqw86zb6ib9wnxjmv7zpky6x64lvv10";
|
2021-03-19 17:17:44 +00:00
|
|
|
};
|
|
|
|
|
2021-04-18 02:13:31 +00:00
|
|
|
extraNativeBuildInputs = [ gtest ];
|
|
|
|
|
2021-03-19 17:17:44 +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-05 15:23:46 +00:00
|
|
|
homepage = "https://github.com/xbmc/inputstream.adaptive";
|
2021-03-19 17:17:44 +00:00
|
|
|
description = "Kodi inputstream addon for several manifest types";
|
|
|
|
platforms = platforms.all;
|
2021-03-23 19:22:30 +00:00
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = teams.kodi.members;
|
2021-03-19 17:17:44 +00:00
|
|
|
};
|
|
|
|
}
|