From bb48e326ac480d1572a1e6e55fac02c768062823 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 23 Mar 2019 21:51:37 +0000 Subject: [PATCH] meson: gl: don't pass generated xdg shell header and source file to g-i They're private, g-i doesn't need to know about them. Avoids lots of spammy g-i warnings. --- gst-libs/gst/gl/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build index 58e9ca4..0e0ba1b 100644 --- a/gst-libs/gst/gl/meson.build +++ b/gst-libs/gst/gl/meson.build @@ -35,6 +35,8 @@ gl_sources = [ 'gstglwindow.c', ] +gl_priv_sources = [] + gir_gl_headers = [ 'gl.h', 'gl-prelude.h', @@ -551,6 +553,8 @@ if need_win_wayland != 'no' 'wayland/gstgldisplay_wayland.c', 'wayland/gstglwindow_wayland_egl.c', 'wayland/wayland_event_source.c', + ] + gl_priv_sources += [ xdg_shell_header, xdg_shell_code, ] @@ -908,7 +912,7 @@ if build_gstgl gen_sources = [gl_enumtypes_h] gstgl = library('gstgl-' + api_version, - gl_sources, gl_enumtypes_c, gl_enumtypes_h, + gl_sources, gl_priv_sources, gl_enumtypes_c, gl_enumtypes_h, c_args : gst_plugins_base_args + gl_cpp_args + ['-DBUILDING_GST_GL'], objc_args : gst_plugins_base_args + gl_cpp_args + gl_objc_args + ['-DBUILDING_GST_GL'], include_directories : [configinc, libsinc, gl_includes], -- 2.7.4