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.
This commit is contained in:
Tim-Philipp Müller 2010-03-19 01:02:30 +00:00
parent 9b6f93dcf3
commit b2383c78c3
6 changed files with 28 additions and 27 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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