[Bug 795107] Meson: missing option to enable/disable plugins
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Apr 9 20:45:39 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=795107
--- Comment #5 from Xavier Claessens <xclaesse at gmail.com> ---
I proposed a new type of option, called 'dependency', it can have 3 values:
"required" (i.e. enable), "not-required" (i.e. auto) or "disabled" (i.e.
disable).
The intended usage in GStreamer would be to have something like this on the top
of ext/cairo/meson.build:
cairo_dep = dependency('cairo-gobject', version : '>=1.10.0', required :
get_option('cairo'))
if not cairo_dep.found()
subdir_done()
endif
And in meson_options.txt:
option('cairo', type: 'dependency', value: 'not-required')
--
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