build: Disable pygobject submodule if system version exists
authorBastien Nocera <hadess@hadess.net>
Wed, 13 Oct 2021 10:38:35 +0000 (12:38 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 13 Oct 2021 14:17:13 +0000 (14:17 +0000)
commit547570cd790f2b2e390edc1dfb5df4c7a33de45c
tree71acdf0c18a5893fa16e550203458214b7fbf2e9
parent9f13ee5b0eada5ca0997e59be2ef46d5c2dd1dcd
build: Disable pygobject submodule if system version exists

If pygobject is available on the system, its version is new enough,
don't build the older pygobject and rely on that system one.

This fixes totem not being able to use libpeas' Python support.

** (totem:544972): WARNING **: 12:04:05.407: Error initializing Python Plugin Loader: PyGObject initialization failed
ImportError: could not import gobject (version mismatch, 3.40.1 is required, found 3.38.1)

Closes: #806
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1135>
meson.build