kodi-retroarch-advanced-launchers: ensure sound has been released

+5 -4
+5 -4
pkgs/misc/emulators/retroarch/kodi-advanced-launchers.nix
··· 8 9 script = exec: '' 10 #!${stdenv.shell} 11 - nohup sh -c "sleep 1 && pkill -SIGSTOP kodi" & 12 - nohup sh -c "${exec} '$@' -f;pkill -SIGCONT kodi" 13 ''; 14 scriptSh = exec: pkgs.writeScript ("kodi-"+exec.name) (script exec.path); 15 execs = map (core: rec { name = core.core; path = core+"/bin/retroarch-"+name;}) cores; ··· 31 description = "Kodi retroarch advanced launchers"; 32 longDescription = '' 33 These retroarch launchers are intended to be used with 34 - anglescry advanced launcher for Kodi since device input is 35 - caught by both Kodi and the retroarch process. 36 ''; 37 license = stdenv.lib.licenses.gpl3; 38 };
··· 8 9 script = exec: '' 10 #!${stdenv.shell} 11 + nohup sh -c "pkill -SIGTSTP kodi" & 12 + # https://forum.kodi.tv/showthread.php?tid=185074&pid=1622750#pid1622750 13 + nohup sh -c "sleep 10 && ${exec} '$@' -f;pkill -SIGCONT kodi" 14 ''; 15 scriptSh = exec: pkgs.writeScript ("kodi-"+exec.name) (script exec.path); 16 execs = map (core: rec { name = core.core; path = core+"/bin/retroarch-"+name;}) cores; ··· 32 description = "Kodi retroarch advanced launchers"; 33 longDescription = '' 34 These retroarch launchers are intended to be used with 35 + advanced (emulation) launcher for Kodi since device input is 36 + otherwise caught by both Kodi and the retroarch process. 37 ''; 38 license = stdenv.lib.licenses.gpl3; 39 };