[PATCH] meson: Allow building on a Wayland-only environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Fabio Estevam <festevam@xxxxxxx>

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@xxxxxxx>
 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

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]