build/gl: fix automatic dispmanx detection for rpi4
authorMatthew Waters <matthew@centricular.com>
Tue, 4 Oct 2022 04:39:51 +0000 (05:39 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 20 Oct 2022 22:29:16 +0000 (22:29 +0000)
commit5ddb347a231d35ea3f4d39ccc527b24250d0fc7e
tree4fe8078b9af4581cc6e03502153e2f04534c967e
parent0f05be382bddfde7f1f0109b96ac1d358c5abff0
build/gl: fix automatic dispmanx detection for rpi4

rpi4 doesn't contain dispmanx but still contains bcm_host.pc which
confuses the configure detection.  Add an explicit check for
EGL_DISPMANX_WINDOW_T to ensure that we only build with dispmanx when
the types are available.

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/893
Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/952
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3230>
subprojects/gst-plugins-base/gst-libs/gst/gl/meson.build