meson: Fix gstreamer-gl-prototypes-1.0.pc
authorXavier Claessens <xavier.claessens@collabora.com>
Wed, 7 Apr 2021 12:28:40 +0000 (08:28 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 8 Apr 2021 06:09:36 +0000 (06:09 +0000)
This fix a warning because we were generating 2 pc files for gstgl
library. Also fix missing glesv2 in Requires.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1099>

gst-libs/gst/gl/meson.build

index aa4a967..356e868 100644 (file)
@@ -1029,8 +1029,8 @@ if build_gstgl
     description : 'Streaming media framework, OpenGL plugins libraries',
   )
 
-  pkgconfig.generate(gstgl,
-    libraries : [gstgl, gl_dep],
+  pkgconfig.generate(
+    libraries : [gstgl, gl_lib_deps],
     subdirs : pkgconfig_subdirs,
     name : 'gstreamer-gl-prototypes-1.0',
     description : 'Streaming media framework, OpenGL plugins libraries (OpenGL Prototypes)',