2012-04-04 12:20:13 +00:00
|
|
|
lib_LTLIBRARIES = libgstapp-@GST_API_VERSION@.la
|
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
|
|
|
glib_enum_define = GST_APP
|
2009-10-16 07:56:56 +00:00
|
|
|
glib_gen_prefix = __gst_app
|
2017-04-09 09:29:55 +00:00
|
|
|
glib_gen_basename = app
|
2018-03-13 10:28:21 +00:00
|
|
|
glib_gen_decl_banner=GST_APP_API
|
|
|
|
glib_gen_decl_include=\#include <gst/app/app-prelude.h>
|
2017-04-09 09:29:55 +00:00
|
|
|
|
|
|
|
glib_enum_headers = gstappsrc.h
|
|
|
|
|
|
|
|
built_sources = app-enumtypes.c
|
|
|
|
built_headers = app-enumtypes.h
|
|
|
|
BUILT_SOURCES = $(built_sources) $(built_headers)
|
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
|
|
|
|
2009-10-16 07:18:45 +00:00
|
|
|
include $(top_srcdir)/common/gst-glib-gen.mak
|
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
|
|
|
|
2017-04-09 09:29:55 +00:00
|
|
|
libgstapp_@GST_API_VERSION@_la_SOURCES = gstappsrc.c gstappsink.c
|
|
|
|
nodist_libgstapp_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES)
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstapp_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
|
2018-04-28 13:50:11 +00:00
|
|
|
$(GST_BASE_CFLAGS) $(GST_CFLAGS) -DBUILDING_GST_APP
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstapp_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS)
|
|
|
|
libgstapp_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
2007-03-03 08:16:57 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstapp_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/app
|
|
|
|
libgstapp_@GST_API_VERSION@include_HEADERS = \
|
2012-12-12 17:13:10 +00:00
|
|
|
app.h \
|
2018-03-13 10:28:21 +00:00
|
|
|
app-prelude.h \
|
2007-03-03 10:23:03 +00:00
|
|
|
gstappsrc.h \
|
2007-03-11 00:48:26 +00:00
|
|
|
gstappsink.h
|
2017-04-09 09:29:55 +00:00
|
|
|
nodist_libgstapp_@GST_API_VERSION@include_HEADERS = app-enumtypes.h
|
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
2007-03-03 08:16:57 +00:00
|
|
|
|
2009-09-05 08:40:21 +00:00
|
|
|
if HAVE_INTROSPECTION
|
2012-04-04 12:20:13 +00:00
|
|
|
BUILT_GIRSOURCES = GstApp-@GST_API_VERSION@.gir
|
2009-09-05 08:40:21 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstapp_@GST_API_VERSION@include_HEADERS))
|
2017-04-10 11:25:30 +00:00
|
|
|
gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstapp_@GST_API_VERSION@include_HEADERS))
|
2012-04-04 12:20:13 +00:00
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstapp_@GST_API_VERSION@_la_SOURCES))
|
|
|
|
gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstapp_@GST_API_VERSION@_la_SOURCES))
|
2009-09-05 08:40:21 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
GstApp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_API_VERSION@.la
|
2015-03-31 09:21:25 +00:00
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\
|
2017-05-04 22:55:20 +00:00
|
|
|
GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \
|
2016-05-23 23:44:21 +00:00
|
|
|
CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \
|
2009-09-12 12:01:20 +00:00
|
|
|
$(INTROSPECTION_SCANNER) -v --namespace GstApp \
|
2012-04-04 12:20:13 +00:00
|
|
|
--nsversion=@GST_API_VERSION@ \
|
2015-12-03 04:19:43 +00:00
|
|
|
--identifier-prefix=Gst \
|
|
|
|
--symbol-prefix=gst \
|
2011-11-25 09:31:38 +00:00
|
|
|
--warn-all \
|
2012-12-12 17:13:10 +00:00
|
|
|
--c-include "gst/app/app.h" \
|
2009-09-05 11:46:58 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
2012-05-05 22:26:20 +00:00
|
|
|
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
|
|
|
|
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
|
2012-10-29 12:47:05 +00:00
|
|
|
--library=libgstapp-@GST_API_VERSION@.la \
|
2012-04-04 12:20:13 +00:00
|
|
|
--include=Gst-@GST_API_VERSION@ \
|
|
|
|
--include=GstBase-@GST_API_VERSION@ \
|
2014-04-18 08:37:57 +00:00
|
|
|
--libtool="${LIBTOOL}" \
|
2012-04-04 12:20:13 +00:00
|
|
|
--pkg gstreamer-@GST_API_VERSION@ \
|
|
|
|
--pkg gstreamer-base-@GST_API_VERSION@ \
|
|
|
|
--pkg-export gstreamer-app-@GST_API_VERSION@ \
|
2015-06-16 22:04:57 +00:00
|
|
|
--add-init-section="$(INTROSPECTION_INIT)" \
|
2009-09-05 08:40:21 +00:00
|
|
|
--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)
|
2011-01-08 02:10:03 +00:00
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
|
|
|
|
$(INTROSPECTION_COMPILER) \
|
2010-03-30 18:56:56 +00:00
|
|
|
--includedir=$(srcdir) \
|
|
|
|
--includedir=$(builddir) \
|
2015-09-23 15:59:22 +00:00
|
|
|
--includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
|
|
|
|
--includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
|
2010-03-30 18:56:56 +00:00
|
|
|
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
2009-09-05 08:40:21 +00:00
|
|
|
|
2017-04-09 09:29:55 +00:00
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
2009-09-05 08:40:21 +00:00
|
|
|
endif
|