diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-03-19 01:02:30 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-03-19 01:10:53 +0000 |
commit | b2383c78c335c37660965a4a67965be832bf87e3 (patch) | |
tree | 39e31b59dcc0cf1633b5682ea21bd823e5ef39e9 /pkgconfig | |
parent | 9b6f93dcf3e4e7c9c8111e095972f53624c61eaf (diff) |
pkgconfig: add back support for builddir != srcdir case in uninstalled setup
Attempt to add back support for builddir != srcdir. Use absolute paths
instead of relative paths based on pcfiledir this time to make things
clearer - there's not really any need for uninstalled trees to be
relocatable without re-running configure.
Diffstat (limited to 'pkgconfig')
-rw-r--r-- | pkgconfig/gstreamer-base-uninstalled.pc.in | 8 | ||||
-rw-r--r-- | pkgconfig/gstreamer-check-uninstalled.pc.in | 8 | ||||
-rw-r--r-- | pkgconfig/gstreamer-controller-uninstalled.pc.in | 8 | ||||
-rw-r--r-- | pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in | 8 | ||||
-rw-r--r-- | pkgconfig/gstreamer-net-uninstalled.pc.in | 9 | ||||
-rw-r--r-- | pkgconfig/gstreamer-uninstalled.pc.in | 14 |
6 files changed, 28 insertions, 27 deletions
diff --git a/pkgconfig/gstreamer-base-uninstalled.pc.in b/pkgconfig/gstreamer-base-uninstalled.pc.in index ef0754985..2853c2592 100644 --- a/pkgconfig/gstreamer-base-uninstalled.pc.in +++ b/pkgconfig/gstreamer-base-uninstalled.pc.in @@ -1,13 +1,13 @@ # the standard variables don't make sense for an uninstalled copy prefix= exec_prefix= -libdir=${pcfiledir}/../libs/gst/base -includedir=${pcfiledir}/.. +libdir= +includedir= Name: GStreamer base classes, uninstalled Description: Base classes for GStreamer elements, Not Installed Requires: gstreamer-@GST_MAJORMINOR@ = @VERSION@ Version: @VERSION@ -Libs: ${libdir}/libgstbase-@GST_MAJORMINOR@.la -Cflags: -I${includedir} +Libs: @abs_top_builddir@/libs/gst/base/libgstbase-@GST_MAJORMINOR@.la +Cflags: -I@abs_top_srcdir@/libs -I@abs_top_builddir@/libs diff --git a/pkgconfig/gstreamer-check-uninstalled.pc.in b/pkgconfig/gstreamer-check-uninstalled.pc.in index 16b7a332e..efdc3964c 100644 --- a/pkgconfig/gstreamer-check-uninstalled.pc.in +++ b/pkgconfig/gstreamer-check-uninstalled.pc.in @@ -1,13 +1,13 @@ # the standard variables don't make sense for an uninstalled copy prefix= exec_prefix= -libdir=${pcfiledir}/../libs/gst/check -includedir=${pcfiledir}/.. +libdir= +includedir= Name: GStreamer check unit testing, uninstalled Description: Unit testing helper library for GStreamer modules, Not Installed Requires: gstreamer-@GST_MAJORMINOR@ = @VERSION@ Version: @VERSION@ -Libs: ${libdir}/libgstcheck-@GST_MAJORMINOR@.la -lm -Cflags: -I${includedir} +Libs: @abs_top_builddir@/libs/gst/check/libgstcheck-@GST_MAJORMINOR@.la @LIBM@ +Cflags: -I@abs_top_srcdir@/libs -I@abs_top_builddir@/libs diff --git a/pkgconfig/gstreamer-controller-uninstalled.pc.in b/pkgconfig/gstreamer-controller-uninstalled.pc.in index 6bb9ef03c..cbd9acdad 100644 --- a/pkgconfig/gstreamer-controller-uninstalled.pc.in +++ b/pkgconfig/gstreamer-controller-uninstalled.pc.in @@ -1,13 +1,13 @@ # the standard variables don't make sense for an uninstalled copy prefix= exec_prefix= -libdir=${pcfiledir}/../libs/gst/controller -includedir=${pcfiledir}/.. +libdir= +includedir= Name: GStreamer controller, uninstalled Description: Dynamic parameter control for GStreamer elements, Not Installed Requires: gstreamer-@GST_MAJORMINOR@ = @VERSION@ Version: @VERSION@ -Libs: ${libdir}/libgstcontroller-@GST_MAJORMINOR@.la -Cflags: -I${includedir} +Libs: @abs_top_builddir@/libs/gst/controller/libgstcontroller-@GST_MAJORMINOR@.la +Cflags: -I@abs_top_srcdir@/libs -I@abs_top_builddir@/libs diff --git a/pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in b/pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in index ebee87e39..864926033 100644 --- a/pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in +++ b/pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in @@ -1,13 +1,13 @@ # the standard variables don't make sense for an uninstalled copy prefix= exec_prefix= -libdir=${pcfiledir}/../libs -includedir=${pcfiledir}/.. +libdir= +includedir= Name: GStreamer data protocol library, uninstalled Description: Data protocol for plug-ins, Not Installed Requires: gstreamer-@GST_MAJORMINOR@ = @VERSION@ Version: @VERSION@ -Libs: ${libdir}/gst/dataprotocol/libgstdataprotocol-@GST_MAJORMINOR@.la -Cflags: -I${includedir} -I${includedir}/libs +Libs: @abs_top_builddir@/libs/gst/dataprotocol/libgstdataprotocol-@GST_MAJORMINOR@.la +Cflags: -I@abs_top_srcdir@/libs -I@abs_top_builddir@/libs diff --git a/pkgconfig/gstreamer-net-uninstalled.pc.in b/pkgconfig/gstreamer-net-uninstalled.pc.in index 62165ce1f..b69d91e0c 100644 --- a/pkgconfig/gstreamer-net-uninstalled.pc.in +++ b/pkgconfig/gstreamer-net-uninstalled.pc.in @@ -1,14 +1,13 @@ # the standard variables don't make sense for an uninstalled copy prefix= exec_prefix= -libdir=${pcfiledir}/../libs/gst/net - -includedir=${pcfiledir}/.. +libdir= +includedir= Name: GStreamer networking library, uninstalled Description: Network-enabled GStreamer plug-ins and clocking, uninstalled Requires: gstreamer-@GST_MAJORMINOR@ = @VERSION@ Version: @VERSION@ -Libs: ${libdir}/libgstnet-@GST_MAJORMINOR@.la -Cflags: -I${includedir} +Libs: @abs_top_builddir@/libs/gst/net/libgstnet-@GST_MAJORMINOR@.la +Cflags: -I@abs_top_srcdir@/libs -I@abs_top_builddir@/libs diff --git a/pkgconfig/gstreamer-uninstalled.pc.in b/pkgconfig/gstreamer-uninstalled.pc.in index 3ba17828c..7e8ce437f 100644 --- a/pkgconfig/gstreamer-uninstalled.pc.in +++ b/pkgconfig/gstreamer-uninstalled.pc.in @@ -1,14 +1,16 @@ # the standard variables don't make sense for an uninstalled copy prefix= exec_prefix= -libdir=${pcfiledir}/.. -includedir=${pcfiledir}/.. -toolsdir=${pcfiledir}/../tools -pluginsdir=${pcfiledir}/.. +libdir= +# includedir is builddir because it is used to find gstconfig.h in places +includedir=@abs_top_builddir@ +toolsdir=@abs_top_builddir@/tools +pluginsdir=@abs_top_builddir@ Name: GStreamer Uninstalled 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 +Libs: @abs_top_builddir@/gst/libgstreamer-@GST_MAJORMINOR@.la +# FIXME: the libs dir doesn't really belong here +Cflags: -I@abs_top_srcdir@ -I@abs_top_srcdir@/libs -I@abs_top_builddir@ -I@abs_top_builddir@/libs |