mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
meson: Pass gstreamer=enabled to libnice when webrtc is enabled
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5505>
This commit is contained in:
parent
9f5703c366
commit
b0d3d7644d
1 changed files with 6 additions and 1 deletions
|
@ -91,12 +91,17 @@ if building_full
|
||||||
building_full_options = ['gstreamer-full=enabled']
|
building_full_options = ['gstreamer-full=enabled']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
libnice_options = []
|
||||||
|
if get_option('webrtc').enabled()
|
||||||
|
libnice_options += ['gstreamer=enabled']
|
||||||
|
endif
|
||||||
|
|
||||||
# Ordered list of subprojects (dict has no ordering guarantees)
|
# Ordered list of subprojects (dict has no ordering guarantees)
|
||||||
subprojects = [
|
subprojects = [
|
||||||
['gstreamer', {'build-hotdoc': true, 'subproject_options': building_full_options}],
|
['gstreamer', {'build-hotdoc': true, 'subproject_options': building_full_options}],
|
||||||
['gst-plugins-base', {'option': get_option('base'), 'build-hotdoc': true}],
|
['gst-plugins-base', {'option': get_option('base'), 'build-hotdoc': true}],
|
||||||
['gst-plugins-good', {'option': get_option('good'), 'build-hotdoc': true}],
|
['gst-plugins-good', {'option': get_option('good'), 'build-hotdoc': true}],
|
||||||
['libnice', { 'option': get_option('libnice'), 'match_gst_version': false}],
|
['libnice', { 'option': get_option('libnice'), 'match_gst_version': false, 'subproject_options': libnice_options}],
|
||||||
['gst-plugins-bad', { 'option': get_option('bad'), 'build-hotdoc': true}],
|
['gst-plugins-bad', { 'option': get_option('bad'), 'build-hotdoc': true}],
|
||||||
['gst-plugins-ugly', { 'option': get_option('ugly'), 'build-hotdoc': true}],
|
['gst-plugins-ugly', { 'option': get_option('ugly'), 'build-hotdoc': true}],
|
||||||
['gst-libav', { 'option': get_option('libav'), 'build-hotdoc': true}],
|
['gst-libav', { 'option': get_option('libav'), 'build-hotdoc': true}],
|
||||||
|
|
Loading…
Reference in a new issue