kodiPlugins.steam-launcher: init plugin at 3.1.1

This commit is contained in:
Edward Tjörnhammar 2015-11-22 10:09:40 +01:00
parent 3ffae479d1
commit e33b26ce2f
2 changed files with 32 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, kodi }:
{ stdenv, fetchFromGitHub, kodi, steam }:
let
@ -87,7 +87,7 @@ in
owner = "nilzen";
repo = "xbmc-" + plugin;
rev = "b60cc1164d0077451be935d0d1a26f2d29b0f589";
sha256 = "1bx2c3z8rbkk75hykpmls956hfkwvsm4d8gvlrh63s8zimlwgv7k";
sha256 = "0rdmrgjlzhnrpmhgqvf2947i98s51r0pjbnwrhw67nnqkylss5dj";
};
meta = with stdenv.lib; {
@ -105,4 +105,33 @@ in
};
steam-launcher = (mkKodiPlugin rec {
plugin = "steam-launcher";
namespace = "script.steam.launcher";
version = "3.1.1";
src = fetchFromGitHub rec {
owner = "teeedubb";
repo = owner + "-xbmc-repo";
rev = "bb66db7c4927619485373699ff865a9b00e253bb";
sha256 = "1skjkz0h6nkg04vylhl4zzavf5lba75j0qbgdhb9g7h0a98jz7s4";
};
meta = with stdenv.lib; {
homepage = "http://forum.kodi.tv/showthread.php?tid=157499";
description = "Launch Steam in Big Picture Mode from Kodi";
longDescription = ''
This add-on will close/minimise Kodi, launch Steam in Big
Picture Mode and when Steam BPM is exited (either by quitting
Steam or returning to the desktop) Kodi will
restart/maximise. Running pre/post Steam scripts can be
configured via the addon.
'';
maintainers = with maintainers; [ edwtjo ];
};
}).override {
propagatedBuildinputs = [ steam ];
};
}

View file

@ -13524,6 +13524,7 @@ let
++ optional (config.kodi.enableAdvancedLauncher or false) advanced-launcher
++ optional (config.kodi.enableGenesis or false) genesis
++ optional (config.kodi.enableSVTPlay or false) svtplay
++ optional (config.kodi.enableSteamLauncher or false) steam-launcher
);
};