meson: fix dependency type name to check for
authorTim-Philipp Müller <tim@centricular.com>
Tue, 19 Dec 2017 15:14:07 +0000 (15:14 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 19 Dec 2017 15:14:07 +0000 (15:14 +0000)
meson.build

index 3edc727..646234c 100644 (file)
@@ -330,7 +330,7 @@ gstgl_dep = dependency('gstreamer-gl-1.0', version : gst_req,
 build_gstgl = gstgl_dep.found() # FIXME: add option?
 
 if build_gstgl
-  if gstgl_dep.type_name() == 'pkg'
+  if gstgl_dep.type_name() == 'pkgconfig'
     gst_gl_winsys = gstgl_dep.get_pkgconfig_variable('gl_winsys')
     gst_gl_platforms = gstgl_dep.get_pkgconfig_variable('gl_platforms')
   else