1 ################################################################################
5 ################################################################################
7 GST_PLUGINS_GOOD_VERSION = 0.10.31
8 GST_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST_PLUGINS_GOOD_VERSION).tar.xz
9 GST_PLUGINS_GOOD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-good
11 GST_PLUGINS_GOOD_CONF_OPTS = \
13 --disable-directsound \
23 GST_PLUGINS_GOOD_DEPENDENCIES = gstreamer gst-plugins-base
25 ifeq ($(BR2_PACKAGE_XORG7),y)
26 GST_PLUGINS_GOOD_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
27 GST_PLUGINS_GOOD_CONF_OPTS += \
32 GST_PLUGINS_GOOD_CONF_OPTS += \
38 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_JPEG),y)
39 GST_PLUGINS_GOOD_CONF_OPTS += --enable-jpeg
40 GST_PLUGINS_GOOD_DEPENDENCIES += jpeg
42 GST_PLUGINS_GOOD_CONF_OPTS += --disable-jpeg
45 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PNG),y)
46 GST_PLUGINS_GOOD_CONF_OPTS += --enable-libpng
47 GST_PLUGINS_GOOD_DEPENDENCIES += libpng
49 GST_PLUGINS_GOOD_CONF_OPTS += --disable-libpng
52 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_BZ2),y)
53 GST_PLUGINS_GOOD_CONF_OPTS += --enable-bz2
54 GST_PLUGINS_GOOD_DEPENDENCIES += bzip2
56 GST_PLUGINS_GOOD_CONF_OPTS += --disable-bz2
59 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_ZLIB),y)
60 GST_PLUGINS_GOOD_CONF_OPTS += --enable-zlib
61 GST_PLUGINS_GOOD_DEPENDENCIES += zlib
63 GST_PLUGINS_GOOD_CONF_OPTS += --disable-zlib
66 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ALPHA),y)
67 GST_PLUGINS_GOOD_CONF_OPTS += --enable-alpha
69 GST_PLUGINS_GOOD_CONF_OPTS += --disable-alpha
72 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_APETAG),y)
73 GST_PLUGINS_GOOD_CONF_OPTS += --enable-apetag
75 GST_PLUGINS_GOOD_CONF_OPTS += --disable-apetag
78 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUDIOFX),y)
79 GST_PLUGINS_GOOD_CONF_OPTS += --enable-audiofx
81 GST_PLUGINS_GOOD_CONF_OPTS += --disable-audiofx
84 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS),y)
85 GST_PLUGINS_GOOD_CONF_OPTS += --enable-audioparsers
87 GST_PLUGINS_GOOD_CONF_OPTS += --disable-audioparsers
90 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUPARSE),y)
91 GST_PLUGINS_GOOD_CONF_OPTS += --enable-auparse
93 GST_PLUGINS_GOOD_CONF_OPTS += --disable-auparse
96 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUTODETECT),y)
97 GST_PLUGINS_GOOD_CONF_OPTS += --enable-autodetect
99 GST_PLUGINS_GOOD_CONF_OPTS += --disable-autodetect
102 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AVI),y)
103 GST_PLUGINS_GOOD_CONF_OPTS += --enable-avi
105 GST_PLUGINS_GOOD_CONF_OPTS += --disable-avi
108 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_CUTTER),y)
109 GST_PLUGINS_GOOD_CONF_OPTS += --enable-cutter
111 GST_PLUGINS_GOOD_CONF_OPTS += --disable-cutter
114 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_DEBUGUTILS),y)
115 GST_PLUGINS_GOOD_CONF_OPTS += --enable-debugutils
117 GST_PLUGINS_GOOD_CONF_OPTS += --disable-debugutils
120 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_DEINTERLACE),y)
121 GST_PLUGINS_GOOD_CONF_OPTS += --enable-deinterlace
123 GST_PLUGINS_GOOD_CONF_OPTS += --disable-deinterlace
126 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_EFFECTV),y)
127 GST_PLUGINS_GOOD_CONF_OPTS += --enable-effectv
129 GST_PLUGINS_GOOD_CONF_OPTS += --disable-effectv
132 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_EQUALIZER),y)
133 GST_PLUGINS_GOOD_CONF_OPTS += --enable-equalizer
135 GST_PLUGINS_GOOD_CONF_OPTS += --disable-equalizer
138 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLV),y)
139 GST_PLUGINS_GOOD_CONF_OPTS += --enable-flv
141 GST_PLUGINS_GOOD_CONF_OPTS += --disable-flv
144 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLX),y)
145 GST_PLUGINS_GOOD_CONF_OPTS += --enable-flx
147 GST_PLUGINS_GOOD_CONF_OPTS += --disable-flx
150 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GOOM),y)
151 GST_PLUGINS_GOOD_CONF_OPTS += --enable-goom
153 GST_PLUGINS_GOOD_CONF_OPTS += --disable-goom
156 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GOOM2K1),y)
157 GST_PLUGINS_GOOD_CONF_OPTS += --enable-goom2k1
159 GST_PLUGINS_GOOD_CONF_OPTS += --disable-goom2k1
162 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ID3DEMUX),y)
163 GST_PLUGINS_GOOD_CONF_OPTS += --enable-id3demux
165 GST_PLUGINS_GOOD_CONF_OPTS += --disable-id3demux
168 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ICYDEMUX),y)
169 GST_PLUGINS_GOOD_CONF_OPTS += --enable-icydemux
171 GST_PLUGINS_GOOD_CONF_OPTS += --disable-icydemux
174 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE),y)
175 GST_PLUGINS_GOOD_CONF_OPTS += --enable-imagefreeze
177 GST_PLUGINS_GOOD_CONF_OPTS += --disable-imagefreeze
180 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_INTERLEAVE),y)
181 GST_PLUGINS_GOOD_CONF_OPTS += --enable-interleave
183 GST_PLUGINS_GOOD_CONF_OPTS += --disable-interleave
186 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ISOMP4),y)
187 GST_PLUGINS_GOOD_CONF_OPTS += --enable-isomp4
189 GST_PLUGINS_GOOD_CONF_OPTS += --disable-isomp4
192 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_LAW),y)
193 GST_PLUGINS_GOOD_CONF_OPTS += --enable-law
195 GST_PLUGINS_GOOD_CONF_OPTS += --disable-law
198 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_LEVEL),y)
199 GST_PLUGINS_GOOD_CONF_OPTS += --enable-level
201 GST_PLUGINS_GOOD_CONF_OPTS += --disable-level
204 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA),y)
205 GST_PLUGINS_GOOD_CONF_OPTS += --enable-matroska
207 GST_PLUGINS_GOOD_CONF_OPTS += --disable-matroska
210 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MONOSCOPE),y)
211 GST_PLUGINS_GOOD_CONF_OPTS += --enable-monoscope
213 GST_PLUGINS_GOOD_CONF_OPTS += --disable-monoscope
216 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MULTIFILE),y)
217 GST_PLUGINS_GOOD_CONF_OPTS += --enable-multifile
219 GST_PLUGINS_GOOD_CONF_OPTS += --disable-multifile
222 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MULTIPART),y)
223 GST_PLUGINS_GOOD_CONF_OPTS += --enable-multipart
225 GST_PLUGINS_GOOD_CONF_OPTS += --disable-multipart
228 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_REPLAYGAIN),y)
229 GST_PLUGINS_GOOD_CONF_OPTS += --enable-replaygain
231 GST_PLUGINS_GOOD_CONF_OPTS += --disable-replaygain
234 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTP),y)
235 GST_PLUGINS_GOOD_CONF_OPTS += --enable-rtp
237 GST_PLUGINS_GOOD_CONF_OPTS += --disable-rtp
240 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTPMANAGER),y)
241 GST_PLUGINS_GOOD_CONF_OPTS += --enable-rtpmanager
243 GST_PLUGINS_GOOD_CONF_OPTS += --disable-rtpmanager
246 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTSP),y)
247 GST_PLUGINS_GOOD_CONF_OPTS += --enable-rtsp
249 GST_PLUGINS_GOOD_CONF_OPTS += --disable-rtsp
252 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SHAPEWIPE),y)
253 GST_PLUGINS_GOOD_CONF_OPTS += --enable-shapewipe
255 GST_PLUGINS_GOOD_CONF_OPTS += --disable-shapewipe
258 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SMPTE),y)
259 GST_PLUGINS_GOOD_CONF_OPTS += --enable-smpte
261 GST_PLUGINS_GOOD_CONF_OPTS += --disable-smpte
264 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPECTRUM),y)
265 GST_PLUGINS_GOOD_CONF_OPTS += --enable-spectrum
267 GST_PLUGINS_GOOD_CONF_OPTS += --disable-spectrum
270 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_UDP),y)
271 GST_PLUGINS_GOOD_CONF_OPTS += --enable-udp
273 GST_PLUGINS_GOOD_CONF_OPTS += --disable-udp
276 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOBOX),y)
277 GST_PLUGINS_GOOD_CONF_OPTS += --enable-videobox
279 GST_PLUGINS_GOOD_CONF_OPTS += --disable-videobox
282 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOCROP),y)
283 GST_PLUGINS_GOOD_CONF_OPTS += --enable-videocrop
285 GST_PLUGINS_GOOD_CONF_OPTS += --disable-videocrop
288 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOFILTER),y)
289 GST_PLUGINS_GOOD_CONF_OPTS += --enable-videofilter
291 GST_PLUGINS_GOOD_CONF_OPTS += --disable-videofilter
294 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOMIXER),y)
295 GST_PLUGINS_GOOD_CONF_OPTS += --enable-videomixer
297 GST_PLUGINS_GOOD_CONF_OPTS += --disable-videomixer
300 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVENC),y)
301 GST_PLUGINS_GOOD_CONF_OPTS += --enable-wavenc
303 GST_PLUGINS_GOOD_CONF_OPTS += --disable-wavenc
306 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPARSE),y)
307 GST_PLUGINS_GOOD_CONF_OPTS += --enable-wavparse
309 GST_PLUGINS_GOOD_CONF_OPTS += --disable-wavparse
312 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_Y4M),y)
313 GST_PLUGINS_GOOD_CONF_OPTS += --enable-y4m
315 GST_PLUGINS_GOOD_CONF_OPTS += --disable-y4m
318 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_V4L2),y)
319 GST_PLUGINS_GOOD_CONF_OPTS += --enable-gst_v4l2
321 GST_PLUGINS_GOOD_CONF_OPTS += --disable-gst_v4l2
324 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX),y)
325 GST_PLUGINS_GOOD_CONF_OPTS += --enable-annodex
326 GST_PLUGINS_GOOD_DEPENDENCIES += libxml2
328 GST_PLUGINS_GOOD_CONF_OPTS += --disable-annodex
331 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_CAIRO),y)
332 GST_PLUGINS_GOOD_CONF_OPTS += --enable-cairo
333 GST_PLUGINS_GOOD_DEPENDENCIES += cairo
335 GST_PLUGINS_GOOD_CONF_OPTS += --disable-cairo
338 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLAC),y)
339 GST_PLUGINS_GOOD_CONF_OPTS += --enable-flac
340 GST_PLUGINS_GOOD_DEPENDENCIES += flac
342 GST_PLUGINS_GOOD_CONF_OPTS += --disable-flac
345 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GDKPIXBUF),y)
346 GST_PLUGINS_GOOD_CONF_OPTS += --enable-gdk_pixbuf
347 GST_PLUGINS_GOOD_DEPENDENCIES += gdk-pixbuf
349 GST_PLUGINS_GOOD_CONF_OPTS += --disable-gdk_pixbuf
352 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS),y)
353 GST_PLUGINS_GOOD_CONF_OPTS += --enable-oss
355 GST_PLUGINS_GOOD_CONF_OPTS += --disable-oss
358 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS4),y)
359 GST_PLUGINS_GOOD_CONF_OPTS += --enable-oss4
361 GST_PLUGINS_GOOD_CONF_OPTS += --disable-oss4
364 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE),y)
365 GST_PLUGINS_GOOD_CONF_OPTS += --enable-pulse
366 GST_PLUGINS_GOOD_DEPENDENCIES += pulseaudio
368 GST_PLUGINS_GOOD_CONF_OPTS += --disable-pulse
371 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC),y)
372 GST_PLUGINS_GOOD_CONF_OPTS += --enable-soup
373 GST_PLUGINS_GOOD_DEPENDENCIES += libsoup
375 GST_PLUGINS_GOOD_CONF_OPTS += --disable-soup
378 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPEEX),y)
379 GST_PLUGINS_GOOD_CONF_OPTS += --enable-speex
380 GST_PLUGINS_GOOD_DEPENDENCIES += speex
382 GST_PLUGINS_GOOD_CONF_OPTS += --disable-speex
385 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPACK),y)
386 GST_PLUGINS_GOOD_CONF_OPTS += --enable-wavpack
387 GST_PLUGINS_GOOD_DEPENDENCIES += wavpack
389 GST_PLUGINS_GOOD_CONF_OPTS += --disable-wavpack
392 $(eval $(autotools-package))