kodi: init pvr-hdhomerun plugin at 2.4.7
This commit is contained in:
parent
031156c41f
commit
8a978a7be3
|
@ -1,5 +1,6 @@
|
|||
{ stdenv, fetchurl, fetchFromGitHub, fetchpatch, lib
|
||||
, unzip, cmake, kodi, steam, libcec_platform, tinyxml }:
|
||||
, unzip, cmake, kodi, steam, libcec_platform, tinyxml
|
||||
, jsoncpp, libhdhomerun }:
|
||||
|
||||
let
|
||||
|
||||
|
@ -265,4 +266,37 @@ in
|
|||
ln -s $out/lib/addons/pvr.hts/pvr.hts.so* $out/share/kodi/addons/pvr.hts
|
||||
'';
|
||||
};
|
||||
|
||||
pvr-hdhomerun = (mkKodiPlugin rec {
|
||||
plugin = "pvr-hdhomerun";
|
||||
namespace = "pvr.hdhomerun";
|
||||
version = "2.4.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kodi-pvr";
|
||||
repo = "pvr.hdhomerun";
|
||||
rev = "60d89d16dd953d38947e8a6da2f8bb84a0f764ef";
|
||||
sha256 = "0dvdv0vk2q12nj0i5h51iaypy3i7jfsxjyxwwpxfy82y8260ragy";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/kodi-pvr/pvr.hdhomerun;
|
||||
description = "Kodi's HDHomeRun PVR client addon";
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ titanous ];
|
||||
};
|
||||
}).override {
|
||||
buildInputs = [ cmake jsoncpp libhdhomerun kodi libcec_platform kodi-platform ];
|
||||
|
||||
# disables check ensuring install prefix is that of kodi
|
||||
cmakeFlags = [ "-DOVERRIDE_PATHS=1" ];
|
||||
|
||||
# kodi checks for plugin .so libs existance in the addon folder (share/...)
|
||||
# and the non-wrapped kodi lib/... folder before even trying to dlopen
|
||||
# them. Symlinking .so, as setting LD_LIBRARY_PATH is of no use
|
||||
installPhase = ''
|
||||
make install
|
||||
ln -s $out/lib/addons/pvr.hdhomerun/pvr.hdhomerun.so* $out/share/kodi/addons/pvr.hdhomerun
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -16309,6 +16309,7 @@ with pkgs;
|
|||
++ optional (config.kodi.enableSVTPlay or false) svtplay
|
||||
++ optional (config.kodi.enableSteamLauncher or false) steam-launcher
|
||||
++ optional (config.kodi.enablePVRHTS or false) pvr-hts
|
||||
++ optional (config.kodi.enablePVRHDHomeRun or false) pvr-hdhomerun
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue