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
114 GST_PLUGINS_BASE_DEPENDENCIES
+= libxml2
116 GST_PLUGINS_BASE_CONF_OPTS
+= --disable-subparse
119 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TCP
),y
)
120 GST_PLUGINS_BASE_CONF_OPTS
+= --enable-tcp
122 GST_PLUGINS_BASE_CONF_OPTS
+= --disable-tcp
125 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TYPEFIND
),y
)
126 GST_PLUGINS_BASE_CONF_OPTS
+= --enable-typefind
128 GST_PLUGINS_BASE_CONF_OPTS
+= --disable-typefind
131 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC
),y
)
132 GST_PLUGINS_BASE_CONF_OPTS
+= --enable-videotestsrc
134 GST_PLUGINS_BASE_CONF_OPTS
+= --disable-videotestsrc
137 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEORATE
),y
)
138 GST_PLUGINS_BASE_CONF_OPTS
+= --enable-videorate
140 GST_PLUGINS_BASE_CONF_OPTS
+= --disable-videorate
143 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOSCALE
),y
)
144 GST_PLUGINS_BASE_CONF_OPTS
+= --enable-videoscale
146 GST_PLUGINS_BASE_CONF_OPTS
+= --disable-videoscale
149 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VOLUME
),y
)
150 GST_PLUGINS_BASE_CONF_OPTS
+= --enable-volume
152 GST_PLUGINS_BASE_CONF_OPTS
+= --disable-volume
155 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG
),y
)
156 GST_PLUGINS_BASE_CONF_OPTS
+= --enable-ogg
157 GST_PLUGINS_BASE_DEPENDENCIES
+= libogg
159 GST_PLUGINS_BASE_CONF_OPTS
+= --disable-ogg
162 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PANGO
),y
)
163 GST_PLUGINS_BASE_CONF_OPTS
+= --enable-pango
164 GST_PLUGINS_BASE_DEPENDENCIES
+= pango
166 GST_PLUGINS_BASE_CONF_OPTS
+= --disable-pango
169 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA
),y
)
170 GST_PLUGINS_BASE_CONF_OPTS
+= --enable-theora
171 GST_PLUGINS_BASE_DEPENDENCIES
+= libtheora
173 GST_PLUGINS_BASE_CONF_OPTS
+= --disable-theora
176 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TREMOR
),y
)
177 GST_PLUGINS_BASE_CONF_OPTS
+= --enable-ivorbis
178 GST_PLUGINS_BASE_DEPENDENCIES
+= tremor
180 GST_PLUGINS_BASE_CONF_OPTS
+= --disable-ivorbis
183 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS
),y
)
184 GST_PLUGINS_BASE_CONF_OPTS
+= --enable-vorbis
185 GST_PLUGINS_BASE_DEPENDENCIES
+= libvorbis
187 GST_PLUGINS_BASE_CONF_OPTS
+= --disable-vorbis
190 ifeq ($(BR2_PACKAGE_ZLIB
),y
)
191 GST_PLUGINS_BASE_DEPENDENCIES
+= zlib
193 GST_PLUGINS_BASE_CONF_OPTS
+= --disable-zlib
196 $(eval
$(autotools-package
))