[Bug 795107] Meson: missing option to enable/disable plugins
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Apr 9 21:02:18 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=795107
--- Comment #6 from Xavier Claessens <xclaesse at gmail.com> ---
About global option to switch all "not-required" to either "required" or
"disabled", if I'm not mistaken it could work like this:
meson_options.txt:
option('group_switch', type: 'dependency', value: 'not-required')
ext/cairo/meson.build:
opt = get_option('cairo') or get_option('group_switch')
I think the "or" operator works like this:
required, required => required
required, not-required => required
required, disabled => disabled
no-required, required => required
no-required, not-required => not-required
no-required, disabled => disabled
disabled, required => disabled
disabled, not-required => disabled
disabled, disabled => disabled
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list