[gst-cvs] gstreamer: Add srcdir to includes for out-of-source builds

David Schleef ds at kemper.freedesktop.org
Mon Feb 23 10:55:28 PST 2009


Module: gstreamer
Branch: master
Commit: 279a80ff27ba4c90f52981e89e710eb1181bc201
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=279a80ff27ba4c90f52981e89e710eb1181bc201

Author: David Flynn <davidf at rd.bbc.co.uk>
Date:   Mon Feb 23 10:52:14 2009 -0800

Add srcdir to includes for out-of-source builds

When you use gstreamer uninstalled and build outside
the source tree, the includes need to be specified for
both the source tree and the build tree.

Signed-off-by: David Schleef <ds at schleef.org>

---

 pkgconfig/gstreamer-base-uninstalled.pc.in         |    2 +-
 pkgconfig/gstreamer-check-uninstalled.pc.in        |    2 +-
 pkgconfig/gstreamer-controller-uninstalled.pc.in   |    2 +-
 pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in |    2 +-
 pkgconfig/gstreamer-net-uninstalled.pc.in          |    2 +-
 pkgconfig/gstreamer-uninstalled.pc.in              |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/pkgconfig/gstreamer-base-uninstalled.pc.in b/pkgconfig/gstreamer-base-uninstalled.pc.in
index ef07549..e636a91 100644
--- a/pkgconfig/gstreamer-base-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-base-uninstalled.pc.in
@@ -10,4 +10,4 @@ Requires: gstreamer- at GST_MAJORMINOR@ = @VERSION@
 Version: @VERSION@
 
 Libs: ${libdir}/libgstbase- at GST_MAJORMINOR@.la
-Cflags: -I${includedir}
+Cflags: -I${includedir} -I at srcdir@/..
diff --git a/pkgconfig/gstreamer-check-uninstalled.pc.in b/pkgconfig/gstreamer-check-uninstalled.pc.in
index 63bb3a8..875fb49 100644
--- a/pkgconfig/gstreamer-check-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-check-uninstalled.pc.in
@@ -10,4 +10,4 @@ Requires: gstreamer- at GST_MAJORMINOR@ = @VERSION@
 Version: @VERSION@
 
 Libs: ${libdir}/libgstcheck- at GST_MAJORMINOR@.la @CHECK_LIBS@ -lm
-Cflags: -I${includedir} @CHECK_CFLAGS@
+Cflags: -I${includedir} -I at srcdir@/.. @CHECK_CFLAGS@
diff --git a/pkgconfig/gstreamer-controller-uninstalled.pc.in b/pkgconfig/gstreamer-controller-uninstalled.pc.in
index 6bb9ef0..40af9f1 100644
--- a/pkgconfig/gstreamer-controller-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-controller-uninstalled.pc.in
@@ -10,4 +10,4 @@ Requires: gstreamer- at GST_MAJORMINOR@ = @VERSION@
 Version: @VERSION@
 
 Libs: ${libdir}/libgstcontroller- at GST_MAJORMINOR@.la
-Cflags: -I${includedir}
+Cflags: -I${includedir} -I at srcdir@/..
diff --git a/pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in b/pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in
index ebee87e..7f0b505 100644
--- a/pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in
@@ -10,4 +10,4 @@ Requires: gstreamer- at GST_MAJORMINOR@ = @VERSION@
 Version: @VERSION@
 
 Libs: ${libdir}/gst/dataprotocol/libgstdataprotocol- at GST_MAJORMINOR@.la
-Cflags: -I${includedir} -I${includedir}/libs
+Cflags: -I${includedir} -I at srcdir@/.. -I${includedir}/libs  -I at srcdir@/../libs
diff --git a/pkgconfig/gstreamer-net-uninstalled.pc.in b/pkgconfig/gstreamer-net-uninstalled.pc.in
index 62165ce..4ada69e 100644
--- a/pkgconfig/gstreamer-net-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-net-uninstalled.pc.in
@@ -11,4 +11,4 @@ Requires: gstreamer- at GST_MAJORMINOR@ = @VERSION@
 Version: @VERSION@
 
 Libs: ${libdir}/libgstnet- at GST_MAJORMINOR@.la
-Cflags: -I${includedir}
+Cflags: -I${includedir} -I at srcdir@/..
diff --git a/pkgconfig/gstreamer-uninstalled.pc.in b/pkgconfig/gstreamer-uninstalled.pc.in
index 3ba1782..fa518cd 100644
--- a/pkgconfig/gstreamer-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-uninstalled.pc.in
@@ -11,4 +11,4 @@ Description: Streaming media framework, Not Installed
 Version: @VERSION@
 Requires: @GST_PKG_DEPS@@LIBXML_PKG@
 Libs: ${libdir}/gst/libgstreamer- at GST_MAJORMINOR@.la
-Cflags: -I${includedir} -I${includedir}/libs
+Cflags: -I${includedir}  -I at srcdir@/.. -I${includedir}/libs  -I at srcdir@/../libs





More information about the Gstreamer-commits mailing list