mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
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'
This commit is contained in:
parent
e6651a733b
commit
de4552d279
1 changed files with 3 additions and 2 deletions
|
@ -439,7 +439,8 @@ if need_platform_glx == 'yes'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if need_win_x11 != 'no'
|
if need_win_x11 != 'no'
|
||||||
if x11_dep.found()
|
xcb_dep = dependency('x11-xcb')
|
||||||
|
if x11_dep.found() and xcb_dep.found()
|
||||||
gl_sources += [
|
gl_sources += [
|
||||||
'x11/gstgldisplay_x11.c',
|
'x11/gstgldisplay_x11.c',
|
||||||
'x11/gstglwindow_x11.c',
|
'x11/gstglwindow_x11.c',
|
||||||
|
@ -449,7 +450,7 @@ if need_win_x11 != 'no'
|
||||||
'x11/gstgldisplay_x11.h',
|
'x11/gstgldisplay_x11.h',
|
||||||
]
|
]
|
||||||
glconf.set('GST_GL_HAVE_WINDOW_X11', 1)
|
glconf.set('GST_GL_HAVE_WINDOW_X11', 1)
|
||||||
gl_winsys_deps += x11_dep
|
gl_winsys_deps += [x11_dep, xcb_dep]
|
||||||
enabled_gl_winsys += 'x11'
|
enabled_gl_winsys += 'x11'
|
||||||
|
|
||||||
if need_platform_glx != 'no' and glx_dep.found()
|
if need_platform_glx != 'no' and glx_dep.found()
|
||||||
|
|
Loading…
Reference in a new issue