mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
meson: Allow using GStreamer plugins from custom_subprojects
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1490>
This commit is contained in:
parent
b0370cdf00
commit
ccf64e369e
1 changed files with 8 additions and 8 deletions
16
meson.build
16
meson.build
|
@ -114,6 +114,14 @@ endif
|
|||
|
||||
orc_subproject = subproject('orc', required: get_option('orc'))
|
||||
|
||||
foreach custom_subproj: get_option('custom_subprojects').split(',')
|
||||
if custom_subproj != ''
|
||||
message ('Adding custom subproject ' + custom_subproj)
|
||||
subprojects += [[custom_subproj, {'match_gst_version': false}]]
|
||||
endif
|
||||
endforeach
|
||||
|
||||
|
||||
subprojects_names = []
|
||||
plugins_doc_caches = []
|
||||
orc_update_targets = []
|
||||
|
@ -369,14 +377,6 @@ if get_option('default_library') == 'static'
|
|||
meson.override_dependency('gstreamer-full-1.0', gst_full_dep)
|
||||
endif
|
||||
|
||||
foreach custom_subproj: get_option('custom_subprojects').split(',')
|
||||
if custom_subproj != ''
|
||||
message ('Adding custom subproject ' + custom_subproj)
|
||||
subproject(custom_subproj)
|
||||
subprojects_names += [custom_subproj]
|
||||
endif
|
||||
endforeach
|
||||
|
||||
message('Building subprojects: ' + ', '.join(subprojects_names))
|
||||
|
||||
setenv = find_program('gst-env.py')
|
||||
|
|
Loading…
Reference in a new issue