From 39c325cb16f891ab3763a8a5a52fd55ce48922ee Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 9 Jun 2010 17:07:40 +0200 Subject: [PATCH] pkgconfig: Remove the includedir variables 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 | 7 ------- pkgconfig/gst-python.pc.in | 7 ------- 2 files changed, 14 deletions(-) diff --git a/pkgconfig/gst-python-uninstalled.pc.in b/pkgconfig/gst-python-uninstalled.pc.in index dac5d72..f8bbc0e 100644 --- a/pkgconfig/gst-python-uninstalled.pc.in +++ b/pkgconfig/gst-python-uninstalled.pc.in @@ -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} diff --git a/pkgconfig/gst-python.pc.in b/pkgconfig/gst-python.pc.in index 937752b..4e16c7b 100644 --- a/pkgconfig/gst-python.pc.in +++ b/pkgconfig/gst-python.pc.in @@ -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} -- 2.7.4