[Bug 796798] build: Use new meson 'feature' option and dictionnary

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 12 14:28:09 UTC 2018


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

Mathieu Duponchelle <mduponchelle1 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #373007|none                        |reviewed
             status|                            |

--- Comment #2 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
Review of attachment 373007:
 --> (https://bugzilla.gnome.org/review?bug=796798&attachment=373007)

::: meson.build
@@ -145,3 +107,6 @@
-message('Building subprojects: ' + ', '.join(subprojects))
-foreach subproj: subprojects
-    subproject(subproj, version: gst_version)
+subprojects_names = []
+foreach project_name, build_infos: subprojects
+    build = false
... 3 more ...

I think you could do:

elif get_option(build_infos.get('option')).auto()

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