Add srcdir to includes for out-of-source builds
authorDavid Flynn <davidf@rd.bbc.co.uk>
Mon, 23 Feb 2009 18:52:14 +0000 (10:52 -0800)
committerDavid Schleef <ds@schleef.org>
Mon, 23 Feb 2009 18:54:53 +0000 (10:54 -0800)
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@schleef.org>
pkgconfig/gstreamer-base-uninstalled.pc.in
pkgconfig/gstreamer-check-uninstalled.pc.in
pkgconfig/gstreamer-controller-uninstalled.pc.in
pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in
pkgconfig/gstreamer-net-uninstalled.pc.in
pkgconfig/gstreamer-uninstalled.pc.in

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