3
0
Fork 0
forked from mirrors/nixpkgs
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