3
0
Fork 0
forked from mirrors/nixpkgs

xbmcPlugins.genesis: added package

Closes #4482
This commit is contained in:
Edward Tjörnhammar 2014-10-12 08:47:05 +02:00 committed by Mateusz Kowalczyk
parent 08cd49e4e0
commit 9701d58e28
2 changed files with 26 additions and 1 deletions

View file

@ -16,7 +16,9 @@ let
installPhase = ''
d=$out${pluginDir}/${namespace}
mkdir -p $d
cp -R $src/* $d
sauce="."
[ -d ${namespace} ] && sauce=${namespace}
cp -R $sauce/* $d
'';
};
@ -53,6 +55,28 @@ in
};
genesis = mkXBMCPlugin rec {
plugin = "genesis";
namespace = "plugin.video.genesis";
version = "2.1.3";
src = fetchFromGitHub {
owner = "lambda81";
repo = "lambda-xbmc-addons";
rev = "f8aa34064bf31fffbb3c264af32c66bbdaf0a59e";
sha256 = "0d197fd6n3m9knpg38frnmfhqyabvh00ridpmikyw4vzk3hx11km";
};
meta = with stdenv.lib; {
homepage = "http://forums.tvaddons.ag/forums/148-lambda-s-xbmc-addons";
description = "The origins of streaming";
platforms = platforms.all;
maintainers = with maintainers; [ edwtjo ];
};
};
svtplay = mkXBMCPlugin rec {
plugin = "svtplay";

View file

@ -10679,6 +10679,7 @@ let
plugins = let inherit (lib) optional; in with xbmcPlugins;
([]
++ optional (config.xbmc.enableAdvancedLauncher or false) advanced-launcher
++ optional (config.xbmc.enableGenesis or false) genesis
++ optional (config.xbmc.enableSVTPlay or false) svtplay
);
};