mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 06:52:41 +00:00
docs: explicitly list gir files as depends for generating configs
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8324>
This commit is contained in:
parent
45c4c6d7ed
commit
b26a5ee088
6 changed files with 45 additions and 2 deletions
|
@ -89,4 +89,5 @@ lib_hotdoc_config = custom_target(
|
|||
'--output', '@OUTPUT@',
|
||||
],
|
||||
output: 'hotdoc-lib-configs.json',
|
||||
depends: [validate_gir[0]],
|
||||
)
|
||||
|
|
|
@ -107,6 +107,7 @@ lib_hotdoc_config = custom_target(
|
|||
'--output', '@OUTPUT@',
|
||||
],
|
||||
output: 'hotdoc-lib-configs.json',
|
||||
depends: [ges_gir[0]]
|
||||
)
|
||||
|
||||
doc_source_file = configure_file(output: 'doc_sources.json', configuration: plugin_sources, output_format: 'json')
|
||||
|
|
|
@ -106,7 +106,8 @@ libs_doc_c_source_file = configure_file(
|
|||
|
||||
libs_doc_gi_conf = {}
|
||||
|
||||
libs = []
|
||||
libs_doc_depends = []
|
||||
|
||||
if build_gir
|
||||
libs_doc_gi_conf += {
|
||||
'mpegts': mpegts_gir[0].full_path(),
|
||||
|
@ -123,23 +124,43 @@ if build_gir
|
|||
'analytics': analytics_gir[0].full_path(),
|
||||
}
|
||||
|
||||
libs_doc_depends += [
|
||||
mpegts_gir[0],
|
||||
play_gir[0],
|
||||
player_gir[0],
|
||||
insertbin_gir[0],
|
||||
basecamerabin_gir[0],
|
||||
webrtc_gir[0],
|
||||
audio_gir[0],
|
||||
transcoder_gir[0],
|
||||
codecs_gir[0],
|
||||
dxva_gir[0],
|
||||
mse_gir[0],
|
||||
analytics_gir[0],
|
||||
]
|
||||
|
||||
if get_variable('gst_cuda_gir', []).length() > 0
|
||||
libs_doc_gi_conf += {'cuda': gst_cuda_gir[0].full_path()}
|
||||
libs_doc_depends += [gst_cuda_gir[0]]
|
||||
endif
|
||||
|
||||
if gstva_dep.found()
|
||||
libs_doc_gi_conf += {'va': va_gir[0].full_path()}
|
||||
libs_doc_depends += [va_gir[0]]
|
||||
else
|
||||
libs_doc_gi_conf += {'va': join_paths(meson.global_source_root(), 'girs', 'GstVa-1.0.gir')}
|
||||
endif
|
||||
|
||||
if gstvulkan_dep.found()
|
||||
libs_doc_gi_conf += {'vulkan': vulkan_gir[0].full_path()}
|
||||
libs_doc_depends += [vulkan_gir[0]]
|
||||
if enabled_vulkan_winsys.contains('xcb')
|
||||
libs_doc_gi_conf += {'vulkan-xcb': vulkan_xcb_gir[0].full_path()}
|
||||
libs_doc_depends += [vulkan_xcb_gir[0]]
|
||||
endif
|
||||
if enabled_vulkan_winsys.contains('wayland')
|
||||
libs_doc_gi_conf += {'vulkan-wayland': vulkan_wayland_gir[0].full_path()}
|
||||
libs_doc_depends += [vulkan_wayland_gir[0]]
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
@ -170,6 +191,7 @@ libs_hotdoc_configs = custom_target(
|
|||
'--output', '@OUTPUT@',
|
||||
],
|
||||
output: 'hotdoc-libs-configs.json',
|
||||
depends: libs_doc_depends,
|
||||
)
|
||||
|
||||
doc_source_file = configure_file(output: 'doc_sources.json', configuration: plugin_sources, output_format: 'json')
|
||||
|
|
|
@ -101,16 +101,30 @@ libs_doc_gi_conf = {
|
|||
'video': video_gir[0].full_path(),
|
||||
}
|
||||
|
||||
libs_doc_depends = [
|
||||
app_gir[0],
|
||||
audio_gir[0],
|
||||
pbutils_gir[0],
|
||||
rtp_gir[0],
|
||||
rtsp_gir[0],
|
||||
sdp_gir[0],
|
||||
tag_gir[0],
|
||||
video_gir[0],
|
||||
]
|
||||
|
||||
if build_gstgl
|
||||
libs_doc_gi_conf += {'gl': gl_gir[0].full_path()}
|
||||
if enabled_gl_platforms.contains('egl')
|
||||
libs_doc_gi_conf += {'gl-egl': gl_egl_gir[0].full_path()}
|
||||
libs_doc_depends += [gl_egl_gir[0]]
|
||||
endif
|
||||
if enabled_gl_winsys.contains('x11')
|
||||
libs_doc_gi_conf += {'gl-x11': gl_x11_gir[0].full_path()}
|
||||
libs_doc_depends += [gl_x11_gir[0]]
|
||||
endif
|
||||
if enabled_gl_winsys.contains('wayland')
|
||||
libs_doc_gi_conf += {'gl-wayland': gl_wayland_gir[0].full_path()}
|
||||
libs_doc_depends += [gl_wayland_gir[0]]
|
||||
endif
|
||||
endif
|
||||
|
||||
|
@ -138,6 +152,7 @@ libs_hotdoc_configs = custom_target(
|
|||
'--output', '@OUTPUT@',
|
||||
],
|
||||
output: 'hotdoc-libs-configs.json',
|
||||
depends: libs_doc_depends,
|
||||
)
|
||||
|
||||
doc_source_file = configure_file(output: 'doc_sources.json', configuration: plugin_sources, output_format: 'json')
|
||||
|
|
|
@ -91,6 +91,7 @@ lib_hotdoc_config = custom_target(
|
|||
'--output', '@OUTPUT@',
|
||||
],
|
||||
output: 'hotdoc-lib-configs.json',
|
||||
depends: [rtsp_server_gir[0]],
|
||||
)
|
||||
|
||||
doc_source_file = configure_file(output: 'doc_sources.json', configuration: plugin_sources, output_format: 'json')
|
||||
|
|
|
@ -110,7 +110,8 @@ gst_doc_source_file = configure_file(
|
|||
gst_doc_gi_source_file = configure_file(
|
||||
output: 'gst_doc_gi_sources.json',
|
||||
configuration: {'gst': gst_gir[0].full_path()},
|
||||
output_format: 'json')
|
||||
output_format: 'json'
|
||||
)
|
||||
|
||||
lib_hotdoc_config = custom_target(
|
||||
'build-gst-hotdoc-configs',
|
||||
|
@ -129,6 +130,7 @@ lib_hotdoc_config = custom_target(
|
|||
'--output', '@OUTPUT@',
|
||||
],
|
||||
output: 'hotdoc-gst-configs.json',
|
||||
depends: [gst_gir[0]],
|
||||
)
|
||||
|
||||
libs_doc_source_file = configure_file(
|
||||
|
@ -163,6 +165,7 @@ libs_hotdoc_configs = custom_target(
|
|||
'--output', '@OUTPUT@',
|
||||
],
|
||||
output: 'hotdoc-libs-configs.json',
|
||||
depends: [gst_base_gir[0], gst_controller_gir[0], gst_net_gir[0], gst_check_gir[0]],
|
||||
)
|
||||
|
||||
doc_source_file = configure_file(output: 'doc_sources.json', configuration: plugin_sources, output_format: 'json')
|
||||
|
|
Loading…
Reference in a new issue