gl: append GL_LIB and GL_CFLAGS in pc files
authorJulien Isorce <julien.isorce@collabora.co.uk>
Mon, 28 Apr 2014 14:52:41 +0000 (15:52 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:38 +0000 (19:31 +0000)
pkgconfig/gstreamer-gl-uninstalled.pc.in
pkgconfig/gstreamer-gl.pc.in

index 13cb827..76eefb9 100644 (file)
@@ -9,7 +9,7 @@ Description: Streaming media framework, OpenGL plugins libraries, uninstalled
 Version: @VERSION@
 Requires: gstreamer-@GST_API_VERSION@
 
-Libs: -L${libdir} ${libdir}/libgstgl-@GST_API_VERSION@.la
-Cflags: -I${includedir} -I@srcdir@/..
+Libs: -L${libdir} ${libdir}/libgstgl-@GST_API_VERSION@.la @GL_LIBS@
+Cflags: -I${includedir} -I@srcdir@/.. @GL_CFLAGS@
 
 libraries=gl
index c640e75..f6ebf36 100644 (file)
@@ -8,6 +8,6 @@ Name: GStreamer OpenGL Plugins Libraries
 Description: Streaming media framework, OpenGL plugins libraries
 Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@
 Version: @VERSION@
-Libs: -L${libdir} -lgstgl-@GST_API_VERSION@
-Cflags: -I${includedir}
+Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ @GL_LIBS@
+Cflags: -I${includedir} @GL_CFLAGS@