summaryrefslogtreecommitdiff
path: root/pkgconfig
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-02-27 13:14:15 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-02-27 13:15:02 +0100
commit22f7e632542fa97185e2b3c6bceee63bb0aa47fe (patch)
tree7bef6bb2d13e77f68cc7af6eb65c764767c2efe2 /pkgconfig
parent4b5f764dafe5a3a19082b5c66b7ed249098e3620 (diff)
pkg-config: Make the generic pkg-config file more useful
Diffstat (limited to 'pkgconfig')
-rw-r--r--pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in16
-rw-r--r--pkgconfig/gstreamer-plugins-bad.pc.in8
2 files changed, 14 insertions, 10 deletions
diff --git a/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in b/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in
index c3ed14c15..2147ee339 100644
--- a/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in
@@ -1,13 +1,15 @@
+# the standard variables don't make sense for an uninstalled copy
prefix=
exec_prefix=
-libdir=${pcfiledir}/../gst-libs/gst/interfaces
-includedir=${pcfiledir}/../gst-libs
+libdir=
+# includedir is builddir because it is used to find gstconfig.h in places
+includedir=@abs_top_builddir@/gst-libs
+pluginsdir=@abs_top_builddir@
Name: GStreamer Bad Plugin libraries, Uninstalled
-Description: Currently includes the photography interface library, uninstalled
+Description: Streaming media framework, bad plugins libraries, uninstalled
Version: @VERSION@
-Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@
-
-Libs: -L${libdir} ${libdir}/libgstphotography-@GST_API_VERSION@.la
-Cflags: -I${includedir}
+Requires: gstreamer-@GST_API_VERSION@
+Libs: -L@abs_top_builddir@/gst-libs/gst/basecamerabinsrc -L@abs_top_builddir@/gst-libs/gst/codecparsers -L@abs_top_builddir@/gst-libs/gst/insertbin -L@abs_top_builddir@/gst-libs/gst/interfaces -L@abs_top_builddir@/gst-libs/gst/signalprocessor -L@abs_top_builddir@/gst-libs/gst/video
+Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
diff --git a/pkgconfig/gstreamer-plugins-bad.pc.in b/pkgconfig/gstreamer-plugins-bad.pc.in
index 753d9f37d..752f0a0c9 100644
--- a/pkgconfig/gstreamer-plugins-bad.pc.in
+++ b/pkgconfig/gstreamer-plugins-bad.pc.in
@@ -2,10 +2,12 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_API_VERSION@
+pluginsdir=@libdir@/gstreamer-@GST_API_VERSION@
+
Name: GStreamer Bad Plugin libraries
-Description: Currently includes the photography interface library
-Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@
+Description: Streaming media framework, bad plugins libraries
+Requires: gstreamer-@GST_API_VERSION@
Version: @VERSION@
-Libs: -L${libdir} -lgstphotography-@GST_API_VERSION@
+Libs: -L${libdir}
Cflags: -I${includedir}