2002-03-24 04:32:10 +00:00
|
|
|
INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS)
|
|
|
|
PYGTK_DEFSDIR = @PYGTK_DEFSDIR@
|
|
|
|
|
2004-03-15 14:25:10 +00:00
|
|
|
defs_DATA =
|
|
|
|
defsdir = $(pkgdatadir)/2.0/defs
|
|
|
|
|
|
|
|
EXTRA_DIST = $(defs_DATA)
|
|
|
|
|
2004-02-23 18:19:38 +00:00
|
|
|
pkgpythondir = $(pythondir)/gst
|
|
|
|
pkgpyexecdir = $(pyexecdir)/gst
|
2002-03-24 04:32:10 +00:00
|
|
|
|
2004-03-15 14:25:10 +00:00
|
|
|
common_ldflags = -module -avoid-version
|
|
|
|
|
2004-02-23 18:19:38 +00:00
|
|
|
pygstdir = $(pkgpythondir)
|
|
|
|
pygst_PYTHON = __init__.py
|
|
|
|
|
|
|
|
pygstexecdir = $(pkgpyexecdir)
|
2002-03-24 04:32:10 +00:00
|
|
|
|
2004-03-15 14:25:10 +00:00
|
|
|
# GStreamer bindings
|
2004-02-27 18:32:20 +00:00
|
|
|
GST_OVERRIDES = gst.override gstpad-handlers.override
|
2004-03-15 14:25:10 +00:00
|
|
|
GST_DEFS = gst.defs gst-types.defs
|
2002-03-24 04:32:10 +00:00
|
|
|
|
2004-03-15 14:25:10 +00:00
|
|
|
pygstexec_LTLIBRARIES = _gst.la
|
|
|
|
_gst_la_CFLAGS = $(GST_CFLAGS) -fno-strict-aliasing
|
|
|
|
_gst_la_LIBADD = $(GST_LIBS)
|
|
|
|
_gst_la_LDFLAGS = $(common_ldflags) -export-symbols-regex init_gst
|
|
|
|
_gst_la_SOURCES = gst-argtypes.c gstmodule.c
|
|
|
|
nodist__gst_la_SOURCES = gst.c
|
|
|
|
CLEANFILES = gst.c
|
|
|
|
EXTRA_DIST += $(GST_OVERRIDES) arg-types.py
|
|
|
|
defs_DATA += $(GST_DEFS)
|
|
|
|
gst.c: $(GST_DEFS) $(GST_OVERRIDES)
|
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-03-15 14:25:10 +00:00
|
|
|
# GStreamer interfaces bindings
|
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-03-15 14:25:10 +00:00
|
|
|
INTERFACES_OVERRIDES = interfaces.override xoverlay.override
|
|
|
|
INTERFACES_DEFS = interfaces.defs xoverlay.defs xwindowlistener.defs
|
2004-03-09 14:54:57 +00:00
|
|
|
|
2004-03-15 14:25:10 +00:00
|
|
|
GST_INTERFACES_INCLUDES=
|
|
|
|
GST_INTERFACES_INCLUDES += $(GST_INTERFACES_INCLUDEDIR)/gst/colorbalance/colorbalance.h
|
|
|
|
GST_INTERFACES_INCLUDES += $(GST_INTERFACES_INCLUDEDIR)/gst/colorbalance/colorbalancechannel.h
|
|
|
|
GST_INTERFACES_INCLUDES += $(GST_INTERFACES_INCLUDEDIR)/gst/mixer/mixer.h
|
|
|
|
GST_INTERFACES_INCLUDES += $(GST_INTERFACES_INCLUDEDIR)/gst/mixer/mixertrack.h
|
|
|
|
GST_INTERFACES_INCLUDES += $(GST_INTERFACES_INCLUDEDIR)/gst/navigation/navigation.h
|
|
|
|
GST_INTERFACES_INCLUDES += $(GST_INTERFACES_INCLUDEDIR)/gst/propertyprobe/propertyprobe.h
|
|
|
|
GST_INTERFACES_INCLUDES += $(GST_INTERFACES_INCLUDEDIR)/gst/tuner/tuner.h
|
|
|
|
GST_INTERFACES_INCLUDES += $(GST_INTERFACES_INCLUDEDIR)/gst/tuner/tunerchannel.h
|
|
|
|
GST_INTERFACES_INCLUDES += $(GST_INTERFACES_INCLUDEDIR)/gst/tuner/tunernorm.h
|
|
|
|
|
|
|
|
# FIXME: configure.ac
|
|
|
|
#if USE_X
|
|
|
|
GST_INTERFACES_INCLUDES+=$(GST_INTERFACES_INCLUDEDIR)/gst/xoverlay/xoverlay.h
|
|
|
|
GST_INTERFACES_INCLUDES+=$(GST_INTERFACES_INCLUDEDIR)/gst/xwindowlistener/xwindowlistener.h
|
|
|
|
#endif
|
2002-06-17 02:01:54 +00:00
|
|
|
|
2004-03-15 14:25:10 +00:00
|
|
|
# FIXEME: configure.ac
|
|
|
|
#if BUILD_INTERFACES
|
|
|
|
pygstexec_LTLIBRARIES += interfaces.la
|
|
|
|
#endif
|
|
|
|
interfaces_la_CFLAGS = $(GST_CFLAGS) $(GST_INTERFACES_CFLAGS) -fno-strict-aliasing
|
|
|
|
interfaces_la_LIBADD = $(GST_LIBS) $(GST_INTERFACES_LIBS)
|
|
|
|
interfaces_la_LDFLAGS = $(common_ldflags) -export-symbols-regex initinterface
|
|
|
|
interfaces_la_SOURCES = interfacesmodule.c
|
|
|
|
nodist_interfaces_la_SOURCES = interfaces.c
|
|
|
|
CLEANFILES += interfaces.c
|
|
|
|
EXTRA_DIST += $(INTERFACES_OVERRIDES) arg-types.py
|
|
|
|
defs_DATA += $(INTERFACES_DEFS)
|
|
|
|
interfaces.c: $(INTERFACES_DEFS) $(INTERFACES_OVERRIDES)
|
|
|
|
|
|
|
|
.defs.c:
|
|
|
|
(cd $(srcdir) \
|
|
|
|
&& $(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-03-08 18:56:08 +00:00
|
|
|
--register $(srcdir)/gst-types.defs \
|
|
|
|
--override $*.override \
|
|
|
|
--prefix py$* $*.defs) > gen-$*.c \
|
|
|
|
&& cp gen-$*.c $*.c \
|
|
|
|
&& rm -f gen-$*.c
|