2015-12-22 13:24:00 +00:00
|
|
|
lib_LTLIBRARIES = libgstplayer-@GST_API_VERSION@.la
|
|
|
|
|
|
|
|
libgstplayer_@GST_API_VERSION@_la_SOURCES = \
|
|
|
|
gstplayer.c \
|
|
|
|
gstplayer-signal-dispatcher.c \
|
|
|
|
gstplayer-video-renderer.c \
|
|
|
|
gstplayer-media-info.c \
|
|
|
|
gstplayer-g-main-context-signal-dispatcher.c \
|
|
|
|
gstplayer-video-overlay-video-renderer.c \
|
|
|
|
gstplayer-visualization.c
|
|
|
|
|
|
|
|
libgstplayer_@GST_API_VERSION@_la_CFLAGS = \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_CFLAGS)
|
|
|
|
|
|
|
|
libgstplayer_@GST_API_VERSION@_la_LDFLAGS = \
|
|
|
|
$(GST_LIB_LDFLAGS) \
|
|
|
|
$(GST_ALL_LDFLAGS) \
|
|
|
|
$(GST_LT_LDFLAGS)
|
|
|
|
|
|
|
|
libgstplayer_@GST_API_VERSION@_la_LIBADD = \
|
|
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
|
|
-lgstvideo-$(GST_API_VERSION) \
|
|
|
|
-lgstaudio-$(GST_API_VERSION) \
|
|
|
|
-lgsttag-$(GST_API_VERSION) \
|
|
|
|
-lgstpbutils-$(GST_API_VERSION) \
|
|
|
|
$(GST_LIBS) \
|
|
|
|
$(LIBM)
|
|
|
|
|
|
|
|
libgstplayerdir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/player
|
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
gstplayer-signal-dispatcher-private.h \
|
|
|
|
gstplayer-video-renderer-private.h \
|
|
|
|
gstplayer-media-info-private.h
|
|
|
|
|
|
|
|
libgstplayer_HEADERS = \
|
|
|
|
player.h \
|
2018-03-13 13:02:54 +00:00
|
|
|
player-prelude.h \
|
2015-12-22 13:24:00 +00:00
|
|
|
gstplayer.h \
|
|
|
|
gstplayer-types.h \
|
|
|
|
gstplayer-signal-dispatcher.h \
|
|
|
|
gstplayer-video-renderer.h \
|
|
|
|
gstplayer-media-info.h \
|
|
|
|
gstplayer-g-main-context-signal-dispatcher.h \
|
|
|
|
gstplayer-video-overlay-video-renderer.h \
|
|
|
|
gstplayer-visualization.h
|
|
|
|
|
|
|
|
CLEANFILES =
|
|
|
|
|
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
BUILT_GIRSOURCES = GstPlayer-@GST_API_VERSION@.gir
|
|
|
|
|
|
|
|
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstplayer_HEADERS))
|
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstplayer_@GST_API_VERSION@_la_SOURCES))
|
|
|
|
|
|
|
|
GstPlayer-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstplayer-@GST_API_VERSION@.la
|
2016-05-23 23:55:11 +00:00
|
|
|
$(AM_V_GEN)GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_UPDATE=no GI_SCANNER_DISABLE_CACHE=yes \
|
|
|
|
CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \
|
|
|
|
PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
|
2016-02-02 14:46:30 +00:00
|
|
|
$(INTROSPECTION_SCANNER) -v --namespace GstPlayer \
|
2015-12-22 13:24:00 +00:00
|
|
|
--nsversion=@GST_API_VERSION@ \
|
|
|
|
--warn-all \
|
|
|
|
--strip-prefix=Gst \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
|
|
|
--c-include "gst/player/player.h" \
|
|
|
|
--add-include-path=$(top_builddir)/gst-libs \
|
2016-02-02 14:46:30 +00:00
|
|
|
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-1.0` \
|
2016-04-29 10:54:01 +00:00
|
|
|
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-1.0` \
|
|
|
|
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-video-1.0` \
|
2015-12-22 13:24:00 +00:00
|
|
|
--library-path=$(top_builddir)/gst-libs \
|
|
|
|
--library=libgstplayer-@GST_API_VERSION@.la \
|
|
|
|
--include=Gst-@GST_API_VERSION@ \
|
2016-04-19 05:29:46 +00:00
|
|
|
--include=GstVideo-@GST_API_VERSION@ \
|
2015-12-22 13:24:00 +00:00
|
|
|
--libtool="${LIBTOOL}" \
|
|
|
|
--pkg gstreamer-@GST_API_VERSION@ \
|
|
|
|
--pkg gstreamer-audio-@GST_API_VERSION@ \
|
|
|
|
--pkg gstreamer-video-@GST_API_VERSION@ \
|
|
|
|
--pkg gstreamer-tag-@GST_API_VERSION@ \
|
|
|
|
--pkg gstreamer-pbutils-@GST_API_VERSION@ \
|
|
|
|
--pkg-export gstreamer-player-@GST_API_VERSION@ \
|
2016-01-19 08:39:58 +00:00
|
|
|
--add-init-section="$(INTROSPECTION_INIT)" \
|
2015-12-22 13:24:00 +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)
|
2016-02-02 14:46:30 +00:00
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
|
|
|
|
$(INTROSPECTION_COMPILER) \
|
2015-12-22 13:24:00 +00:00
|
|
|
--includedir=$(srcdir)/gst-libs \
|
|
|
|
--includedir=$(builddir)/gst-libs \
|
2016-02-02 14:46:30 +00:00
|
|
|
--includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-1.0` \
|
2016-04-29 10:54:01 +00:00
|
|
|
--includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-1.0` \
|
|
|
|
--includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-video-1.0` \
|
2015-12-22 13:24:00 +00:00
|
|
|
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
|
|
|
|
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
|
|
|
endif
|