mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 01:37:37 +00:00
jellyfin-media-player: add optional dbus dependency
Fix Update pkgs/applications/video/jellyfin-media-player/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/applications/video/jellyfin-media-player/default.nix Co-authored-by: Alex Martens <alex@thinglab.org>
This commit is contained in:
parent
26839ce8e0
commit
9f80c7486b
@ -23,6 +23,7 @@
|
||||
, qtwebengine
|
||||
, qtx11extras
|
||||
, jellyfin-web
|
||||
, withDbus ? stdenv.isLinux, dbus
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
@ -74,6 +75,8 @@ mkDerivation rec {
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DQTROOT=${qtbase}"
|
||||
"-GNinja"
|
||||
] ++ lib.optionals (!withDbus) [
|
||||
"-DLINUX_X11POWER=ON"
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
|
Loading…
Reference in New Issue
Block a user