We forgot to add the `GstGL` gir as a dependency which was properly
done for GstGLWayland and GstGLX11.
And document why we use a list for `all_libraries`
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1168>
plugins_doc_caches = []
orc_update_targets = []
all_plugins = []
+# Using a list and not a dict to keep the ordering to build the chain of `gir`
+# dependencies
all_libraries = []
foreach sp : subprojects
project_name = sp[0]
'extra_args' : gir_init_section + ['--c-include=gst/gl/egl/egl.h'],
'dependencies' : [video_dep, gst_dep, gst_base_dep]
}
+ gir_dict = gir + {'includes': gir['includes'] + ['GstGL-1.0']}
+ libraries += [[pkg_name, {'gir': gir_dict}]]
if not static_build
+ gir += {'includes': gir['includes'] + [gl_gir[0]]}
gl_egl_gir = gnome.generate_gir(gstgl, kwargs: gir)
endif
- libraries += [[pkg_name, {'gir': gir}]]
endif
gstglegl_dep = declare_dependency(dependencies : [gstgl_dep],
sources : gl_egl_gir)