From 279a80ff27ba4c90f52981e89e710eb1181bc201 Mon Sep 17 00:00:00 2001 From: David Flynn Date: Mon, 23 Feb 2009 10:52:14 -0800 Subject: [PATCH] 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 --- 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 ef0754985a..e636a912be 100644 --- a/pkgconfig/gstreamer-base-uninstalled.pc.in +++ b/pkgconfig/gstreamer-base-uninstalled.pc.in @@ -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@/.. diff --git a/pkgconfig/gstreamer-check-uninstalled.pc.in b/pkgconfig/gstreamer-check-uninstalled.pc.in index 63bb3a816c..875fb49849 100644 --- a/pkgconfig/gstreamer-check-uninstalled.pc.in +++ b/pkgconfig/gstreamer-check-uninstalled.pc.in @@ -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@ diff --git a/pkgconfig/gstreamer-controller-uninstalled.pc.in b/pkgconfig/gstreamer-controller-uninstalled.pc.in index 6bb9ef03ce..40af9f1efa 100644 --- a/pkgconfig/gstreamer-controller-uninstalled.pc.in +++ b/pkgconfig/gstreamer-controller-uninstalled.pc.in @@ -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@/.. diff --git a/pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in b/pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in index ebee87e390..7f0b505e5b 100644 --- a/pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in +++ b/pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in @@ -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 diff --git a/pkgconfig/gstreamer-net-uninstalled.pc.in b/pkgconfig/gstreamer-net-uninstalled.pc.in index 62165ce1ff..4ada69e6e7 100644 --- a/pkgconfig/gstreamer-net-uninstalled.pc.in +++ b/pkgconfig/gstreamer-net-uninstalled.pc.in @@ -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@/.. diff --git a/pkgconfig/gstreamer-uninstalled.pc.in b/pkgconfig/gstreamer-uninstalled.pc.in index 3ba17828c5..fa518cd033 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-@GST_MAJORMINOR@.la -Cflags: -I${includedir} -I${includedir}/libs +Cflags: -I${includedir} -I@srcdir@/.. -I${includedir}/libs -I@srcdir@/../libs