pkgconfig: Remove the includedir variables
authorEdward Hervey <bilboed@bilboed.com>
Wed, 9 Jun 2010 15:07:40 +0000 (17:07 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 9 Jun 2010 15:07:40 +0000 (17:07 +0200)
First of all because we don't install anything (doh!), and secondly
because it confuses the hell out of 3rd party python modules
using the values from those .pc files.

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

index dac5d72..f8bbc0e 100644 (file)
@@ -1,15 +1,9 @@
 # the standard variables don't make sense for an uninstalled copy
 #prefix=
 #exec_prefix=
-#includedir=${pcfiledir}/..
 #datadir=${pcfiledir}/..
 pyexecdir=${pcfiledir}/..
 
-# you can use the --variable=pygtkincludedir argument to
-# pkg-config to get this value.  You might want to use this to
-# install additional headers.
-#gstpythonincludedir=${includedir}/gst-python-@GST_MAJORMINOR@
-
 # same here.  Useful when calling the code generator in addon packages.
 #defsdir=${datadir}/gst-python/@GST_MAJORMINOR@/defs
 
@@ -17,4 +11,3 @@ Name: gst-python uninstalled
 Description: Python bindings for GStreamer, not installed
 Requires: pygobject-2.0, gstreamer-@GST_MAJORMINOR@
 Version: @VERSION@
-#Cflags: -I${gstpythonincludedir}
index 937752b..4e16c7b 100644 (file)
@@ -1,14 +1,8 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
-includedir=@includedir@
 datadir=@datadir@
 pyexecdir=@pyexecdir@
 
-# you can use the --variable=pygtkincludedir argument to
-# pkg-config to get this value.  You might want to use this to
-# install additional headers.
-gstpythonincludedir=${includedir}/gst-python-@GST_MAJORMINOR@
-
 # same here.  Useful when calling the code generator in addon packages.
 defsdir=${datadir}/gst-python/@GST_MAJORMINOR@/defs
 
@@ -16,4 +10,3 @@ Name: gst-python
 Description: Python bindings for GStreamer
 Requires: pygobject-2.0, gstreamer-@GST_MAJORMINOR@
 Version: @VERSION@
-Cflags: -I${gstpythonincludedir}