1 ################################################################################
5 ################################################################################
7 GST_PLUGINS_BASE_VERSION = 0.10.36
8 GST_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST_PLUGINS_BASE_VERSION).tar.xz
9 GST_PLUGINS_BASE_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-base
10 GST_PLUGINS_BASE_INSTALL_STAGING = YES
12 # freetype is only used by examples, but if it is not found
13 # and the host has a freetype-config script, then the host
14 # include dirs are added to the search path causing trouble
15 GST_PLUGINS_BASE_CONF_ENV =
16 FT2_CONFIG=/bin/false \
17 ac_cv_header_stdint_t="stdint.h"
19 GST_PLUGINS_BASE_CONF_OPTS = \
22 --disable-vorbistest \
23 --disable-freetypetest
25 GST_PLUGINS_BASE_DEPENDENCIES = gstreamer
27 ifeq ($(BR2_PACKAGE_XORG7),y)
28 GST_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
29 GST_PLUGINS_BASE_CONF_OPTS += \
34 GST_PLUGINS_BASE_CONF_OPTS += \
40 ifeq ($(BR2_PACKAGE_ORC),y)
41 GST_PLUGINS_BASE_DEPENDENCIES += orc
44 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ALSA),y)
45 GST_PLUGINS_BASE_DEPENDENCIES += alsa-lib
47 GST_PLUGINS_BASE_CONF_OPTS += --disable-alsa
50 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ADDER),y)
51 GST_PLUGINS_BASE_CONF_OPTS += --enable-adder
53 GST_PLUGINS_BASE_CONF_OPTS += --disable-adder
56 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP),y)
57 GST_PLUGINS_BASE_CONF_OPTS += --enable-app
59 GST_PLUGINS_BASE_CONF_OPTS += --disable-app
62 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
63 GST_PLUGINS_BASE_CONF_OPTS += --enable-audioconvert
65 GST_PLUGINS_BASE_CONF_OPTS += --disable-audioconvert
68 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
69 GST_PLUGINS_BASE_CONF_OPTS += --enable-audiorate
71 GST_PLUGINS_BASE_CONF_OPTS += --disable-audiorate
74 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
75 GST_PLUGINS_BASE_CONF_OPTS += --enable-audioresample
77 GST_PLUGINS_BASE_CONF_OPTS += --disable-audioresample
80 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
81 GST_PLUGINS_BASE_CONF_OPTS += --enable-audiotestsrc
83 GST_PLUGINS_BASE_CONF_OPTS += --disable-audiotestsrc
86 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ENCODING),y)
87 GST_PLUGINS_BASE_CONF_OPTS += --enable-encoding
89 GST_PLUGINS_BASE_CONF_OPTS += --disable-encoding
92 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE),y)
93 GST_PLUGINS_BASE_CONF_OPTS += --enable-ffmpegcolorspace
95 GST_PLUGINS_BASE_CONF_OPTS += --disable-ffmpegcolorspace
98 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_GDP),y)
99 GST_PLUGINS_BASE_CONF_OPTS += --enable-gdp
101 GST_PLUGINS_BASE_CONF_OPTS += --disable-gdp
104 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
105 GST_PLUGINS_BASE_CONF_OPTS += --enable-playback
107 GST_PLUGINS_BASE_CONF_OPTS += --disable-playback
110 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
111 GST_PLUGINS_BASE_CONF_OPTS += --enable-subparse
113 GST_PLUGINS_BASE_CONF_OPTS += --disable-subparse
116 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TCP),y)
117 GST_PLUGINS_BASE_CONF_OPTS += --enable-tcp
119 GST_PLUGINS_BASE_CONF_OPTS += --disable-tcp
122 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
123 GST_PLUGINS_BASE_CONF_OPTS += --enable-typefind
125 GST_PLUGINS_BASE_CONF_OPTS += --disable-typefind
128 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
129 GST_PLUGINS_BASE_CONF_OPTS += --enable-videotestsrc
131 GST_PLUGINS_BASE_CONF_OPTS += --disable-videotestsrc
134 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
135 GST_PLUGINS_BASE_CONF_OPTS += --enable-videorate
137 GST_PLUGINS_BASE_CONF_OPTS += --disable-videorate
140 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
141 GST_PLUGINS_BASE_CONF_OPTS += --enable-videoscale
143 GST_PLUGINS_BASE_CONF_OPTS += --disable-videoscale
146 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VOLUME),y)
147 GST_PLUGINS_BASE_CONF_OPTS += --enable-volume
149 GST_PLUGINS_BASE_CONF_OPTS += --disable-volume
152 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG),y)
153 GST_PLUGINS_BASE_CONF_OPTS += --enable-ogg
154 GST_PLUGINS_BASE_DEPENDENCIES += libogg
156 GST_PLUGINS_BASE_CONF_OPTS += --disable-ogg
159 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PANGO),y)
160 GST_PLUGINS_BASE_CONF_OPTS += --enable-pango
161 GST_PLUGINS_BASE_DEPENDENCIES += pango
163 GST_PLUGINS_BASE_CONF_OPTS += --disable-pango
166 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA),y)
167 GST_PLUGINS_BASE_CONF_OPTS += --enable-theora
168 GST_PLUGINS_BASE_DEPENDENCIES += libtheora
170 GST_PLUGINS_BASE_CONF_OPTS += --disable-theora
173 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TREMOR),y)
174 GST_PLUGINS_BASE_CONF_OPTS += --enable-ivorbis
175 GST_PLUGINS_BASE_DEPENDENCIES += tremor
177 GST_PLUGINS_BASE_CONF_OPTS += --disable-ivorbis
180 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS),y)
181 GST_PLUGINS_BASE_CONF_OPTS += --enable-vorbis
182 GST_PLUGINS_BASE_DEPENDENCIES += libvorbis
184 GST_PLUGINS_BASE_CONF_OPTS += --disable-vorbis
187 ifeq ($(BR2_PACKAGE_ZLIB),y)
188 GST_PLUGINS_BASE_DEPENDENCIES += zlib
190 GST_PLUGINS_BASE_CONF_OPTS += --disable-zlib
193 $(eval $(autotools-package))