1 # variables used for enum generation
3 include $(top_srcdir)/common/orc.mak
5 glib_enum_headers = video.h video-format.h video-color.h video-info.h video-dither.h \
6 colorbalance.h navigation.h video-chroma.h video-tile.h video-converter.h \
8 glib_enum_define = GST_VIDEO
9 glib_gen_prefix = gst_video
10 glib_gen_basename = video
12 built_sources = video-enumtypes.c
13 built_headers = video-enumtypes.h
14 BUILT_SOURCES += $(built_sources) $(built_headers)
16 lib_LTLIBRARIES = libgstvideo-@GST_API_VERSION@.la
18 CLEANFILES = $(BUILT_SOURCES)
20 libgstvideo_@GST_API_VERSION@_la_SOURCES = \
22 colorbalancechannel.c \
45 gstvideoutilsprivate.c \
48 video-overlay-composition.c
50 nodist_libgstvideo_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES)
52 libgstvideo_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/video
53 libgstvideo_@GST_API_VERSION@include_HEADERS = \
55 colorbalancechannel.h \
79 video-overlay-composition.h
81 nodist_libgstvideo_@GST_API_VERSION@include_HEADERS = $(built_headers)
82 noinst_HEADERS = gstvideoutilsprivate.h
84 libgstvideo_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \
86 libgstvideo_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) $(LIBM)
87 libgstvideo_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
89 include $(top_srcdir)/common/gst-glib-gen.mak
92 BUILT_GIRSOURCES = GstVideo-@GST_API_VERSION@.gir
94 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstvideo_@GST_API_VERSION@include_HEADERS))
95 gir_headers+=$(patsubst %,$(builddir)/%, $(built_headers))
96 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstvideo_@GST_API_VERSION@_la_SOURCES))
97 gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources))
99 GstVideo-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_API_VERSION@.la
100 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\
101 GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_UPDATE=no \
102 $(INTROSPECTION_SCANNER) -v --namespace GstVideo \
103 --nsversion=@GST_API_VERSION@ \
106 --c-include "gst/video/video.h" \
107 -I$(top_srcdir)/gst-libs \
108 -I$(top_builddir)/gst-libs \
109 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
110 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
111 --library=libgstvideo-@GST_API_VERSION@.la \
112 --include=Gst-@GST_API_VERSION@ \
113 --include=GstBase-@GST_API_VERSION@ \
114 --libtool="$(top_builddir)/libtool" \
115 --pkg gstreamer-@GST_API_VERSION@ \
116 --pkg gstreamer-base-@GST_API_VERSION@ \
117 --pkg-export gstreamer-video-@GST_API_VERSION@ \
118 --add-init-section="gst_init(NULL,NULL);" \
123 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
124 # install anything - we need to install inside our prefix.
125 girdir = $(datadir)/gir-1.0
126 gir_DATA = $(BUILT_GIRSOURCES)
128 typelibsdir = $(libdir)/girepository-1.0/
130 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
132 %.typelib: %.gir $(INTROSPECTION_COMPILER)
133 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
134 $(INTROSPECTION_COMPILER) \
135 --includedir=$(srcdir) \
136 --includedir=$(builddir) \
137 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
138 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
139 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
141 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
144 Android.mk: Makefile.am $(BUILT_SOURCES)
145 androgenizer -:PROJECT libgstvideo -:SHARED libgstvideo-@GST_API_VERSION@ \
147 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
148 -:SOURCES $(libgstvideo_@GST_API_VERSION@_la_SOURCES) \
149 $(nodist_libgstvideo_@GST_API_VERSION@_la_SOURCES) \
150 -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstvideo_@GST_API_VERSION@_la_CFLAGS) \
151 -:LDFLAGS $(libgstvideo_@GST_API_VERSION@_la_LDFLAGS) \
152 $(libgstvideo_@GST_API_VERSION@_la_LIBADD) \
154 -:HEADER_TARGET gstreamer-@GST_API_VERSION@/gst/tag \
155 -:HEADERS $(libgstvideo_@GST_API_VERSION@include_HEADERS) \
156 $(nodist_libgstvideo_@GST_API_VERSION@include_HEADERS) \
157 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \