summaryrefslogtreecommitdiff
path: root/pkgconfig
diff options
context:
space:
mode:
Diffstat (limited to 'pkgconfig')
-rw-r--r--pkgconfig/gstreamer-gl-uninstalled.pc.in3
-rw-r--r--pkgconfig/gstreamer-gl.pc.in3
-rw-r--r--pkgconfig/meson.build3
3 files changed, 9 insertions, 0 deletions
diff --git a/pkgconfig/gstreamer-gl-uninstalled.pc.in b/pkgconfig/gstreamer-gl-uninstalled.pc.in
index a21ac4621..b4ae6d306 100644
--- a/pkgconfig/gstreamer-gl-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-gl-uninstalled.pc.in
@@ -4,6 +4,9 @@ libdir=@gllibdir@
includedir=@abs_top_builddir@/gst-libs
girdir=@abs_top_builddir@/gst-libs/gst/base
typelibdir=@abs_top_builddir@/gst-libs/gst/base
+gl_platforms=@GL_PLATFORMS@
+gl_winsys=@GL_WINDOWS@
+gl_apis=@GL_APIS@
Name: GStreamer OpenGL Plugins Libraries, Uninstalled
Description: Streaming media framework, OpenGL plugins libraries, uninstalled
diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig/gstreamer-gl.pc.in
index a3a9dc6cc..8e7a3039d 100644
--- a/pkgconfig/gstreamer-gl.pc.in
+++ b/pkgconfig/gstreamer-gl.pc.in
@@ -3,6 +3,9 @@ exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_API_VERSION@
pluginsdir=@libdir@/gstreamer-@GST_API_VERSION@
+gl_platforms=@GL_PLATFORMS@
+gl_winsys=@GL_WINDOWS@
+gl_apis=@GL_APIS@
Name: GStreamer OpenGL Plugins Libraries
Description: Streaming media framework, OpenGL plugins libraries
diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build
index b6715cdf0..b2deeac37 100644
--- a/pkgconfig/meson.build
+++ b/pkgconfig/meson.build
@@ -37,6 +37,9 @@ pkg_libs = [
if build_gstgl
pkgconf.set('gllibdir', join_paths(meson.build_root(), gstgl.outdir()))
pkg_libs += 'gl'
+ pkgconf.set('GL_APIS', ' '.join(enabled_gl_apis))
+ pkgconf.set('GL_WINDOWS', ' '.join(enabled_gl_winsys))
+ pkgconf.set('GL_PLATFORMS', ' '.join(enabled_gl_platforms))
endif
if use_wayland