From 204e68a5b188ac103a9a4a84e75f9299915a7229 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Tue, 8 Nov 2016 17:50:51 +0530 Subject: [PATCH] meson/gl: XCB changes also need x11-xcb as a dependency https://ci.gstreamer.net/job/GStreamer-master-meson/380/console [...] gst-libs/gst/gl/x11/xcb_event_source.c:98: undefined reference to `xcb_get_file_descriptor' --- gst-libs/gst/gl/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build index ea99df21a1..0a0cd65877 100644 --- a/gst-libs/gst/gl/meson.build +++ b/gst-libs/gst/gl/meson.build @@ -439,7 +439,8 @@ if need_platform_glx == 'yes' endif if need_win_x11 != 'no' - if x11_dep.found() + xcb_dep = dependency('x11-xcb') + if x11_dep.found() and xcb_dep.found() gl_sources += [ 'x11/gstgldisplay_x11.c', 'x11/gstglwindow_x11.c', @@ -449,7 +450,7 @@ if need_win_x11 != 'no' 'x11/gstgldisplay_x11.h', ] glconf.set('GST_GL_HAVE_WINDOW_X11', 1) - gl_winsys_deps += x11_dep + gl_winsys_deps += [x11_dep, xcb_dep] enabled_gl_winsys += 'x11' if need_platform_glx != 'no' and glx_dep.found()