2021-04-05 15:23:46 +00:00
|
|
|
{ lib, rel, buildKodiBinaryAddon, fetchFromGitHub, kodi, bzip2, zlib }:
|
|
|
|
|
|
|
|
buildKodiBinaryAddon rec {
|
|
|
|
pname = "inputstream-ffmpegdirect";
|
|
|
|
namespace = "inputstream.ffmpegdirect";
|
2021-05-04 21:07:42 +00:00
|
|
|
version = "1.21.2";
|
2021-04-05 15:23:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xbmc";
|
|
|
|
repo = "inputstream.ffmpegdirect";
|
|
|
|
rev = "${version}-${rel}";
|
2021-05-04 21:07:42 +00:00
|
|
|
sha256 = "sha256-FXtjR/4/f434gp78PBSt+QrYtMYcnljO3Htxss/wH7U=";
|
2021-04-05 15:23:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extraBuildInputs = [ bzip2 zlib kodi.ffmpeg ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/xbmc/inputstream.ffmpegdirect/";
|
|
|
|
description = "InputStream Client for streams that can be opened by either FFmpeg's libavformat or Kodi's cURL";
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = teams.kodi.members;
|
|
|
|
};
|
|
|
|
}
|