mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
doc: Handle gst_dep.get_variable('libexecdir') failure
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8178>
This commit is contained in:
parent
caa223baf4
commit
8be9074b0f
8 changed files with 18 additions and 9 deletions
|
@ -31,7 +31,9 @@ if gst_dep.type_name() == 'internal'
|
|||
gst_proj = subproject('gstreamer')
|
||||
plugins_cache_generator = gst_proj.get_variable('plugins_cache_generator')
|
||||
else
|
||||
plugins_cache_generator = find_program(join_paths(gst_dep.get_variable('libexecdir'), 'gstreamer-' + apiversion, 'gst-plugins-doc-cache-generator'), required: false)
|
||||
plugins_cache_generator = find_program('gst-plugins-doc-cache-generator',
|
||||
dirs: [join_paths(gst_dep.get_variable('libexecdir', default_value: ''), 'gstreamer-' + apiversion)],
|
||||
required: false)
|
||||
endif
|
||||
|
||||
plugins_cache = join_paths(meson.current_source_dir(), 'gst_plugins_cache.json')
|
||||
|
|
|
@ -22,8 +22,9 @@ if gst_dep.type_name() == 'internal'
|
|||
gst_proj = subproject('gstreamer')
|
||||
plugins_cache_generator = gst_proj.get_variable('plugins_cache_generator')
|
||||
else
|
||||
plugins_cache_generator = find_program(join_paths(gst_dep.get_variable('libexecdir'), 'gstreamer-' + api_version, 'gst-plugins-doc-cache-generator'),
|
||||
required: false)
|
||||
plugins_cache_generator = find_program('gst-plugins-doc-cache-generator',
|
||||
dirs: [join_paths(gst_dep.get_variable('libexecdir', default_value: ''), 'gstreamer-' + api_version)],
|
||||
required: false)
|
||||
endif
|
||||
|
||||
plugins_cache = join_paths(meson.current_source_dir(), 'gst_plugins_cache.json')
|
||||
|
|
|
@ -30,7 +30,8 @@ if gst_dep.type_name() == 'internal'
|
|||
gst_proj = subproject('gstreamer')
|
||||
plugins_cache_generator = gst_proj.get_variable('plugins_cache_generator')
|
||||
else
|
||||
plugins_cache_generator = find_program(join_paths(gst_dep.get_variable('libexecdir'), 'gstreamer-' + api_version, 'gst-plugins-doc-cache-generator'),
|
||||
plugins_cache_generator = find_program('gst-plugins-doc-cache-generator',
|
||||
dirs: [join_paths(gst_dep.get_variable('libexecdir', default_value: ''), 'gstreamer-' + api_version)],
|
||||
required: false)
|
||||
endif
|
||||
|
||||
|
|
|
@ -32,7 +32,8 @@ if gst_dep.type_name() == 'internal'
|
|||
gst_proj = subproject('gstreamer')
|
||||
plugins_cache_generator = gst_proj.get_variable('plugins_cache_generator')
|
||||
else
|
||||
plugins_cache_generator = find_program(join_paths(gst_dep.get_variable('libexecdir'), 'gstreamer-' + api_version, 'gst-plugins-doc-cache-generator'),
|
||||
plugins_cache_generator = find_program('gst-plugins-doc-cache-generator',
|
||||
dirs: [join_paths(gst_dep.get_variable('libexecdir', default_value: ''), 'gstreamer-' + api_version)],
|
||||
required: false)
|
||||
endif
|
||||
|
||||
|
|
|
@ -22,7 +22,8 @@ if gst_dep.type_name() == 'internal'
|
|||
gst_proj = subproject('gstreamer')
|
||||
plugins_cache_generator = gst_proj.get_variable('plugins_cache_generator')
|
||||
else
|
||||
plugins_cache_generator = find_program(join_paths(gst_dep.get_variable('libexecdir'), 'gstreamer-' + api_version, 'gst-plugins-doc-cache-generator'),
|
||||
plugins_cache_generator = find_program('gst-plugins-doc-cache-generator',
|
||||
dirs: [join_paths(gst_dep.get_variable('libexecdir', default_value: ''), 'gstreamer-' + api_version)],
|
||||
required: false)
|
||||
endif
|
||||
|
||||
|
|
|
@ -23,7 +23,8 @@ if gst_dep.type_name() == 'internal'
|
|||
gst_proj = subproject('gstreamer')
|
||||
plugins_cache_generator = gst_proj.get_variable('plugins_cache_generator')
|
||||
else
|
||||
plugins_cache_generator = find_program(join_paths(gst_dep.get_variable('libexecdir'), 'gstreamer-' + api_version, 'gst-plugins-doc-cache-generator'),
|
||||
plugins_cache_generator = find_program('gst-plugins-doc-cache-generator',
|
||||
dirs: [join_paths(gst_dep.get_variable('libexecdir', default_value: ''), 'gstreamer-' + api_version)],
|
||||
required: false)
|
||||
endif
|
||||
|
||||
|
|
|
@ -31,7 +31,8 @@ if gst_dep.type_name() == 'internal'
|
|||
gst_proj = subproject('gstreamer')
|
||||
plugins_cache_generator = gst_proj.get_variable('plugins_cache_generator')
|
||||
else
|
||||
plugins_cache_generator = find_program(join_paths(gst_dep.get_variable('libexecdir'), 'gstreamer-' + api_version, 'gst-plugins-doc-cache-generator'),
|
||||
plugins_cache_generator = find_program('gst-plugins-doc-cache-generator',
|
||||
dirs: [join_paths(gst_dep.get_variable('libexecdir', default_value: ''), 'gstreamer-' + api_version)],
|
||||
required: false)
|
||||
endif
|
||||
|
||||
|
|
|
@ -27,7 +27,8 @@ if gst_dep.type_name() == 'internal'
|
|||
gst_proj = subproject('gstreamer')
|
||||
plugins_cache_generator = gst_proj.get_variable('plugins_cache_generator')
|
||||
else
|
||||
plugins_cache_generator = find_program(join_paths(gst_dep.get_variable('libexecdir'), 'gstreamer-' + api_version, 'gst-plugins-doc-cache-generator'),
|
||||
plugins_cache_generator = find_program('gst-plugins-doc-cache-generator',
|
||||
dirs: [join_paths(gst_dep.get_variable('libexecdir', default_value: ''), 'gstreamer-' + api_version)],
|
||||
required: false)
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue