Skip to content

Commit

Permalink
Merge pull request #83131 from ck3d/fix-kodi-lirc
Browse files Browse the repository at this point in the history
kodi: fix lirc support
  • Loading branch information
markuskowa committed Mar 22, 2020
2 parents ca7f78a + 8f12a72 commit 667df74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nixos/modules/services/x11/desktop-managers/kodi.nix
Expand Up @@ -20,7 +20,7 @@ in
services.xserver.desktopManager.session = [{
name = "kodi";
start = ''
${pkgs.kodi}/bin/kodi --lircdev /run/lirc/lircd --standalone &
LIRC_SOCKET_PATH=/run/lirc/lircd ${pkgs.kodi}/bin/kodi --standalone &
waitPID=$!
'';
}];
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/video/kodi/default.nix
Expand Up @@ -19,6 +19,7 @@
, libcrossguid, libmicrohttpd
, bluez, doxygen, giflib, glib, harfbuzz, lcms2, libidn, libpthreadstubs, libtasn1, libXdmcp
, libplist, p11-kit, zlib, flatbuffers, fmt, fstrcmp, rapidjson
, lirc
, dbusSupport ? true, dbus ? null
, joystickSupport ? true, cwiid ? null
, nfsSupport ? true, libnfs ? null
Expand Down Expand Up @@ -168,6 +169,7 @@ in stdenv.mkDerivation {
libcrossguid cwiid libplist
bluez giflib glib harfbuzz lcms2 libpthreadstubs libXdmcp
ffmpeg flatbuffers fmt fstrcmp rapidjson
lirc
# libdvdcss libdvdnav libdvdread
]
++ lib.optional dbusSupport dbus
Expand Down Expand Up @@ -202,7 +204,6 @@ in stdenv.mkDerivation {
"-DENABLE_EVENTCLIENTS=ON"
"-DENABLE_INTERNAL_CROSSGUID=OFF"
"-DENABLE_OPTICAL=ON"
"-DLIRC_DEVICE=/run/lirc/lircd"
] ++ lib.optional useWayland [
"-DCORE_PLATFORM_NAME=wayland"
"-DWAYLAND_RENDER_SYSTEM=gl"
Expand Down

0 comments on commit 667df74

Please sign in to comment.