virt-viewer: use regular spice-gtk

This commit is contained in:
Atemu 2023-02-03 16:55:49 +01:00
parent 910f943116
commit 81b5707893

View File

@ -25,8 +25,7 @@
, pkg-config , pkg-config
, python3 , python3
, shared-mime-info , shared-mime-info
# https://gitlab.com/virt-viewer/virt-viewer/-/issues/88 , spice-gtk
, spice-gtk_libsoup2
, spice-protocol , spice-protocol
, spiceSupport ? true , spiceSupport ? true
, vte , vte
@ -78,14 +77,14 @@ stdenv.mkDerivation rec {
libgovirt libgovirt
] ++ optionals spiceSupport ([ ] ++ optionals spiceSupport ([
gdbm gdbm
spice-gtk_libsoup2 spice-gtk
spice-protocol spice-protocol
] ++ optionals stdenv.isLinux [ ] ++ optionals stdenv.isLinux [
libcap libcap
]); ]);
# Required for USB redirection PolicyKit rules file # Required for USB redirection PolicyKit rules file
propagatedUserEnvPkgs = optional spiceSupport spice-gtk_libsoup2; propagatedUserEnvPkgs = optional spiceSupport spice-gtk;
mesonFlags = [ mesonFlags = [
(lib.mesonEnable "ovirt" ovirtSupport) (lib.mesonEnable "ovirt" ovirtSupport)