meson: link remoting with glib and gobject

remoting-plugin.c calls things like g_error_free() and g_object_set(), so it
needs to link glib-2.0 and gobject-2.0 explicitly, instead of relying on
GStreamer pkg-config bringing them in.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
(cherry picked from commit 292aaf9308)
This commit is contained in:
Pekka Paalanen 2019-03-22 14:37:39 +02:00 committed by Simon Ser
parent a60ebf2bd3
commit ee5b6f256d
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -7,7 +7,8 @@ if get_option('remoting')
depnames = [
'gstreamer-1.0', 'gstreamer-allocators-1.0',
'gstreamer-app-1.0', 'gstreamer-video-1.0'
'gstreamer-app-1.0', 'gstreamer-video-1.0',
'gobject-2.0', 'glib-2.0'
]
deps_remoting = [ dep_libweston ]
foreach depname : depnames