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
This commit is contained in:
Thibault Saunier 2011-08-10 17:10:01 +02:00 committed by Edward Hervey
parent 3b602c1404
commit 94491ae535
3 changed files with 6 additions and 2 deletions

View file

@ -398,6 +398,8 @@ dnl full installation path
AS_AC_EXPAND(PYTHONDIR, $pythondir) AS_AC_EXPAND(PYTHONDIR, $pythondir)
AS_AC_EXPAND(PYEXECDIR, $pyexecdir) AS_AC_EXPAND(PYEXECDIR, $pyexecdir)
PYGST_CFLAGS="-I\$(top_srcdir)/gst -I\$(top_builddir)/gst"
AC_SUBST(PYGST_CFLAGS)
dnl add debugging options ... dnl add debugging options ...
# changequote(,)dnl # changequote(,)dnl
# if test "x$GCC" = xyes; then # if test "x$GCC" = xyes; then

View file

@ -22,8 +22,8 @@ defs_DATA = gst-types.defs \
pbutils.defs pbutils.defs
defsdir = $(pkgdatadir)/$(GST_MAJORMINOR)/defs defsdir = $(pkgdatadir)/$(GST_MAJORMINOR)/defs
noinst_HEADERS = common.h pygstvalue.h pygstminiobject.h pygstexception.h \ pygst_installdir = $(includedir)/gstreamer-@GST_MAJORMINOR@/pygst/
pygst.h pygst-private.h pygst_install_HEADERS = pygst.h common.h pygstvalue.h pygstminiobject.h pygstexception.h
versioned_overrides = \ versioned_overrides = \
gst-0.10.21.ignore \ gst-0.10.21.ignore \

View file

@ -4,7 +4,9 @@ datadir=@datadir@
pyexecdir=@pyexecdir@ pyexecdir=@pyexecdir@
# same here. Useful when calling the code generator in addon packages. # same here. Useful when calling the code generator in addon packages.
pygstincludedir=@includedir@/gstreamer-@GST_MAJORMINOR@
defsdir=${datadir}/gst-python/@GST_MAJORMINOR@/defs defsdir=${datadir}/gst-python/@GST_MAJORMINOR@/defs
codegendir=${datadir}/pygst/0.10/codegen
Name: gst-python Name: gst-python
Description: Python bindings for GStreamer Description: Python bindings for GStreamer