meson: Add a new option to control the source for orc
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 21 Sep 2022 16:18:31 +0000 (21:48 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 22 Sep 2022 22:31:21 +0000 (22:31 +0000)
commit6caa8524dd9a5fd1763b78f1745f08644267d889
tree56899d1d84e0f95f1e6e7783ebbbb09b862f856f
parent0e73b368704ccf7e9d5fc89ff42d0a3ef1dee00d
meson: Add a new option to control the source for orc

Previously we were unconditionally cloning the orc subproject because
we want the developer environment to use the latest orc. However, some
people want to use the system orc instead, or want to auto-detect
which to use, with the system orc getting preference. This requires
adding a new option to select that. See discussion at:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2556

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1282

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3062>
meson.build
meson_options.txt
subprojects/orc.wrap