summaryrefslogtreecommitdiff
path: root/pkgconfig
diff options
context:
space:
mode:
Diffstat (limited to 'pkgconfig')
-rw-r--r--pkgconfig/Makefile.am9
-rw-r--r--pkgconfig/gstreamer-egl-uninstalled.pc.in12
-rw-r--r--pkgconfig/gstreamer-egl.pc.in12
3 files changed, 32 insertions, 1 deletions
diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am
index 93f7de34c..38577973f 100644
--- a/pkgconfig/Makefile.am
+++ b/pkgconfig/Makefile.am
@@ -1,3 +1,4 @@
+
### all of the standard pc files we need to generate
pcverfiles = \
gstreamer-plugins-bad-@GST_API_VERSION@.pc \
@@ -11,6 +12,11 @@ pcverfiles_uninstalled = \
gstreamer-insertbin-@GST_API_VERSION@-uninstalled.pc \
gstreamer-basevideo-@GST_API_VERSION@-uninstalled.pc
+if HAVE_EGL
+pcverfiles += gstreamer-egl-@GST_API_VERSION@.pc
+pcverfiles_uninstalled += gstreamer-egl-@GST_API_VERSION@-uninstalled.pc
+endif
+
all-local: $(pcverfiles) $(pcverfiles_uninstalled)
cp_verbose = $(cp_verbose_$(V))
@@ -31,7 +37,8 @@ pcinfiles = \
gstreamer-plugins-bad.pc.in gstreamer-plugins-bad-uninstalled.pc.in \
gstreamer-codecparsers.pc.in gstreamer-codecparsers-uninstalled.pc.in \
gstreamer-insertbin.pc.in gstreamer-insertbin-uninstalled.pc.in \
- gstreamer-basevideo.pc.in gstreamer-basevideo-uninstalled.pc.in
+ gstreamer-basevideo.pc.in gstreamer-basevideo-uninstalled.pc.in \
+ gstreamer-egl.pc.in gstreamer-egl-uninstalled.pc.in
DISTCLEANFILES = $(pcinfiles:.in=)
EXTRA_DIST = $(pcinfiles)
diff --git a/pkgconfig/gstreamer-egl-uninstalled.pc.in b/pkgconfig/gstreamer-egl-uninstalled.pc.in
new file mode 100644
index 000000000..525bda8c5
--- /dev/null
+++ b/pkgconfig/gstreamer-egl-uninstalled.pc.in
@@ -0,0 +1,12 @@
+prefix=
+exec_prefix=
+libdir=${pcfiledir}/../gst-libs/gst/egl
+includedir=${pcfiledir}/../gst-libs
+
+Name: GStreamer EGL, Uninstalled
+Description: GStreamer EGL Library, uninstalled
+Requires: gstreamer-@GST_API_VERSION@
+Version: @VERSION@
+Libs: -L${libdir} ${libdir}/libgstegl-@GST_API_VERSION@.la @EGL_LIBS@
+Cflags: -I${includedir} @EGL_CFLAGS@
+
diff --git a/pkgconfig/gstreamer-egl.pc.in b/pkgconfig/gstreamer-egl.pc.in
new file mode 100644
index 000000000..bfc799482
--- /dev/null
+++ b/pkgconfig/gstreamer-egl.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/gstreamer-@GST_API_VERSION@
+
+Name: GStreamer EGL
+Description: GStreamer EGL library
+Requires: gstreamer-@GST_API_VERSION@
+Version: @VERSION@
+Libs: -L${libdir} -lgstegl-@GST_API_VERSION@ @EGL_LIBS@
+Cflags: -I${includedir} @EGL_CFLAGS@
+