kodi-retroarch-advanced-launchers: ensure sound has been released
This commit is contained in:
parent
57091a19e2
commit
a66a9ae8e8
@ -8,8 +8,9 @@ let
|
|||||||
|
|
||||||
script = exec: ''
|
script = exec: ''
|
||||||
#!${stdenv.shell}
|
#!${stdenv.shell}
|
||||||
nohup sh -c "sleep 1 && pkill -SIGSTOP kodi" &
|
nohup sh -c "pkill -SIGTSTP kodi" &
|
||||||
nohup sh -c "${exec} '$@' -f;pkill -SIGCONT kodi"
|
# https://forum.kodi.tv/showthread.php?tid=185074&pid=1622750#pid1622750
|
||||||
|
nohup sh -c "sleep 10 && ${exec} '$@' -f;pkill -SIGCONT kodi"
|
||||||
'';
|
'';
|
||||||
scriptSh = exec: pkgs.writeScript ("kodi-"+exec.name) (script exec.path);
|
scriptSh = exec: pkgs.writeScript ("kodi-"+exec.name) (script exec.path);
|
||||||
execs = map (core: rec { name = core.core; path = core+"/bin/retroarch-"+name;}) cores;
|
execs = map (core: rec { name = core.core; path = core+"/bin/retroarch-"+name;}) cores;
|
||||||
@ -31,8 +32,8 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Kodi retroarch advanced launchers";
|
description = "Kodi retroarch advanced launchers";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
These retroarch launchers are intended to be used with
|
These retroarch launchers are intended to be used with
|
||||||
anglescry advanced launcher for Kodi since device input is
|
advanced (emulation) launcher for Kodi since device input is
|
||||||
caught by both Kodi and the retroarch process.
|
otherwise caught by both Kodi and the retroarch process.
|
||||||
'';
|
'';
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user