2007-03-03 08:16:57 +00:00
|
|
|
lib_LTLIBRARIES = libgstapp-@GST_MAJORMINOR@.la
|
|
|
|
|
gst-libs/gst/app/: Add marshal.list, make it compile and add to cvsignore.
Original commit message from CVS:
* gst-libs/gst/app/.cvsignore:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/app/gstapp-marshal.list:
Add marshal.list, make it compile and add to cvsignore.
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_dispose),
(gst_app_sink_stop):
Small cleanups.
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_init), (gst_app_src_set_property),
(gst_app_src_get_property), (gst_app_src_unlock),
(gst_app_src_unlock_stop), (gst_app_src_start), (gst_app_src_stop),
(gst_app_src_create), (gst_app_src_set_caps),
(gst_app_src_get_caps), (gst_app_src_set_size),
(gst_app_src_get_size), (gst_app_src_set_seekable),
(gst_app_src_get_seekable), (gst_app_src_set_max_buffers),
(gst_app_src_get_max_buffers), (gst_app_src_push_buffer),
(gst_app_src_end_of_stream):
* gst-libs/gst/app/gstappsrc.h:
Beat appsrc in shape, add signals and actions.
Add some docs.
Add properties for caps, size, seekability and max-buffers.
Fix unlock/stop code.
2008-05-07 10:38:23 +00:00
|
|
|
glib_enum_define = GST_APP
|
2009-02-25 19:40:43 +00:00
|
|
|
glib_enum_prefix = __gst_app
|
gst-libs/gst/app/: Add marshal.list, make it compile and add to cvsignore.
Original commit message from CVS:
* gst-libs/gst/app/.cvsignore:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/app/gstapp-marshal.list:
Add marshal.list, make it compile and add to cvsignore.
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_dispose),
(gst_app_sink_stop):
Small cleanups.
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_init), (gst_app_src_set_property),
(gst_app_src_get_property), (gst_app_src_unlock),
(gst_app_src_unlock_stop), (gst_app_src_start), (gst_app_src_stop),
(gst_app_src_create), (gst_app_src_set_caps),
(gst_app_src_get_caps), (gst_app_src_set_size),
(gst_app_src_get_size), (gst_app_src_set_seekable),
(gst_app_src_get_seekable), (gst_app_src_set_max_buffers),
(gst_app_src_get_max_buffers), (gst_app_src_push_buffer),
(gst_app_src_end_of_stream):
* gst-libs/gst/app/gstappsrc.h:
Beat appsrc in shape, add signals and actions.
Add some docs.
Add properties for caps, size, seekability and max-buffers.
Fix unlock/stop code.
2008-05-07 10:38:23 +00:00
|
|
|
|
|
|
|
include $(top_srcdir)/common/glib-gen.mak
|
|
|
|
|
|
|
|
built_sources = gstapp-marshal.c
|
|
|
|
built_headers = gstapp-marshal.h
|
|
|
|
|
|
|
|
BUILT_SOURCES = $(built_sources) $(built_headers)
|
|
|
|
|
|
|
|
nodist_libgstapp_@GST_MAJORMINOR@_la_SOURCES = \
|
|
|
|
$(built_sources)
|
|
|
|
|
|
|
|
libgstapp_@GST_MAJORMINOR@_la_SOURCES = gstappsrc.c gstappbuffer.c gstappsink.c
|
2007-03-03 08:16:57 +00:00
|
|
|
libgstapp_@GST_MAJORMINOR@_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
libgstapp_@GST_MAJORMINOR@_la_LIBADD = $(GST_BASE_LIBS)
|
2009-02-25 19:40:43 +00:00
|
|
|
libgstapp_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
2008-11-04 12:42:18 +00:00
|
|
|
libgstapp_@GST_MAJORMINOR@_la_LIBTOOLFLAGS = --tag=disable-static
|
2007-03-03 08:16:57 +00:00
|
|
|
|
2007-03-03 10:23:03 +00:00
|
|
|
libgstapp_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/app
|
|
|
|
libgstapp_@GST_MAJORMINOR@include_HEADERS = \
|
|
|
|
gstappsrc.h \
|
2007-03-11 00:48:26 +00:00
|
|
|
gstappbuffer.h \
|
|
|
|
gstappsink.h
|
2007-03-03 08:16:57 +00:00
|
|
|
|
gst-libs/gst/app/: Add marshal.list, make it compile and add to cvsignore.
Original commit message from CVS:
* gst-libs/gst/app/.cvsignore:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/app/gstapp-marshal.list:
Add marshal.list, make it compile and add to cvsignore.
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_dispose),
(gst_app_sink_stop):
Small cleanups.
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_init), (gst_app_src_set_property),
(gst_app_src_get_property), (gst_app_src_unlock),
(gst_app_src_unlock_stop), (gst_app_src_start), (gst_app_src_stop),
(gst_app_src_create), (gst_app_src_set_caps),
(gst_app_src_get_caps), (gst_app_src_set_size),
(gst_app_src_get_size), (gst_app_src_set_seekable),
(gst_app_src_get_seekable), (gst_app_src_set_max_buffers),
(gst_app_src_get_max_buffers), (gst_app_src_push_buffer),
(gst_app_src_end_of_stream):
* gst-libs/gst/app/gstappsrc.h:
Beat appsrc in shape, add signals and actions.
Add some docs.
Add properties for caps, size, seekability and max-buffers.
Fix unlock/stop code.
2008-05-07 10:38:23 +00:00
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
EXTRA_DIST = gstapp-marshal.list
|
|
|
|
|
2009-09-05 08:40:21 +00:00
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
BUILT_GIRSOURCES = GstApp-@GST_MAJORMINOR@.gir
|
|
|
|
|
|
|
|
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstapp_@GST_MAJORMINOR@include_HEADERS))
|
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstapp_@GST_MAJORMINOR@_la_SOURCES))
|
2009-09-05 11:46:58 +00:00
|
|
|
gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstapp_@GST_MAJORMINOR@_la_SOURCES))
|
2009-09-05 08:40:21 +00:00
|
|
|
gir_cincludes=$(patsubst %,--c-include='gst/app/%',$(libgstapp_@GST_MAJORMINOR@include_HEADERS))
|
|
|
|
|
|
|
|
GstApp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_MAJORMINOR@.la
|
2009-09-12 12:01:20 +00:00
|
|
|
PKG_CONFIG_PATH="$(PKG_CONFIG_PATH):$(top_builddir)/pkgconfig" \
|
|
|
|
$(INTROSPECTION_SCANNER) -v --namespace GstApp \
|
2009-09-05 08:40:21 +00:00
|
|
|
--nsversion=@GST_MAJORMINOR@ \
|
2009-09-05 10:31:47 +00:00
|
|
|
--strip-prefix=Gst \
|
2009-09-05 08:40:21 +00:00
|
|
|
$(gir_cincludes) \
|
2009-09-05 11:46:58 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
2009-09-05 08:40:21 +00:00
|
|
|
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
|
|
|
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` \
|
|
|
|
--library=gstapp-0.10 \
|
|
|
|
--include=Gst-0.10 \
|
|
|
|
--include=GstBase-0.10 \
|
|
|
|
--libtool="$(top_builddir)/libtool" \
|
|
|
|
--pkg gstreamer-0.10 \
|
|
|
|
--pkg gstreamer-base-0.10 \
|
|
|
|
--output $@ \
|
|
|
|
$(gir_headers) \
|
|
|
|
$(gir_sources)
|
|
|
|
|
|
|
|
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
|
|
|
|
# install anything - we need to install inside our prefix.
|
|
|
|
girdir = $(datadir)/gir-1.0
|
|
|
|
gir_DATA = $(BUILT_GIRSOURCES)
|
|
|
|
|
|
|
|
typelibsdir = $(libdir)/girepository-1.0/
|
|
|
|
|
|
|
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
|
|
|
|
|
|
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
2009-09-05 09:49:41 +00:00
|
|
|
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-base-0.10` $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
2009-09-05 08:40:21 +00:00
|
|
|
|
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
|
|
|
endif
|