2002-03-24 04:32:10 +00:00
|
|
|
INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS)
|
|
|
|
PYGTK_DEFSDIR = @PYGTK_DEFSDIR@
|
|
|
|
|
2004-02-23 18:19:38 +00:00
|
|
|
pkgpythondir = $(pythondir)/gst
|
|
|
|
pkgpyexecdir = $(pyexecdir)/gst
|
2002-03-24 04:32:10 +00:00
|
|
|
|
2004-02-23 18:19:38 +00:00
|
|
|
pygstdir = $(pkgpythondir)
|
|
|
|
pygst_PYTHON = __init__.py
|
|
|
|
|
|
|
|
# Backwards comptibility
|
|
|
|
pygstreamerdir = $(pythondir)
|
|
|
|
pygstreamer_PYTHON = gstreamer.py
|
|
|
|
|
|
|
|
pygstexecdir = $(pkgpyexecdir)
|
2002-03-24 04:32:10 +00:00
|
|
|
|
2004-02-27 18:32:20 +00:00
|
|
|
GST_OVERRIDES = gst.override gstpad-handlers.override
|
2002-03-24 04:32:10 +00:00
|
|
|
|
2004-02-23 18:19:38 +00:00
|
|
|
pygstexec_LTLIBRARIES = _gstmodule.la
|
2004-02-27 18:32:20 +00:00
|
|
|
_gstmodule_la_SOURCES = gstmodule.c gst-types.c
|
examples/gstreamer/filesrc.py,player.py: New examples
Original commit message from CVS:
* examples/gstreamer/filesrc.py,player.py: New examples
* gstreamer/gstreamer.override: Add a dict like interface to GstTagList
* gstreamer/gstpad-handlers.override: New file, split out from gstreamer.override
* gstreamer/gst-types.defs: Don't use
gst_buffer_free/gst_data_free, use gst_data_unref instead.
* gstreamer/gst-types.c (PyGstData_to_value): Don't send address here.
* gstreamer/arg-types.py (GstDataPtrArg.write_param): Send the
address to stuff, since we really want to avoid segfaults :)
* gstreamer/0.6.[c,defs,h,override]: Remove, we're focusing on 0.7
* gstreamer/0.7.[c,defs,h,override]: Remove, merge with
gstreamer.*
* gstreamer/Makefile.am: Clean up, remove versioning support.
2004-02-27 18:01:52 +00:00
|
|
|
|
2004-02-23 18:19:38 +00:00
|
|
|
_gstmodule_la_CFLAGS = $(GST_CFLAGS) -fno-strict-aliasing
|
|
|
|
_gstmodule_la_LIBADD = $(GST_LIBS)
|
|
|
|
_gstmodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_gst
|
2004-02-27 18:32:20 +00:00
|
|
|
nodist__gstmodule_la_SOURCES = gst.c
|
Mass change to support compiling for both 0.6 and 0.7. Common support is now in common.{defs,override,c,h}. Specifi...
Original commit message from CVS:
Mass change to support compiling for both 0.6 and 0.7. Common support is now
in common.{defs,override,c,h}. Specific version support is in
{0.6,0.7}.{defs,override,c,h}. The common and version specific files are
merged and/or used as needed.
common.override: add gst_version
2003-10-10 04:21:21 +00:00
|
|
|
|
2004-02-27 18:32:20 +00:00
|
|
|
CLEANFILES = gst.c
|
|
|
|
EXTRA_DIST = gst.defs $(GST_OVERRIDES) arg-types.py
|
2002-06-17 02:01:54 +00:00
|
|
|
|
2004-02-27 18:32:20 +00:00
|
|
|
gst.c: $(srcdir)/gst.defs $(srcdir)/arg-types.py $(GST_OVERRIDES)
|
2003-02-08 16:08:03 +00:00
|
|
|
$(PYGTK_CODEGEN) \
|
Mass change to support compiling for both 0.6 and 0.7. Common support is now in common.{defs,override,c,h}. Specifi...
Original commit message from CVS:
Mass change to support compiling for both 0.6 and 0.7. Common support is now
in common.{defs,override,c,h}. Specific version support is in
{0.6,0.7}.{defs,override,c,h}. The common and version specific files are
merged and/or used as needed.
common.override: add gst_version
2003-10-10 04:21:21 +00:00
|
|
|
--load-types $(srcdir)/arg-types.py \
|
2004-02-25 12:12:58 +00:00
|
|
|
--register $(srcdir)/gst-types.defs \
|
2004-02-27 18:32:20 +00:00
|
|
|
--override $(srcdir)/gst.override \
|
|
|
|
--prefix pygst gst.defs > gen-gst.c \
|
examples/gstreamer/filesrc.py,player.py: New examples
Original commit message from CVS:
* examples/gstreamer/filesrc.py,player.py: New examples
* gstreamer/gstreamer.override: Add a dict like interface to GstTagList
* gstreamer/gstpad-handlers.override: New file, split out from gstreamer.override
* gstreamer/gst-types.defs: Don't use
gst_buffer_free/gst_data_free, use gst_data_unref instead.
* gstreamer/gst-types.c (PyGstData_to_value): Don't send address here.
* gstreamer/arg-types.py (GstDataPtrArg.write_param): Send the
address to stuff, since we really want to avoid segfaults :)
* gstreamer/0.6.[c,defs,h,override]: Remove, we're focusing on 0.7
* gstreamer/0.7.[c,defs,h,override]: Remove, merge with
gstreamer.*
* gstreamer/Makefile.am: Clean up, remove versioning support.
2004-02-27 18:01:52 +00:00
|
|
|
&& rm -fr gtreamer.c \
|
2004-02-27 18:32:20 +00:00
|
|
|
&& echo '/* GENERATED FILE - DO NOT EDIT */' >> gst.c \
|
|
|
|
&& cat gen-gst.c >> gst.c \
|
|
|
|
&& rm -f gen-gst.c
|