summaryrefslogtreecommitdiff
path: root/src/gstreamer/meson.build
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-07 02:28:41 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-07 21:54:06 +0200
commit34396936f7a46f21422ef64769fd807876716304 (patch)
treebe18686eac65f4df93125049abb8338184ad1a0b /src/gstreamer/meson.build
parentf36ecf98247a81a322faded4f9b25f06fcbe4ccd (diff)
gst: Fix GLib detection
Commit 17cccc68a88f ("Add GStreamer plugin and element skeleton") has gained a last minute fix for a clang compilation error with GLib prior to v2.63.0. The fix wasn't properly tested, and failed to check the GLib dependency correctly. This resulted in compilation of the GStreamer element to always be disabled. Fix this by changing the GLib package name from 'glib' to 'glib-2.0'. Fixes: 17cccc68a88f ("Add GStreamer plugin and element skeleton") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Diffstat (limited to 'src/gstreamer/meson.build')
-rw-r--r--src/gstreamer/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gstreamer/meson.build b/src/gstreamer/meson.build
index 8759a122..e119e472 100644
--- a/src/gstreamer/meson.build
+++ b/src/gstreamer/meson.build
@@ -13,7 +13,7 @@ libcamera_gst_cpp_args = [
'-DPACKAGE="@0@"'.format(meson.project_name()),
]
-glib_dep = dependency('glib', required : get_option('gstreamer'))
+glib_dep = dependency('glib-2.0', required : get_option('gstreamer'))
gst_dep_version = '>=1.14.0'
gstvideo_dep = dependency('gstreamer-video-1.0', version : gst_dep_version,