2012-04-04 12:20:13 +00:00
|
|
|
libgstrtpincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/rtp
|
2005-07-14 10:29:30 +00:00
|
|
|
|
2012-11-21 07:22:27 +00:00
|
|
|
libgstrtpinclude_HEADERS = \
|
2012-12-12 17:13:10 +00:00
|
|
|
rtp.h \
|
2018-03-13 11:17:58 +00:00
|
|
|
rtp-prelude.h \
|
2015-05-20 10:36:30 +00:00
|
|
|
gstrtpdefs.h \
|
2012-11-21 07:22:27 +00:00
|
|
|
gstrtpbuffer.h \
|
Add RTCP docs.
Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_get_adapter):
Add RTCP docs.
Fix some more docs.
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstrtcpbuffer.c:
(gst_rtcp_buffer_new_take_data), (gst_rtcp_buffer_new_copy_data),
(gst_rtcp_buffer_validate_data), (gst_rtcp_buffer_validate),
(gst_rtcp_buffer_get_packet_count), (read_packet_header),
(gst_rtcp_buffer_get_first_packet), (gst_rtcp_packet_move_to_next),
(gst_rtcp_buffer_add_packet), (gst_rtcp_packet_remove),
(gst_rtcp_packet_get_padding), (gst_rtcp_packet_get_type),
(gst_rtcp_packet_get_count), (gst_rtcp_packet_get_length),
(gst_rtcp_packet_sr_get_sender_info),
(gst_rtcp_packet_sr_set_sender_info),
(gst_rtcp_packet_rr_get_ssrc), (gst_rtcp_packet_rr_set_ssrc),
(gst_rtcp_packet_get_rb_count), (gst_rtcp_packet_get_rb),
(gst_rtcp_packet_add_rb), (gst_rtcp_packet_set_rb),
(gst_rtcp_packet_sdes_get_chunk_count),
(gst_rtcp_packet_sdes_first_chunk),
(gst_rtcp_packet_sdes_next_chunk), (gst_rtcp_packet_sdes_get_ssrc),
(gst_rtcp_packet_sdes_first_item),
(gst_rtcp_packet_sdes_next_item), (gst_rtcp_packet_sdes_get_item),
(gst_rtcp_packet_bye_get_ssrc_count),
(gst_rtcp_packet_bye_get_nth_ssrc), (gst_rtcp_packet_bye_add_ssrc),
(gst_rtcp_packet_bye_add_ssrcs), (get_reason_offset),
(gst_rtcp_packet_bye_get_reason_len),
(gst_rtcp_packet_bye_get_reason), (gst_rtcp_packet_bye_set_reason):
* gst-libs/gst/rtp/gstrtcpbuffer.h:
Add new helper object for parsing and creating RTCP messages.
2007-03-29 16:20:31 +00:00
|
|
|
gstrtcpbuffer.h \
|
2007-10-01 13:22:14 +00:00
|
|
|
gstrtppayloads.h \
|
2012-09-24 10:13:32 +00:00
|
|
|
gstrtphdrext.h \
|
2011-11-11 11:32:23 +00:00
|
|
|
gstrtpbaseaudiopayload.h \
|
|
|
|
gstrtpbasepayload.h \
|
2018-10-10 18:16:12 +00:00
|
|
|
gstrtpbasedepayload.h \
|
|
|
|
gstrtpmeta.h
|
2005-07-14 10:29:30 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
lib_LTLIBRARIES = libgstrtp-@GST_API_VERSION@.la
|
2005-07-14 10:29:30 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstrtp_@GST_API_VERSION@_la_SOURCES = gstrtpbuffer.c \
|
Add RTCP docs.
Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_get_adapter):
Add RTCP docs.
Fix some more docs.
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstrtcpbuffer.c:
(gst_rtcp_buffer_new_take_data), (gst_rtcp_buffer_new_copy_data),
(gst_rtcp_buffer_validate_data), (gst_rtcp_buffer_validate),
(gst_rtcp_buffer_get_packet_count), (read_packet_header),
(gst_rtcp_buffer_get_first_packet), (gst_rtcp_packet_move_to_next),
(gst_rtcp_buffer_add_packet), (gst_rtcp_packet_remove),
(gst_rtcp_packet_get_padding), (gst_rtcp_packet_get_type),
(gst_rtcp_packet_get_count), (gst_rtcp_packet_get_length),
(gst_rtcp_packet_sr_get_sender_info),
(gst_rtcp_packet_sr_set_sender_info),
(gst_rtcp_packet_rr_get_ssrc), (gst_rtcp_packet_rr_set_ssrc),
(gst_rtcp_packet_get_rb_count), (gst_rtcp_packet_get_rb),
(gst_rtcp_packet_add_rb), (gst_rtcp_packet_set_rb),
(gst_rtcp_packet_sdes_get_chunk_count),
(gst_rtcp_packet_sdes_first_chunk),
(gst_rtcp_packet_sdes_next_chunk), (gst_rtcp_packet_sdes_get_ssrc),
(gst_rtcp_packet_sdes_first_item),
(gst_rtcp_packet_sdes_next_item), (gst_rtcp_packet_sdes_get_item),
(gst_rtcp_packet_bye_get_ssrc_count),
(gst_rtcp_packet_bye_get_nth_ssrc), (gst_rtcp_packet_bye_add_ssrc),
(gst_rtcp_packet_bye_add_ssrcs), (get_reason_offset),
(gst_rtcp_packet_bye_get_reason_len),
(gst_rtcp_packet_bye_get_reason), (gst_rtcp_packet_bye_set_reason):
* gst-libs/gst/rtp/gstrtcpbuffer.h:
Add new helper object for parsing and creating RTCP messages.
2007-03-29 16:20:31 +00:00
|
|
|
gstrtcpbuffer.c \
|
2007-10-01 13:22:14 +00:00
|
|
|
gstrtppayloads.c \
|
2012-09-24 10:13:32 +00:00
|
|
|
gstrtphdrext.c \
|
2011-11-11 11:32:23 +00:00
|
|
|
gstrtpbaseaudiopayload.c \
|
2011-11-25 09:31:38 +00:00
|
|
|
gstrtpbasepayload.c \
|
2018-10-10 18:16:12 +00:00
|
|
|
gstrtpbasedepayload.c \
|
|
|
|
gstrtpmeta.c
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
|
2015-05-20 10:36:30 +00:00
|
|
|
built_sources = gstrtp-enumtypes.c
|
|
|
|
built_headers = gstrtp-enumtypes.h
|
|
|
|
|
2018-04-28 13:50:11 +00:00
|
|
|
libgstrtp_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -DBUILDING_GST_RTP
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstrtp_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS)
|
|
|
|
libgstrtp_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
2009-09-05 09:25:42 +00:00
|
|
|
|
2015-05-20 10:36:30 +00:00
|
|
|
nodist_libgstrtp_@GST_API_VERSION@_la_SOURCES = $(built_sources)
|
|
|
|
nodist_libgstrtpinclude_HEADERS = gstrtp-enumtypes.h
|
|
|
|
|
|
|
|
BUILT_SOURCES = $(built_headers) $(built_sources)
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
glib_gen_prefix = __gst_rtp
|
|
|
|
glib_enum_define = gst_rtp
|
|
|
|
glib_enum_headers = $(libgstrtpinclude_HEADERS)
|
|
|
|
glib_gen_basename = gstrtp
|
2018-03-13 11:17:58 +00:00
|
|
|
glib_gen_decl_banner=GST_RTP_API
|
|
|
|
glib_gen_decl_include=\#include <gst/rtp/rtp-prelude.h>
|
2015-05-20 10:36:30 +00:00
|
|
|
|
|
|
|
include $(top_srcdir)/common/gst-glib-gen.mak
|
|
|
|
|
2009-09-05 09:25:42 +00:00
|
|
|
if HAVE_INTROSPECTION
|
2012-04-04 12:20:13 +00:00
|
|
|
BUILT_GIRSOURCES = GstRtp-@GST_API_VERSION@.gir
|
2009-09-05 09:25:42 +00:00
|
|
|
|
|
|
|
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstrtpinclude_HEADERS))
|
2015-05-20 13:23:46 +00:00
|
|
|
gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtpinclude_HEADERS))
|
2012-04-04 12:20:13 +00:00
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstrtp_@GST_API_VERSION@_la_SOURCES))
|
2015-05-20 13:23:46 +00:00
|
|
|
gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtp_@GST_API_VERSION@_la_SOURCES))
|
2009-09-05 09:25:42 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
GstRtp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@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 GstRtp \
|
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/rtp/rtp.h" \
|
2015-05-20 13:23:46 +00:00
|
|
|
-I$(top_builddir)/gst-libs \
|
2009-09-05 09:25:42 +00:00
|
|
|
-I$(top_srcdir)/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=libgstrtp-@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-rtp-@GST_API_VERSION@ \
|
2015-06-16 22:04:57 +00:00
|
|
|
--add-init-section="$(INTROSPECTION_INIT)" \
|
2009-09-05 09:25:42 +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) \
|
2012-05-05 22:26:20 +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 09:25:42 +00:00
|
|
|
|
2015-05-21 10:07:50 +00:00
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
2009-09-05 09:25:42 +00:00
|
|
|
endif
|