mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
1eca1631a7
CoglGst is a GStreamer integration library that facilitates video playback using the Cogl API. It works by retrieving each video frame from the GStreamer pipeline and attaching it to a Cogl pipeline in the form of a Cogl texture along with possible color model conversion shaders. The pipeline is then retrieved by the user during each draw. An example use of the CoglGst API is included in the examples directory. Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit dfb94cf4b0b6b42d6465df362a0c0af780596890)
76 lines
1.7 KiB
Makefile
76 lines
1.7 KiB
Makefile
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
NULL =
|
|
|
|
CLEANFILES =
|
|
DISTCLEANFILES =
|
|
|
|
EXTRA_DIST =
|
|
|
|
source_c = \
|
|
cogl-gst-shader.c \
|
|
cogl-gst-video-sink.c \
|
|
$(NULL)
|
|
|
|
source_h = \
|
|
cogl-gst.h \
|
|
cogl-gst-video-sink.h \
|
|
$(NULL)
|
|
|
|
source_h_priv = \
|
|
cogl-gst-shader-private.h \
|
|
$(NULL)
|
|
|
|
lib_LTLIBRARIES = libcogl-gst.la
|
|
|
|
libcogl_gst_la_SOURCES = $(source_c) $(source_h) $(source_h_priv)
|
|
libcogl_gst_la_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_GST_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
libcogl_gst_la_LIBADD = $(top_builddir)/cogl/libcogl.la
|
|
libcogl_gst_la_LIBADD += $(COGL_DEP_LIBS) $(COGL_GST_DEP_LIBS) $(COGL_EXTRA_LDFLAGS)
|
|
libcogl_gst_la_LDFLAGS = \
|
|
-export-dynamic \
|
|
-export-symbols-regex "^cogl_gst_.*" \
|
|
-no-undefined \
|
|
-version-info @COGL_LT_CURRENT@:@COGL_LT_REVISION@:@COGL_LT_AGE@ \
|
|
-rpath $(libdir)
|
|
|
|
AM_CPPFLAGS = \
|
|
-DCOGL_COMPILATION \
|
|
-DG_LOG_DOMAIN=\"CoglGst\" \
|
|
-I$(top_srcdir)/cogl \
|
|
-I$(top_builddir)/cogl \
|
|
-I$(top_srcdir)/cogl/winsys \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir)
|
|
|
|
cogl_gstheadersdir = $(includedir)/cogl/cogl-gst
|
|
cogl_gstheaders_HEADERS = $(source_h)
|
|
|
|
plugin_source_c = \
|
|
$(srcdir)/cogl-gst-plugin.c \
|
|
$(NULL)
|
|
|
|
libgstcogl_la_SOURCES = \
|
|
$(plugin_source_c) \
|
|
$(NULL)
|
|
|
|
plugin_LTLIBRARIES = libgstcogl.la
|
|
|
|
libgstcogl_la_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_GST_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
libgstcogl_la_LIBADD = \
|
|
$(top_builddir)/cogl/libcogl.la \
|
|
$(builddir)/libcogl-gst.la
|
|
libgstcogl_la_LIBADD += $(COGL_DEP_LIBS) $(COGL_GST_DEP_LIBS) $(COGL_EXTRA_LDFLAGS)
|
|
libgstcogl_la_LDFLAGS = \
|
|
-avoid-version -no-undefined \
|
|
$(NULL)
|
|
|
|
|
|
pc_files = cogl-gst.pc
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = $(pc_files)
|
|
|
|
EXTRA_DIST += cogl-gst.pc.in
|
|
DISTCLEANFILES += $(pc_files)
|