[Bug 795107] Meson: missing option to enable/disable plugins

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 25 14:20:21 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=795107

--- Comment #43 from Nirbheek Chauhan <nirbheek.chauhan at gmail.com> ---
(In reply to Xavier Claessens from comment #41)
> Review of attachment 373160 [details] [review]:
> 
> ::: meson_options.txt
> @@ +13,3 @@
>  # Common options, automatically inherited by subprojects
> +option('gtk_doc', type : 'feature', value : 'auto',
> +       description : 'Generate API documentation with gtk-doc')
> 
> That's going to be inconsistent with all other GNOME modules that has
> boolean value. There has been effort to consolidate on the "gtk_doc" naming
> and now we'll divert again... Not saying it's a bad idea, but I think we
> should try to coordinate this change for all modules.

Well, this sort of thing is actually why I was advocating for
-Dfoo={true,false,auto}, because it's backwards-compatible w.r.t. user
interface when you switch options over from boolean to feature. I'm sure we can
fix that with aliases in the future, so that yes/no|true/false|enabled/disabled
are all the same.

Also the name is not set in stone; our build system API is not fixed till we
make it the default.

-- 
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