5b567aa208
GitOrigin-RevId: 16105403bdd843540cbef9c63fc0f16c1c6eaa70
31 lines
946 B
Nix
31 lines
946 B
Nix
{ stdenv, lib, rel, addonDir, buildKodiBinaryAddon, fetchFromGitHub, expat, glib, nspr, nss, gtest }:
|
|
buildKodiBinaryAddon rec {
|
|
pname = "inputstream-adaptive";
|
|
namespace = "inputstream.adaptive";
|
|
version = "2.6.20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "xbmc";
|
|
repo = "inputstream.adaptive";
|
|
rev = "${version}-${rel}";
|
|
sha256 = "0g0pvfdmnd3frsd5sdckv3llwyjiw809rqy1slq3xj6i08xhcmd5";
|
|
};
|
|
|
|
extraNativeBuildInputs = [ gtest ];
|
|
|
|
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; {
|
|
homepage = "https://github.com/xbmc/inputstream.adaptive";
|
|
description = "Kodi inputstream addon for several manifest types";
|
|
platforms = platforms.all;
|
|
license = licenses.gpl2Only;
|
|
maintainers = teams.kodi.members;
|
|
};
|
|
}
|