[Spice-devel] [PATCH spice-gtk] meson: Allow building on a Wayland-only environment

Fabio Estevam festevam at denx.de
Mon Oct 10 19:37:09 UTC 2022


Currently, it is not possible to build spice-gtk on a Wayland-only
environment due to the x11 dependency in meson.

Since commit a7381b0864b7 ("Allow to build without X11 gdk backend)
it is possible to build spice-gtk without X11 GDK backend, so remove
x11 dependency in meson as well.

Signed-off-by: Fabio Estevam <festevam at denx.de>
---
 meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meson.build b/meson.build
index dd46294..c63467d 100644
--- a/meson.build
+++ b/meson.build
@@ -152,7 +152,6 @@ if d.found()
   spice_gtk_deps += d
   if host_machine.system() != 'windows'
     spice_gtk_deps += dependency('epoxy')
-    spice_gtk_deps += dependency('x11')
     d = dependency('libva-x11', required: false)
     if d.found()
       spice_gtk_deps += d
-- 
2.25.1



More information about the Spice-devel mailing list