1 ################################################################################
5 ################################################################################
7 GST1_PLUGINS_GOOD_VERSION = 1.4.5
8 GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz
9 GST1_PLUGINS_GOOD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-good
10 GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING
11 GST1_PLUGINS_GOOD_LICENSE = LGPLv2.1+
13 GST1_PLUGINS_GOOD_CONF_OPTS = \
16 --disable-directsound \
28 # Options which require currently unpackaged libraries
29 GST1_PLUGINS_GOOD_CONF_OPTS += \
36 GST1_PLUGINS_GOOD_DEPENDENCIES = gstreamer1 gst1-plugins-base
38 ifeq ($(BR2_PACKAGE_ORC),y)
39 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-orc
40 GST1_PLUGINS_GOOD_DEPENDENCIES += orc
43 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ALPHA),y)
44 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-alpha
46 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-alpha
49 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_APETAG),y)
50 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-apetag
52 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-apetag
55 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOFX),y)
56 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-audiofx
58 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-audiofx
61 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS),y)
62 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-audioparsers
64 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-audioparsers
67 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUPARSE),y)
68 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-auparse
70 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-auparse
73 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT),y)
74 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-autodetect
76 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-autodetect
79 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AVI),y)
80 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-avi
82 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-avi
85 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CUTTER),y)
86 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-cutter
88 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-cutter
91 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEBUGUTILS),y)
92 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-debugutils
94 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-debugutils
97 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEINTERLACE),y)
98 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-deinterlace
100 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-deinterlace
103 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DTMF),y)
104 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-dtmf
106 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-dtmf
109 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EFFECTV),y)
110 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-effectv
112 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-effectv
115 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EQUALIZER),y)
116 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-equalizer
118 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-equalizer
121 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLV),y)
122 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-flv
124 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-flv
127 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLX),y)
128 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-flx
130 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-flx
133 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM),y)
134 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-goom
136 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-goom
139 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM2K1),y)
140 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-goom2k1
142 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-goom2k1
145 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ICYDEMUX),y)
146 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-icydemux
148 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-icydemux
151 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ID3DEMUX),y)
152 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-id3demux
154 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-id3demux
157 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE),y)
158 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-imagefreeze
160 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-imagefreeze
163 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_INTERLEAVE),y)
164 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-interleave
166 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-interleave
169 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4),y)
170 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-isomp4
172 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-isomp4
175 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAW),y)
176 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-law
178 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-law
181 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LEVEL),y)
182 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-level
184 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-level
187 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA),y)
188 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-matroska
190 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-matroska
193 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MONOSCOPE),y)
194 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-monoscope
196 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-monoscope
199 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIFILE),y)
200 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-multifile
202 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-multifile
205 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIPART),y)
206 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-multipart
208 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-multipart
211 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_REPLAYGAIN),y)
212 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-replaygain
214 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-replaygain
217 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTP),y)
218 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-rtp
220 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-rtp
223 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTPMANAGER),y)
224 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-rtpmanager
226 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-rtpmanager
229 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP),y)
230 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-rtsp
232 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-rtsp
235 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHAPEWIPE),y)
236 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-shapewipe
238 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-shapewipe
241 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SMPTE),y)
242 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-smpte
244 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-smpte
247 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPECTRUM),y)
248 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-spectrum
250 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-spectrum
253 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_UDP),y)
254 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-udp
256 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-udp
259 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOBOX),y)
260 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-videobox
262 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-videobox
265 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOCROP),y)
266 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-videocrop
268 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-videocrop
271 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOFILTER),y)
272 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-videofilter
274 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-videofilter
277 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOMIXER),y)
278 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-videomixer
280 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-videomixer
283 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVENC),y)
284 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-wavenc
286 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-wavenc
289 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPARSE),y)
290 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-wavparse
292 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-wavparse
295 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_Y4M),y)
296 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-y4m
298 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-y4m
301 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS),y)
302 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-oss
304 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-oss
307 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS4),y)
308 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-oss4
310 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-oss4
313 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2),y)
314 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-gst_v4l2
316 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-gst_v4l2
319 ifeq ($(BR2_PACKAGE_XORG7),y)
320 GST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
321 GST1_PLUGINS_GOOD_CONF_OPTS += \
324 $(if $(BR2_PACKAGE_XLIB_LIBXFIXES),xlib_libXfixes) \
325 $(if $(BR2_PACKAGE_XLIB_LIBXDAMAGE),xlib_libXdamage)
327 GST1_PLUGINS_GOOD_CONF_OPTS += \
332 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CAIRO),y)
333 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-cairo
334 GST1_PLUGINS_GOOD_DEPENDENCIES += cairo
336 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-cairo
339 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLAC),y)
340 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-flac
341 GST1_PLUGINS_GOOD_DEPENDENCIES += flac
343 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-flac
346 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GDKPIXBUF),y)
347 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-gdk_pixbuf
348 GST1_PLUGINS_GOOD_DEPENDENCIES += gdk-pixbuf
350 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-gdk_pixbuf
353 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_JPEG),y)
354 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-jpeg
355 GST1_PLUGINS_GOOD_DEPENDENCIES += jpeg
357 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-jpeg
360 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PNG),y)
361 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-libpng
362 GST1_PLUGINS_GOOD_DEPENDENCIES += libpng
364 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-libpng
367 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE),y)
368 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-pulse
369 GST1_PLUGINS_GOOD_DEPENDENCIES += pulseaudio
371 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-pulse
374 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC),y)
375 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-soup
376 GST1_PLUGINS_GOOD_DEPENDENCIES += libsoup
378 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-soup
381 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPEEX),y)
382 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-speex
383 GST1_PLUGINS_GOOD_DEPENDENCIES += speex
385 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-speex
388 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TAGLIB),y)
389 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-taglib
390 GST1_PLUGINS_GOOD_DEPENDENCIES += taglib
392 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-taglib
395 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX),y)
396 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-vpx
397 GST1_PLUGINS_GOOD_DEPENDENCIES += libvpx
399 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-vpx
402 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPACK),y)
403 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-wavpack
404 GST1_PLUGINS_GOOD_DEPENDENCIES += wavpack
406 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-wavpack
409 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_ZLIB),y)
410 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-zlib
411 GST1_PLUGINS_GOOD_DEPENDENCIES += zlib
413 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-zlib
416 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_BZ2),y)
417 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-bz2
418 GST1_PLUGINS_GOOD_DEPENDENCIES += bzip2
420 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-bz2
423 $(eval $(autotools-package))