From 6aa1c70ac13bd30d3c4770b1107ae3d94cbf9441 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 26 Aug 2011 15:22:16 +0200 Subject: [PATCH] pkgconfig: Add Cflags with the include path for the headers https://bugzilla.gnome.org/show_bug.cgi?id=657435 --- pkgconfig/gst-python-uninstalled.pc.in | 3 +++ pkgconfig/gst-python.pc.in | 1 + 2 files changed, 4 insertions(+) diff --git a/pkgconfig/gst-python-uninstalled.pc.in b/pkgconfig/gst-python-uninstalled.pc.in index f8bbc0e..13168b2 100644 --- a/pkgconfig/gst-python-uninstalled.pc.in +++ b/pkgconfig/gst-python-uninstalled.pc.in @@ -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} diff --git a/pkgconfig/gst-python.pc.in b/pkgconfig/gst-python.pc.in index e3c46da..4c5e1f1 100644 --- a/pkgconfig/gst-python.pc.in +++ b/pkgconfig/gst-python.pc.in @@ -12,3 +12,4 @@ Name: gst-python Description: Python bindings for GStreamer Requires: pygobject-2.0, gstreamer-@GST_MAJORMINOR@ Version: @VERSION@ +Cflags: -I${pygstincludedir} -- 2.7.4