2013-06-23 06:41:12 +00:00
|
|
|
lib_LTLIBRARIES = libgstmpegts-@GST_API_VERSION@.la
|
|
|
|
|
|
|
|
libgstmpegts_@GST_API_VERSION@_la_SOURCES = \
|
|
|
|
gstmpegtssection.c \
|
2013-07-03 15:59:02 +00:00
|
|
|
gstmpegtsdescriptor.c \
|
2013-07-03 16:52:18 +00:00
|
|
|
gst-dvb-descriptor.c \
|
2014-04-09 08:04:46 +00:00
|
|
|
gst-dvb-section.c \
|
|
|
|
gst-atsc-section.c
|
2013-06-23 06:41:12 +00:00
|
|
|
|
|
|
|
libgstmpegts_@GST_API_VERSION@includedir = \
|
|
|
|
$(includedir)/gstreamer-@GST_API_VERSION@/gst/mpegts
|
|
|
|
|
|
|
|
noinst_HEADERS = gstmpegts-private.h
|
|
|
|
|
|
|
|
libgstmpegts_@GST_API_VERSION@include_HEADERS = \
|
2013-07-03 15:59:02 +00:00
|
|
|
gstmpegtssection.h \
|
|
|
|
gst-atsc-section.h \
|
|
|
|
gst-dvb-section.h \
|
2013-09-27 14:45:00 +00:00
|
|
|
gst-scte-section.h \
|
2013-07-03 15:59:02 +00:00
|
|
|
gstmpegtsdescriptor.h \
|
2013-07-03 16:52:18 +00:00
|
|
|
gst-dvb-descriptor.h \
|
2018-03-13 12:47:03 +00:00
|
|
|
mpegts-prelude.h \
|
2014-01-26 13:42:52 +00:00
|
|
|
mpegts.h
|
|
|
|
|
|
|
|
nodist_libgstmpegts_@GST_API_VERSION@include_HEADERS = \
|
2013-12-18 12:45:22 +00:00
|
|
|
gstmpegts-enumtypes.h
|
2013-06-23 06:41:12 +00:00
|
|
|
|
|
|
|
libgstmpegts_@GST_API_VERSION@_la_CFLAGS = \
|
|
|
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
|
|
|
-DGST_USE_UNSTABLE_API \
|
2018-09-24 10:52:22 +00:00
|
|
|
-DBUILDING_GST_MPEGTS \
|
2013-06-23 06:41:12 +00:00
|
|
|
$(GST_CFLAGS)
|
|
|
|
|
|
|
|
libgstmpegts_@GST_API_VERSION@_la_LIBADD = \
|
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_LIBS)
|
|
|
|
|
|
|
|
libgstmpegts_@GST_API_VERSION@_la_LDFLAGS = \
|
|
|
|
$(GST_LIB_LDFLAGS) \
|
|
|
|
$(GST_ALL_LDFLAGS) \
|
|
|
|
$(GST_LT_LDFLAGS)
|
|
|
|
|
2013-07-03 15:59:02 +00:00
|
|
|
glib_enum_headers=gstmpegtssection.h \
|
|
|
|
gstmpegtsdescriptor.h \
|
|
|
|
gst-atsc-section.h \
|
2013-07-03 16:52:18 +00:00
|
|
|
gst-dvb-section.h \
|
2013-09-27 14:45:00 +00:00
|
|
|
gst-scte-section.h \
|
2013-07-03 16:52:18 +00:00
|
|
|
gst-dvb-descriptor.h
|
|
|
|
|
2013-06-23 06:41:12 +00:00
|
|
|
glib_enum_define=GST_MPEGTS
|
|
|
|
glib_gen_prefix=gst_mpegts
|
|
|
|
glib_gen_basename=gstmpegts
|
2018-03-13 12:47:03 +00:00
|
|
|
glib_gen_decl_banner=GST_MPEGTS_API
|
|
|
|
glib_gen_decl_include=\#include <gst/mpegts/mpegts-prelude.h>
|
2013-06-23 06:41:12 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES = gstmpegts-enumtypes.c gstmpegts-enumtypes.h
|
2013-12-18 12:45:22 +00:00
|
|
|
nodist_libgstmpegts_@GST_API_VERSION@_la_SOURCES = gstmpegts-enumtypes.c
|
2013-06-23 06:41:12 +00:00
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
BUILT_GIRSOURCES = GstMpegts-@GST_API_VERSION@.gir
|
|
|
|
|
|
|
|
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstmpegts_@GST_API_VERSION@include_HEADERS))
|
|
|
|
gir_headers+=$(patsubst %,$(builddir)/%, $(built_headers))
|
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstmpegts_@GST_API_VERSION@_la_SOURCES))
|
|
|
|
gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources))
|
|
|
|
|
|
|
|
GstMpegts-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstmpegts-@GST_API_VERSION@.la
|
2015-03-31 09:24:57 +00:00
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\
|
2013-06-23 06:41:12 +00:00
|
|
|
GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_UPDATE=no \
|
2016-05-23 23:55:11 +00:00
|
|
|
CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \
|
2013-06-23 06:41:12 +00:00
|
|
|
$(INTROSPECTION_SCANNER) -v --namespace GstMpegts \
|
|
|
|
--nsversion=@GST_API_VERSION@ \
|
2014-06-25 12:50:05 +00:00
|
|
|
--identifier-prefix=GstMpegts \
|
2013-06-23 06:41:12 +00:00
|
|
|
--symbol-prefix=gst_mpegts \
|
|
|
|
--symbol-prefix=gst \
|
|
|
|
--warn-all -v \
|
|
|
|
--c-include "gst/mpegts/mpegts.h" \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
|
|
|
--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-video-@GST_API_VERSION@` \
|
|
|
|
--library=libgstmpegts-@GST_API_VERSION@.la \
|
|
|
|
--include=Gst-@GST_API_VERSION@ \
|
2014-04-18 08:38:47 +00:00
|
|
|
--libtool="${LIBTOOL}" \
|
2013-06-23 06:41:12 +00:00
|
|
|
--pkg gstreamer-@GST_API_VERSION@ \
|
|
|
|
--pkg gstreamer-video-@GST_API_VERSION@ \
|
|
|
|
--pkg-export gstreamer-mpegts-@GST_API_VERSION@ \
|
2016-01-19 08:39:58 +00:00
|
|
|
--add-init-section="$(INTROSPECTION_INIT)" \
|
2013-06-23 06:41:12 +00:00
|
|
|
-DGST_USE_UNSTABLE_API \
|
|
|
|
--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)
|
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
|
|
|
|
$(INTROSPECTION_COMPILER) \
|
|
|
|
--includedir=$(srcdir) \
|
|
|
|
--includedir=$(builddir) \
|
|
|
|
--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@` \
|
|
|
|
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
|
|
|
|
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(top_srcdir)/common/gst-glib-gen.mak
|