mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +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', '@OUTPUT@',
|
||||||
],
|
],
|
||||||
output: 'hotdoc-lib-configs.json',
|
output: 'hotdoc-lib-configs.json',
|
||||||
|
depends: [validate_gir[0]],
|
||||||
)
|
)
|
||||||
|
|
|
@ -107,6 +107,7 @@ lib_hotdoc_config = custom_target(
|
||||||
'--output', '@OUTPUT@',
|
'--output', '@OUTPUT@',
|
||||||
],
|
],
|
||||||
output: 'hotdoc-lib-configs.json',
|
output: 'hotdoc-lib-configs.json',
|
||||||
|
depends: [ges_gir[0]]
|
||||||
)
|
)
|
||||||
|
|
||||||
doc_source_file = configure_file(output: 'doc_sources.json', configuration: plugin_sources, output_format: 'json')
|
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_doc_gi_conf = {}
|
||||||
|
|
||||||
libs = []
|
libs_doc_depends = []
|
||||||
|
|
||||||
if build_gir
|
if build_gir
|
||||||
libs_doc_gi_conf += {
|
libs_doc_gi_conf += {
|
||||||
'mpegts': mpegts_gir[0].full_path(),
|
'mpegts': mpegts_gir[0].full_path(),
|
||||||
|
@ -123,23 +124,43 @@ if build_gir
|
||||||
'analytics': analytics_gir[0].full_path(),
|
'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
|
if get_variable('gst_cuda_gir', []).length() > 0
|
||||||
libs_doc_gi_conf += {'cuda': gst_cuda_gir[0].full_path()}
|
libs_doc_gi_conf += {'cuda': gst_cuda_gir[0].full_path()}
|
||||||
|
libs_doc_depends += [gst_cuda_gir[0]]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if gstva_dep.found()
|
if gstva_dep.found()
|
||||||
libs_doc_gi_conf += {'va': va_gir[0].full_path()}
|
libs_doc_gi_conf += {'va': va_gir[0].full_path()}
|
||||||
|
libs_doc_depends += [va_gir[0]]
|
||||||
else
|
else
|
||||||
libs_doc_gi_conf += {'va': join_paths(meson.global_source_root(), 'girs', 'GstVa-1.0.gir')}
|
libs_doc_gi_conf += {'va': join_paths(meson.global_source_root(), 'girs', 'GstVa-1.0.gir')}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if gstvulkan_dep.found()
|
if gstvulkan_dep.found()
|
||||||
libs_doc_gi_conf += {'vulkan': vulkan_gir[0].full_path()}
|
libs_doc_gi_conf += {'vulkan': vulkan_gir[0].full_path()}
|
||||||
|
libs_doc_depends += [vulkan_gir[0]]
|
||||||
if enabled_vulkan_winsys.contains('xcb')
|
if enabled_vulkan_winsys.contains('xcb')
|
||||||
libs_doc_gi_conf += {'vulkan-xcb': vulkan_xcb_gir[0].full_path()}
|
libs_doc_gi_conf += {'vulkan-xcb': vulkan_xcb_gir[0].full_path()}
|
||||||
|
libs_doc_depends += [vulkan_xcb_gir[0]]
|
||||||
endif
|
endif
|
||||||
if enabled_vulkan_winsys.contains('wayland')
|
if enabled_vulkan_winsys.contains('wayland')
|
||||||
libs_doc_gi_conf += {'vulkan-wayland': vulkan_wayland_gir[0].full_path()}
|
libs_doc_gi_conf += {'vulkan-wayland': vulkan_wayland_gir[0].full_path()}
|
||||||
|
libs_doc_depends += [vulkan_wayland_gir[0]]
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@ -170,6 +191,7 @@ libs_hotdoc_configs = custom_target(
|
||||||
'--output', '@OUTPUT@',
|
'--output', '@OUTPUT@',
|
||||||
],
|
],
|
||||||
output: 'hotdoc-libs-configs.json',
|
output: 'hotdoc-libs-configs.json',
|
||||||
|
depends: libs_doc_depends,
|
||||||
)
|
)
|
||||||
|
|
||||||
doc_source_file = configure_file(output: 'doc_sources.json', configuration: plugin_sources, output_format: 'json')
|
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(),
|
'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
|
if build_gstgl
|
||||||
libs_doc_gi_conf += {'gl': gl_gir[0].full_path()}
|
libs_doc_gi_conf += {'gl': gl_gir[0].full_path()}
|
||||||
if enabled_gl_platforms.contains('egl')
|
if enabled_gl_platforms.contains('egl')
|
||||||
libs_doc_gi_conf += {'gl-egl': gl_egl_gir[0].full_path()}
|
libs_doc_gi_conf += {'gl-egl': gl_egl_gir[0].full_path()}
|
||||||
|
libs_doc_depends += [gl_egl_gir[0]]
|
||||||
endif
|
endif
|
||||||
if enabled_gl_winsys.contains('x11')
|
if enabled_gl_winsys.contains('x11')
|
||||||
libs_doc_gi_conf += {'gl-x11': gl_x11_gir[0].full_path()}
|
libs_doc_gi_conf += {'gl-x11': gl_x11_gir[0].full_path()}
|
||||||
|
libs_doc_depends += [gl_x11_gir[0]]
|
||||||
endif
|
endif
|
||||||
if enabled_gl_winsys.contains('wayland')
|
if enabled_gl_winsys.contains('wayland')
|
||||||
libs_doc_gi_conf += {'gl-wayland': gl_wayland_gir[0].full_path()}
|
libs_doc_gi_conf += {'gl-wayland': gl_wayland_gir[0].full_path()}
|
||||||
|
libs_doc_depends += [gl_wayland_gir[0]]
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -138,6 +152,7 @@ libs_hotdoc_configs = custom_target(
|
||||||
'--output', '@OUTPUT@',
|
'--output', '@OUTPUT@',
|
||||||
],
|
],
|
||||||
output: 'hotdoc-libs-configs.json',
|
output: 'hotdoc-libs-configs.json',
|
||||||
|
depends: libs_doc_depends,
|
||||||
)
|
)
|
||||||
|
|
||||||
doc_source_file = configure_file(output: 'doc_sources.json', configuration: plugin_sources, output_format: 'json')
|
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', '@OUTPUT@',
|
||||||
],
|
],
|
||||||
output: 'hotdoc-lib-configs.json',
|
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')
|
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(
|
gst_doc_gi_source_file = configure_file(
|
||||||
output: 'gst_doc_gi_sources.json',
|
output: 'gst_doc_gi_sources.json',
|
||||||
configuration: {'gst': gst_gir[0].full_path()},
|
configuration: {'gst': gst_gir[0].full_path()},
|
||||||
output_format: 'json')
|
output_format: 'json'
|
||||||
|
)
|
||||||
|
|
||||||
lib_hotdoc_config = custom_target(
|
lib_hotdoc_config = custom_target(
|
||||||
'build-gst-hotdoc-configs',
|
'build-gst-hotdoc-configs',
|
||||||
|
@ -129,6 +130,7 @@ lib_hotdoc_config = custom_target(
|
||||||
'--output', '@OUTPUT@',
|
'--output', '@OUTPUT@',
|
||||||
],
|
],
|
||||||
output: 'hotdoc-gst-configs.json',
|
output: 'hotdoc-gst-configs.json',
|
||||||
|
depends: [gst_gir[0]],
|
||||||
)
|
)
|
||||||
|
|
||||||
libs_doc_source_file = configure_file(
|
libs_doc_source_file = configure_file(
|
||||||
|
@ -163,6 +165,7 @@ libs_hotdoc_configs = custom_target(
|
||||||
'--output', '@OUTPUT@',
|
'--output', '@OUTPUT@',
|
||||||
],
|
],
|
||||||
output: 'hotdoc-libs-configs.json',
|
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')
|
doc_source_file = configure_file(output: 'doc_sources.json', configuration: plugin_sources, output_format: 'json')
|
||||||
|
|
Loading…
Reference in a new issue