Configure subprojects in the right order
authorTim-Philipp Müller <tim@centricular.com>
Mon, 18 Feb 2019 16:13:07 +0000 (16:13 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 18 Feb 2019 16:16:02 +0000 (16:16 +0000)
commit7ea556d034c63a293d0579d6553eb6d43ebbbfb5
treee0eda030c36d68990fded4a88cd42bec9b69f10e
parenta9bcc8f0ee6a8fc91bf32beaa84c1803997f289b
Configure subprojects in the right order

Use an array instead of a dict to make sure we iterate over
the list of subprojects in the right order, which is first
GStreamer core, then gst-plugins-base, then other things.

Without this subprojects might get configured in random order,
in which case gstreamer or gst-plugins-base libs might get picked
up via pkg-config if they are also available installed, instead of
being picked up from the subproject. This breaks all kinds of
assumptions in gst-build and will likely have strange effects
and/or lead to build failures such as

subprojects/gst-plugins-good/tests/check/meson.build:144:2:
ERROR: 'gstreamer-plugins-base-1.0' is not a pkgconfig dependency
meson.build