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
11 GST_PLUGINS_BASE_LICENSE = GPLv2+, LGPLv2+
12 GST_PLUGINS_BASE_LICENSE_FILES = COPYING COPYING.LIB
14 # freetype is only used by examples, but if it is not found
15 # and the host has a freetype-config script, then the host
16 # include dirs are added to the search path causing trouble
17 GST_PLUGINS_BASE_CONF_ENV =
18 FT2_CONFIG=/bin/false \
19 ac_cv_header_stdint_t="stdint.h"
21 GST_PLUGINS_BASE_CONF_OPTS = \
24 --disable-vorbistest \
25 --disable-freetypetest
27 GST_PLUGINS_BASE_DEPENDENCIES = gstreamer
29 ifeq ($(BR2_PACKAGE_XORG7),y)
30 GST_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
31 GST_PLUGINS_BASE_CONF_OPTS += \
36 GST_PLUGINS_BASE_CONF_OPTS += \
42 ifeq ($(BR2_PACKAGE_ORC),y)
43 GST_PLUGINS_BASE_DEPENDENCIES += orc
46 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ALSA),y)
47 GST_PLUGINS_BASE_DEPENDENCIES += alsa-lib
49 GST_PLUGINS_BASE_CONF_OPTS += --disable-alsa
52 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ADDER),y)
53 GST_PLUGINS_BASE_CONF_OPTS += --enable-adder
55 GST_PLUGINS_BASE_CONF_OPTS += --disable-adder
58 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP),y)
59 GST_PLUGINS_BASE_CONF_OPTS += --enable-app
61 GST_PLUGINS_BASE_CONF_OPTS += --disable-app
64 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
65 GST_PLUGINS_BASE_CONF_OPTS += --enable-audioconvert
67 GST_PLUGINS_BASE_CONF_OPTS += --disable-audioconvert
70 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
71 GST_PLUGINS_BASE_CONF_OPTS += --enable-audiorate
73 GST_PLUGINS_BASE_CONF_OPTS += --disable-audiorate
76 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
77 GST_PLUGINS_BASE_CONF_OPTS += --enable-audioresample
79 GST_PLUGINS_BASE_CONF_OPTS += --disable-audioresample
82 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
83 GST_PLUGINS_BASE_CONF_OPTS += --enable-audiotestsrc
85 GST_PLUGINS_BASE_CONF_OPTS += --disable-audiotestsrc
88 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ENCODING),y)
89 GST_PLUGINS_BASE_CONF_OPTS += --enable-encoding
91 GST_PLUGINS_BASE_CONF_OPTS += --disable-encoding
94 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE),y)
95 GST_PLUGINS_BASE_CONF_OPTS += --enable-ffmpegcolorspace
97 GST_PLUGINS_BASE_CONF_OPTS += --disable-ffmpegcolorspace
100 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_GDP),y)
101 GST_PLUGINS_BASE_CONF_OPTS += --enable-gdp
103 GST_PLUGINS_BASE_CONF_OPTS += --disable-gdp
106 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
107 GST_PLUGINS_BASE_CONF_OPTS += --enable-playback
109 GST_PLUGINS_BASE_CONF_OPTS += --disable-playback
112 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
113 GST_PLUGINS_BASE_CONF_OPTS += --enable-subparse
115 GST_PLUGINS_BASE_CONF_OPTS += --disable-subparse
118 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TCP),y)
119 GST_PLUGINS_BASE_CONF_OPTS += --enable-tcp
121 GST_PLUGINS_BASE_CONF_OPTS += --disable-tcp
124 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
125 GST_PLUGINS_BASE_CONF_OPTS += --enable-typefind
127 GST_PLUGINS_BASE_CONF_OPTS += --disable-typefind
130 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
131 GST_PLUGINS_BASE_CONF_OPTS += --enable-videotestsrc
133 GST_PLUGINS_BASE_CONF_OPTS += --disable-videotestsrc
136 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
137 GST_PLUGINS_BASE_CONF_OPTS += --enable-videorate
139 GST_PLUGINS_BASE_CONF_OPTS += --disable-videorate
142 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
143 GST_PLUGINS_BASE_CONF_OPTS += --enable-videoscale
145 GST_PLUGINS_BASE_CONF_OPTS += --disable-videoscale
148 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VOLUME),y)
149 GST_PLUGINS_BASE_CONF_OPTS += --enable-volume
151 GST_PLUGINS_BASE_CONF_OPTS += --disable-volume
154 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG),y)
155 GST_PLUGINS_BASE_CONF_OPTS += --enable-ogg
156 GST_PLUGINS_BASE_DEPENDENCIES += libogg
158 GST_PLUGINS_BASE_CONF_OPTS += --disable-ogg
161 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PANGO),y)
162 GST_PLUGINS_BASE_CONF_OPTS += --enable-pango
163 GST_PLUGINS_BASE_DEPENDENCIES += pango
165 GST_PLUGINS_BASE_CONF_OPTS += --disable-pango
168 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA),y)
169 GST_PLUGINS_BASE_CONF_OPTS += --enable-theora
170 GST_PLUGINS_BASE_DEPENDENCIES += libtheora
172 GST_PLUGINS_BASE_CONF_OPTS += --disable-theora
175 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TREMOR),y)
176 GST_PLUGINS_BASE_CONF_OPTS += --enable-ivorbis
177 GST_PLUGINS_BASE_DEPENDENCIES += tremor
179 GST_PLUGINS_BASE_CONF_OPTS += --disable-ivorbis
182 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS),y)
183 GST_PLUGINS_BASE_CONF_OPTS += --enable-vorbis
184 GST_PLUGINS_BASE_DEPENDENCIES += libvorbis
186 GST_PLUGINS_BASE_CONF_OPTS += --disable-vorbis
189 ifeq ($(BR2_PACKAGE_ZLIB),y)
190 GST_PLUGINS_BASE_DEPENDENCIES += zlib
192 GST_PLUGINS_BASE_CONF_OPTS += --disable-zlib
195 $(eval $(autotools-package))