2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 07:05:13 +00:00
nixpkgs/pkgs/development/libraries/spice-gtk
Adam Joseph 4a701a51aa spice-gtk: fix build for withPolkit==false case
The spice-gtk/default.nix expression provides an option, withPolkit,
to decide whether or not the library should be compiled with support
for polkit.  Currently setting that argument to false results in a
build failure:

  Run-time dependency polkit-gobject-1 found: NO (tried pkgconfig)
  meson.build:207:0: ERROR: Dependency "polkit-gobject-1" not found, tried pkgconfig

It appears that at some point spice-gtk began requiring the meson flag
-Dpolkit=disabled in this case.  This commit adds that flag when
!withPolkit.
2022-03-02 23:48:27 -08:00
..
default.nix spice-gtk: fix build for withPolkit==false case 2022-03-02 23:48:27 -08:00