meson: Add gstreamer-gl-1.0 pkgconfig vars to internal dependency

So we can fetch gl_winsys, gl_platforms, etc directly using
gst_gl_dep.get_variable() when building gstreamer as a subproject, or
when building gst-plugins-rs's gtk4 plugin.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3654>
This commit is contained in:
Nirbheek Chauhan 2022-12-29 03:52:42 +05:30
parent 3f3bd70687
commit 36a619ba60

View file

@ -1118,7 +1118,8 @@ if build_gstgl
gstgl_dep = declare_dependency(link_with : gstgl,
include_directories : [libsinc, compat_includes],
sources: gen_sources,
dependencies : [video_dep, gst_base_dep])
dependencies : [video_dep, gst_base_dep],
variables: pkgconfig_gl_variables)
gstglproto_dep = declare_dependency(
dependencies : [gstgl_dep] + gl_lib_deps,
sources: gen_sources