pkgconfig: Add Cflags with the include path for the headers
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 26 Aug 2011 13:22:16 +0000 (15:22 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 12 Oct 2011 11:25:30 +0000 (12:25 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=657435

pkgconfig/gst-python-uninstalled.pc.in
pkgconfig/gst-python.pc.in

index f8bbc0e..13168b2 100644 (file)
@@ -5,9 +5,12 @@
 pyexecdir=${pcfiledir}/..
 
 # same here.  Useful when calling the code generator in addon packages.
+pygstincludedir=@abs_top_builddir@
 #defsdir=${datadir}/gst-python/@GST_MAJORMINOR@/defs
+#codegendir=${datadir}/pygst/0.10/codegen
 
 Name: gst-python uninstalled
 Description: Python bindings for GStreamer, not installed
 Requires: pygobject-2.0, gstreamer-@GST_MAJORMINOR@
 Version: @VERSION@
+Cflags: -I${pygstincludedir}
index e3c46da..4c5e1f1 100644 (file)
@@ -12,3 +12,4 @@ Name: gst-python
 Description: Python bindings for GStreamer
 Requires: pygobject-2.0, gstreamer-@GST_MAJORMINOR@
 Version: @VERSION@
+Cflags: -I${pygstincludedir}