mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 06:01:04 +00:00
a959c410d9
two sinks are provided. gtksink which is a cairo/software based renderer and gtkglsink which utilises the GL support in gtk and gstreamer.
43 lines
913 B
Makefile
43 lines
913 B
Makefile
# preamble
|
|
NULL =
|
|
BUILT_SOURCES =
|
|
CLEANFILES =
|
|
EXTRA_DIST =
|
|
DISTCLEANFILES =
|
|
lib_LTLIBRARIES =
|
|
|
|
# source
|
|
sources = \
|
|
gtkgstwidget.c \
|
|
gtkgstwidget.h \
|
|
gstgtksink.c \
|
|
gstgtksink.h \
|
|
gstplugin.c \
|
|
$(NULL)
|
|
|
|
libgstgtksink_la_CFLAGS = \
|
|
-I$(top_srcdir)/gst-libs \
|
|
-I$(top_builddir)/gst-libs \
|
|
$(GTK3_CFLAGS) \
|
|
$(GST_CFLAGS) \
|
|
$(GST_BASE_CFLAGS) \
|
|
$(GST_PLUGINS_BASE_CFLAGS)
|
|
libgstgtksink_la_LIBADD = \
|
|
$(GTK3_LIBS) \
|
|
$(GST_BASE_LIBS) \
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
-lgstvideo-$(GST_API_VERSION)
|
|
|
|
libgstgtksink_la_SOURCES = $(sources)
|
|
libgstgtksink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstgtksink_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
|
|
|
if USE_GTK3_GL
|
|
if USE_GL
|
|
libgstgtksink_la_SOURCES += gstgtkglsink.c gstgtkglsink.h gtkgstglwidget.c gtkgstglwidget.h
|
|
libgstgtksink_la_LIBADD += \
|
|
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la
|
|
endif
|
|
endif
|
|
|
|
plugin_LTLIBRARIES = libgstgtksink.la
|