mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
pkgconfig: fix meson warnings about GL_CFLAGS in gstreamer-gl .pc files
We added GL_CFLAGS in autotools because we unconditionally included OpenGL headers. We do not do that anymore for a standard #include <gst/gl/gl.h>. OpenGL headers are only included for the platform specific files e.g. #include <gst/gl/x11/gstgldisplay_x11.h> which must always be hidden behind a #if GST_GL_HAVE_WINDOW_X11, or #include <gst/gl/gstglfuncs.h> to gain access to the contents of the GstGLFuncs object. Users of our headers must include the necessary include paths for the platforms they are intending to support. We might introduce extra .pc files for what GstGL was built against though. Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/735 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/741>
This commit is contained in:
parent
ed573ff1f9
commit
53320460cb
2 changed files with 2 additions and 3 deletions
|
@ -14,5 +14,4 @@ Version: @VERSION@
|
|||
Requires: gstreamer-video-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@
|
||||
|
||||
Libs: -L${libdir} -lgstgl-@GST_API_VERSION@
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs @GL_CFLAGS@
|
||||
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
|
@ -13,4 +13,4 @@ Version: @VERSION@
|
|||
Requires: gstreamer-video-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@
|
||||
|
||||
Libs: -L${libdir} -lgstgl-@GST_API_VERSION@
|
||||
Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include @GL_CFLAGS@
|
||||
Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include
|
||||
|
|
Loading…
Reference in a new issue