From: Thibault Saunier Date: Wed, 10 Aug 2011 15:10:01 +0000 (+0200) Subject: Install pygst.h so it can be reused by other bindings X-Git-Tag: 1.19.3~485^2~259 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94491ae53567a98c73744412c7bbedd2fdf1d315;p=platform%2Fupstream%2Fgstreamer.git Install pygst.h so it can be reused by other bindings Also add a PYGST_CFLAGS https://bugzilla.gnome.org/show_bug.cgi?id=656289 --- diff --git a/configure.ac b/configure.ac index 591ff18..5f46695 100644 --- a/configure.ac +++ b/configure.ac @@ -398,6 +398,8 @@ dnl full installation path AS_AC_EXPAND(PYTHONDIR, $pythondir) AS_AC_EXPAND(PYEXECDIR, $pyexecdir) +PYGST_CFLAGS="-I\$(top_srcdir)/gst -I\$(top_builddir)/gst" +AC_SUBST(PYGST_CFLAGS) dnl add debugging options ... # changequote(,)dnl # if test "x$GCC" = xyes; then diff --git a/gst/Makefile.am b/gst/Makefile.am index 595fd9f..5b73188 100644 --- a/gst/Makefile.am +++ b/gst/Makefile.am @@ -22,8 +22,8 @@ defs_DATA = gst-types.defs \ pbutils.defs defsdir = $(pkgdatadir)/$(GST_MAJORMINOR)/defs -noinst_HEADERS = common.h pygstvalue.h pygstminiobject.h pygstexception.h \ - pygst.h pygst-private.h +pygst_installdir = $(includedir)/gstreamer-@GST_MAJORMINOR@/pygst/ +pygst_install_HEADERS = pygst.h common.h pygstvalue.h pygstminiobject.h pygstexception.h versioned_overrides = \ gst-0.10.21.ignore \ diff --git a/pkgconfig/gst-python.pc.in b/pkgconfig/gst-python.pc.in index 4e16c7b..e3c46da 100644 --- a/pkgconfig/gst-python.pc.in +++ b/pkgconfig/gst-python.pc.in @@ -4,7 +4,9 @@ datadir=@datadir@ pyexecdir=@pyexecdir@ # same here. Useful when calling the code generator in addon packages. +pygstincludedir=@includedir@/gstreamer-@GST_MAJORMINOR@ defsdir=${datadir}/gst-python/@GST_MAJORMINOR@/defs +codegendir=${datadir}/pygst/0.10/codegen Name: gst-python Description: Python bindings for GStreamer