1 ################################################################################
5 ################################################################################
7 GST1_PLUGINS_BAD_VERSION = 1.4.5
8 GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz
9 GST1_PLUGINS_BAD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-bad
10 GST1_PLUGINS_BAD_LICENSE_FILES = COPYING COPYING.LIB
11 # Unknown and GPL licensed plugins will append to GST1_PLUGINS_BAD_LICENSE if
13 GST1_PLUGINS_BAD_LICENSE = LGPLv2+ LGPLv2.1+
15 GST1_PLUGINS_BAD_AUTORECONF = YES
16 GST1_PLUGINS_BAD_AUTORECONF_OPTS = -I $(@D)/common/m4
17 GST1_PLUGINS_BAD_GETTEXTIZE = YES
19 GST1_PLUGINS_BAD_CONF_OPTS = \
22 --disable-directsound \
25 --disable-directdraw \
28 --disable-android_media \
29 --disable-apple_media \
35 # Options which require currently unpackaged libraries
36 GST1_PLUGINS_BAD_CONF_OPTS += \
41 --disable-voamrwbenc \
42 --disable-chromaprint \
50 --disable-fluidsynth \
69 --disable-teletextdec \
71 --disable-smoothstreaming \
72 --disable-soundtouch \
86 GST1_PLUGINS_BAD_DEPENDENCIES = gst1-plugins-base gstreamer1
88 ifeq ($(BR2_PACKAGE_ORC),y)
89 GST1_PLUGINS_BAD_DEPENDENCIES += orc
90 GST1_PLUGINS_BAD_CONF_OPTS += --enable-orc
93 ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
94 GST1_PLUGINS_BAD_DEPENDENCIES += bluez_utils
95 GST1_PLUGINS_BAD_CONF_OPTS += --enable-bluez
97 GST1_PLUGINS_BAD_CONF_OPTS += --disable-bluez
100 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ACCURIP),y)
101 GST1_PLUGINS_BAD_CONF_OPTS += --enable-accurip
103 GST1_PLUGINS_BAD_CONF_OPTS += --disable-accurip
106 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMDEC),y)
107 GST1_PLUGINS_BAD_CONF_OPTS += --enable-adpcmdec
109 GST1_PLUGINS_BAD_CONF_OPTS += --disable-adpcmdec
112 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMENC),y)
113 GST1_PLUGINS_BAD_CONF_OPTS += --enable-adpcmenc
115 GST1_PLUGINS_BAD_CONF_OPTS += --disable-adpcmenc
118 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AIFF),y)
119 GST1_PLUGINS_BAD_CONF_OPTS += --enable-aiff
121 GST1_PLUGINS_BAD_CONF_OPTS += --disable-aiff
124 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASFMUX),y)
125 GST1_PLUGINS_BAD_CONF_OPTS += --enable-asfmux
127 GST1_PLUGINS_BAD_CONF_OPTS += --disable-asfmux
130 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOFXBAD),y)
131 GST1_PLUGINS_BAD_CONF_OPTS += --enable-audiofxbad
133 GST1_PLUGINS_BAD_CONF_OPTS += --disable-audiofxbad
136 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXER),y)
137 GST1_PLUGINS_BAD_CONF_OPTS += --enable-audiomixer
139 GST1_PLUGINS_BAD_CONF_OPTS += --disable-audiomixer
142 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COMPOSITOR),y)
143 GST1_PLUGINS_BAD_CONF_OPTS += --enable-compositor
145 GST1_PLUGINS_BAD_CONF_OPTS += --disable-compositor
148 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOVISUALIZERS),y)
149 GST1_PLUGINS_BAD_CONF_OPTS += --enable-audiovisualizers
150 GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y
152 GST1_PLUGINS_BAD_CONF_OPTS += --disable-audiovisualizers
155 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUTOCONVERT),y)
156 GST1_PLUGINS_BAD_CONF_OPTS += --enable-autoconvert
158 GST1_PLUGINS_BAD_CONF_OPTS += --disable-autoconvert
161 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BAYER),y)
162 GST1_PLUGINS_BAD_CONF_OPTS += --enable-bayer
164 GST1_PLUGINS_BAD_CONF_OPTS += --disable-bayer
167 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CAMERABIN2),y)
168 GST1_PLUGINS_BAD_CONF_OPTS += --enable-camerabin2
170 GST1_PLUGINS_BAD_CONF_OPTS += --disable-camerabin2
173 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CDXAPARSE),y)
174 GST1_PLUGINS_BAD_CONF_OPTS += --enable-cdxaparse
176 GST1_PLUGINS_BAD_CONF_OPTS += --disable-cdxaparse
179 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COLOREFFECTS),y)
180 GST1_PLUGINS_BAD_CONF_OPTS += --enable-coloreffects
182 GST1_PLUGINS_BAD_CONF_OPTS += --disable-coloreffects
185 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DATAURISRC),y)
186 GST1_PLUGINS_BAD_CONF_OPTS += --enable-dataurisrc
188 GST1_PLUGINS_BAD_CONF_OPTS += --disable-dataurisrc
191 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DCCP),y)
192 GST1_PLUGINS_BAD_CONF_OPTS += --enable-dccp
194 GST1_PLUGINS_BAD_CONF_OPTS += --disable-dccp
197 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS),y)
198 GST1_PLUGINS_BAD_CONF_OPTS += --enable-debugutils
200 GST1_PLUGINS_BAD_CONF_OPTS += --disable-debugutils
203 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBOVERLAY),y)
204 GST1_PLUGINS_BAD_CONF_OPTS += --enable-dvbsuboverlay
206 GST1_PLUGINS_BAD_CONF_OPTS += --disable-dvbsuboverlay
209 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVDSPU),y)
210 GST1_PLUGINS_BAD_CONF_OPTS += --enable-dvdspu
212 GST1_PLUGINS_BAD_CONF_OPTS += --disable-dvdspu
215 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FACEOVERLAY),y)
216 GST1_PLUGINS_BAD_CONF_OPTS += --enable-faceoverlay
218 GST1_PLUGINS_BAD_CONF_OPTS += --disable-faceoverlay
221 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FESTIVAL),y)
222 GST1_PLUGINS_BAD_CONF_OPTS += --enable-festival
224 GST1_PLUGINS_BAD_CONF_OPTS += --disable-festival
227 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FIELDANALYSIS),y)
228 GST1_PLUGINS_BAD_CONF_OPTS += --enable-fieldanalysis
230 GST1_PLUGINS_BAD_CONF_OPTS += --disable-fieldanalysis
233 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREEVERB),y)
234 GST1_PLUGINS_BAD_CONF_OPTS += --enable-freeverb
236 GST1_PLUGINS_BAD_CONF_OPTS += --disable-freeverb
239 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREI0R),y)
240 GST1_PLUGINS_BAD_CONF_OPTS += --enable-frei0r
242 GST1_PLUGINS_BAD_CONF_OPTS += --disable-frei0r
245 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GAUDIEFFECTS),y)
246 GST1_PLUGINS_BAD_CONF_OPTS += --enable-gaudieffects
248 GST1_PLUGINS_BAD_CONF_OPTS += --disable-gaudieffects
251 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GEOMETRICTRANSFORM),y)
252 GST1_PLUGINS_BAD_CONF_OPTS += --enable-geometrictransform
254 GST1_PLUGINS_BAD_CONF_OPTS += --disable-geometrictransform
257 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GDP),y)
258 GST1_PLUGINS_BAD_CONF_OPTS += --enable-gdp
260 GST1_PLUGINS_BAD_CONF_OPTS += --disable-gdp
263 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HDVPARSE),y)
264 GST1_PLUGINS_BAD_CONF_OPTS += --enable-hdvparse
266 GST1_PLUGINS_BAD_CONF_OPTS += --disable-hdvparse
269 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ID3TAG),y)
270 GST1_PLUGINS_BAD_CONF_OPTS += --enable-id3tag
272 GST1_PLUGINS_BAD_CONF_OPTS += --disable-id3tag
275 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTER),y)
276 GST1_PLUGINS_BAD_CONF_OPTS += --enable-inter
278 GST1_PLUGINS_BAD_CONF_OPTS += --disable-inter
281 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTERLACE),y)
282 GST1_PLUGINS_BAD_CONF_OPTS += --enable-interlace
284 GST1_PLUGINS_BAD_CONF_OPTS += --disable-interlace
287 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVFPARSE),y)
288 GST1_PLUGINS_BAD_CONF_OPTS += --enable-ivfparse
290 GST1_PLUGINS_BAD_CONF_OPTS += --disable-ivfparse
293 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVTC),y)
294 GST1_PLUGINS_BAD_CONF_OPTS += --enable-ivtc
296 GST1_PLUGINS_BAD_CONF_OPTS += --disable-ivtc
299 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JP2KDECIMATOR),y)
300 GST1_PLUGINS_BAD_CONF_OPTS += --enable-jp2kdecimator
302 GST1_PLUGINS_BAD_CONF_OPTS += --disable-jp2kdecimator
305 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JPEGFORMAT),y)
306 GST1_PLUGINS_BAD_CONF_OPTS += --enable-jpegformat
308 GST1_PLUGINS_BAD_CONF_OPTS += --disable-jpegformat
311 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBRFB),y)
312 GST1_PLUGINS_BAD_CONF_OPTS += --enable-librfb
314 GST1_PLUGINS_BAD_CONF_OPTS += --disable-librfb
317 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIVEADDER),y)
318 GST1_PLUGINS_BAD_CONF_OPTS += --enable-liveadder
320 GST1_PLUGINS_BAD_CONF_OPTS += --disable-liveadder
323 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MIDI),y)
324 GST1_PLUGINS_BAD_CONF_OPTS += --enable-midi
326 GST1_PLUGINS_BAD_CONF_OPTS += --disable-midi
329 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGDEMUX),y)
330 GST1_PLUGINS_BAD_CONF_OPTS += --enable-mpegdemux
332 GST1_PLUGINS_BAD_CONF_OPTS += --disable-mpegdemux
335 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX),y)
336 GST1_PLUGINS_BAD_CONF_OPTS += --enable-mpegtsdemux
337 GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE = y
339 GST1_PLUGINS_BAD_CONF_OPTS += --disable-mpegtsdemux
342 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSMUX),y)
343 GST1_PLUGINS_BAD_CONF_OPTS += --enable-mpegtsmux
345 GST1_PLUGINS_BAD_CONF_OPTS += --disable-mpegtsmux
348 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGPSMUX),y)
349 GST1_PLUGINS_BAD_CONF_OPTS += --enable-mpegpsmux
350 GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE = y
352 GST1_PLUGINS_BAD_CONF_OPTS += --disable-mpegpsmux
355 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MVE),y)
356 GST1_PLUGINS_BAD_CONF_OPTS += --enable-mve
358 GST1_PLUGINS_BAD_CONF_OPTS += --disable-mve
361 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MXF),y)
362 GST1_PLUGINS_BAD_CONF_OPTS += --enable-mxf
364 GST1_PLUGINS_BAD_CONF_OPTS += --disable-mxf
367 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NUVDEMUX),y)
368 GST1_PLUGINS_BAD_CONF_OPTS += --enable-nuvdemux
370 GST1_PLUGINS_BAD_CONF_OPTS += --disable-nuvdemux
373 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PATCHDETECT),y)
374 GST1_PLUGINS_BAD_CONF_OPTS += --enable-patchdetect
376 GST1_PLUGINS_BAD_CONF_OPTS += --disable-patchdetect
379 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PCAPPARSE),y)
380 GST1_PLUGINS_BAD_CONF_OPTS += --enable-pcapparse
382 GST1_PLUGINS_BAD_CONF_OPTS += --disable-pcapparse
385 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PNM),y)
386 GST1_PLUGINS_BAD_CONF_OPTS += --enable-pnm
388 GST1_PLUGINS_BAD_CONF_OPTS += --disable-pnm
391 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RAWPARSE),y)
392 GST1_PLUGINS_BAD_CONF_OPTS += --enable-rawparse
394 GST1_PLUGINS_BAD_CONF_OPTS += --disable-rawparse
397 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REAL),y)
398 GST1_PLUGINS_BAD_CONF_OPTS += --enable-real
400 GST1_PLUGINS_BAD_CONF_OPTS += --disable-real
403 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REMOVESILENCE),y)
404 GST1_PLUGINS_BAD_CONF_OPTS += --enable-removesilence
406 GST1_PLUGINS_BAD_CONF_OPTS += --disable-removesilence
409 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDI),y)
410 GST1_PLUGINS_BAD_CONF_OPTS += --enable-sdi
412 GST1_PLUGINS_BAD_CONF_OPTS += --disable-sdi
415 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDP),y)
416 GST1_PLUGINS_BAD_CONF_OPTS += --enable-sdp
418 GST1_PLUGINS_BAD_CONF_OPTS += --disable-sdp
421 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SEGMENTCLIP),y)
422 GST1_PLUGINS_BAD_CONF_OPTS += --enable-segmentclip
424 GST1_PLUGINS_BAD_CONF_OPTS += --disable-segmentclip
427 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SIREN),y)
428 GST1_PLUGINS_BAD_CONF_OPTS += --enable-siren
430 GST1_PLUGINS_BAD_CONF_OPTS += --disable-siren
433 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SMOOTH),y)
434 GST1_PLUGINS_BAD_CONF_OPTS += --enable-smooth
436 GST1_PLUGINS_BAD_CONF_OPTS += --disable-smooth
439 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SPEED),y)
440 GST1_PLUGINS_BAD_CONF_OPTS += --enable-speed
442 GST1_PLUGINS_BAD_CONF_OPTS += --disable-speed
445 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SUBENC),y)
446 GST1_PLUGINS_BAD_CONF_OPTS += --enable-subenc
448 GST1_PLUGINS_BAD_CONF_OPTS += --disable-subenc
451 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_STEREO),y)
452 GST1_PLUGINS_BAD_CONF_OPTS += --enable-stereo
454 GST1_PLUGINS_BAD_CONF_OPTS += --disable-stereo
457 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTA),y)
458 GST1_PLUGINS_BAD_CONF_OPTS += --enable-tta
460 GST1_PLUGINS_BAD_CONF_OPTS += --disable-tta
463 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFILTERS),y)
464 GST1_PLUGINS_BAD_CONF_OPTS += --enable-videofilters
466 GST1_PLUGINS_BAD_CONF_OPTS += --disable-videofilters
469 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOMEASURE),y)
470 GST1_PLUGINS_BAD_CONF_OPTS += --enable-videomeasure
472 GST1_PLUGINS_BAD_CONF_OPTS += --disable-videomeasure
475 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS),y)
476 GST1_PLUGINS_BAD_CONF_OPTS += --enable-videoparsers
478 GST1_PLUGINS_BAD_CONF_OPTS += --disable-videoparsers
481 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOSIGNAL),y)
482 GST1_PLUGINS_BAD_CONF_OPTS += --enable-videosignal
484 GST1_PLUGINS_BAD_CONF_OPTS += --disable-videosignal
487 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VMNC),y)
488 GST1_PLUGINS_BAD_CONF_OPTS += --enable-vmnc
490 GST1_PLUGINS_BAD_CONF_OPTS += --disable-vmnc
493 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_Y4M),y)
494 GST1_PLUGINS_BAD_CONF_OPTS += --enable-y4m
496 GST1_PLUGINS_BAD_CONF_OPTS += --disable-y4m
499 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_YADIF),y)
500 GST1_PLUGINS_BAD_CONF_OPTS += --enable-yadif
502 GST1_PLUGINS_BAD_CONF_OPTS += --disable-yadif
505 # Plugins with dependencies
507 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SHM),y)
508 GST1_PLUGINS_BAD_CONF_OPTS += --enable-shm
510 GST1_PLUGINS_BAD_CONF_OPTS += --disable-shm
513 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VCD),y)
514 GST1_PLUGINS_BAD_CONF_OPTS += --enable-vcd
516 GST1_PLUGINS_BAD_CONF_OPTS += --disable-vcd
519 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_APEXSINK),y)
520 GST1_PLUGINS_BAD_CONF_OPTS += --enable-apexsink
521 GST1_PLUGINS_BAD_DEPENDENCIES += openssl
523 GST1_PLUGINS_BAD_CONF_OPTS += --disable-apexsink
526 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER),y)
527 GST1_PLUGINS_BAD_CONF_OPTS += --enable-assrender
528 GST1_PLUGINS_BAD_DEPENDENCIES += libass
530 GST1_PLUGINS_BAD_CONF_OPTS += --disable-assrender
533 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC),y)
534 GST1_PLUGINS_BAD_CONF_OPTS += --enable-voaacenc
535 GST1_PLUGINS_BAD_DEPENDENCIES += vo-aacenc
537 GST1_PLUGINS_BAD_CONF_OPTS += --disable-voaacenc
540 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2),y)
541 GST1_PLUGINS_BAD_CONF_OPTS += --enable-bz2
542 GST1_PLUGINS_BAD_DEPENDENCIES += bzip2
544 GST1_PLUGINS_BAD_CONF_OPTS += --disable-bz2
547 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CDAUDIO),y)
548 GST1_PLUGINS_BAD_CONF_OPTS += --enable-cdaudio
549 GST1_PLUGINS_BAD_DEPENDENCIES += libcdaudio
551 GST1_PLUGINS_BAD_CONF_OPTS += --disable-cdaudio
554 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CURL),y)
555 GST1_PLUGINS_BAD_CONF_OPTS += --enable-curl
556 GST1_PLUGINS_BAD_DEPENDENCIES += libcurl
558 GST1_PLUGINS_BAD_CONF_OPTS += --disable-curl
561 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DASH),y)
562 GST1_PLUGINS_BAD_CONF_OPTS += --enable-dash
563 GST1_PLUGINS_BAD_DEPENDENCIES += libxml2
565 GST1_PLUGINS_BAD_CONF_OPTS += --disable-dash
568 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DECKLINK),y)
569 GST1_PLUGINS_BAD_CONF_OPTS += --enable-decklink
571 GST1_PLUGINS_BAD_CONF_OPTS += --disable-decklink
574 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP),y)
575 GST1_PLUGINS_BAD_CONF_OPTS += --enable-webp
576 GST1_PLUGINS_BAD_DEPENDENCIES += webp
578 GST1_PLUGINS_BAD_CONF_OPTS += --disable-webp
581 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB),y)
582 GST1_PLUGINS_BAD_CONF_OPTS += --enable-directfb
583 GST1_PLUGINS_BAD_DEPENDENCIES += directfb
585 GST1_PLUGINS_BAD_CONF_OPTS += --disable-directfb
588 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND),y)
589 GST1_PLUGINS_BAD_CONF_OPTS += --enable-wayland
590 GST1_PLUGINS_BAD_DEPENDENCIES += wayland
592 GST1_PLUGINS_BAD_CONF_OPTS += --disable-wayland
595 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FAAD),y)
596 GST1_PLUGINS_BAD_CONF_OPTS += --enable-faad
597 GST1_PLUGINS_BAD_DEPENDENCIES += faad2
598 GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y
600 GST1_PLUGINS_BAD_CONF_OPTS += --disable-faad
603 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV),y)
604 GST1_PLUGINS_BAD_CONF_OPTS += --enable-fbdev
606 GST1_PLUGINS_BAD_CONF_OPTS += --disable-fbdev
609 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS),y)
610 GST1_PLUGINS_BAD_CONF_OPTS += --enable-libmms
611 GST1_PLUGINS_BAD_DEPENDENCIES += libmms
613 GST1_PLUGINS_BAD_CONF_OPTS += --disable-libmms
616 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEG2ENC),y)
617 GST1_PLUGINS_BAD_CONF_OPTS += --enable-mpeg2enc
618 GST1_PLUGINS_BAD_DEPENDENCIES += libmpeg2
619 GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y
621 GST1_PLUGINS_BAD_CONF_OPTS += --disable-mpeg2enc
624 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPG123),y)
625 GST1_PLUGINS_BAD_CONF_OPTS += --enable-mpg123
626 GST1_PLUGINS_BAD_DEPENDENCIES += mpg123
628 GST1_PLUGINS_BAD_CONF_OPTS += --disable-mpg123
631 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MUSEPACK),y)
632 GST1_PLUGINS_BAD_CONF_OPTS += --enable-musepack
633 GST1_PLUGINS_BAD_DEPENDENCIES += musepack
635 GST1_PLUGINS_BAD_CONF_OPTS += --disable-musepack
638 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON),y)
639 GST1_PLUGINS_BAD_CONF_OPTS += --enable-neon
640 GST1_PLUGINS_BAD_DEPENDENCIES += neon
642 GST1_PLUGINS_BAD_CONF_OPTS += --disable-neon
645 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV),y)
646 GST1_PLUGINS_BAD_CONF_OPTS += --enable-opencv
647 GST1_PLUGINS_BAD_DEPENDENCIES += opencv
649 GST1_PLUGINS_BAD_CONF_OPTS += --disable-opencv
652 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS),y)
653 GST1_PLUGINS_BAD_CONF_OPTS += --enable-opus
654 GST1_PLUGINS_BAD_DEPENDENCIES += opus
656 GST1_PLUGINS_BAD_CONF_OPTS += --disable-opus
659 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG),y)
660 GST1_PLUGINS_BAD_CONF_OPTS += --enable-rsvg
661 GST1_PLUGINS_BAD_DEPENDENCIES += librsvg
663 GST1_PLUGINS_BAD_CONF_OPTS += --disable-rsvg
666 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_EGLGLES),y)
667 GST1_PLUGINS_BAD_CONF_OPTS += --enable-eglgles
668 GST1_PLUGINS_BAD_DEPENDENCIES += libegl libgles
670 ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
671 # RPI has odd locations for several required headers.
672 GST1_PLUGINS_BAD_CONF_OPTS += --with-egl-window-system=rpi
673 GST1_PLUGINS_BAD_CONF_ENV += \
674 CFLAGS="$(TARGET_CFLAGS) \
675 -I$(STAGING_DIR)/usr/include/IL \
676 -I$(STAGING_DIR)/usr/include/interface/vcos/pthreads \
677 -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux"
680 GST1_PLUGINS_BAD_CONF_OPTS += --disable-eglgles
683 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDL),y)
684 GST1_PLUGINS_BAD_CONF_ENV += ac_cv_path_SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
685 GST1_PLUGINS_BAD_CONF_OPTS += --enable-sdl
686 GST1_PLUGINS_BAD_DEPENDENCIES += sdl
688 GST1_PLUGINS_BAD_CONF_OPTS += --disable-sdl
691 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SNDFILE),y)
692 GST1_PLUGINS_BAD_CONF_OPTS += --enable-sndfile
693 GST1_PLUGINS_BAD_DEPENDENCIES += libsndfile
695 GST1_PLUGINS_BAD_CONF_OPTS += --disable-sndfile
698 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB),y)
699 GST1_PLUGINS_BAD_CONF_OPTS += --enable-dvb
700 GST1_PLUGINS_BAD_DEPENDENCIES += dtv-scan-tables
702 GST1_PLUGINS_BAD_CONF_OPTS += --disable-dvb
705 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HLS),y)
706 GST1_PLUGINS_BAD_CONF_OPTS += --enable-hls
707 GST1_PLUGINS_BAD_DEPENDENCIES += gnutls
709 GST1_PLUGINS_BAD_CONF_OPTS += --disable-hls
712 # Add GPL license if GPL licensed plugins enabled.
713 ifeq ($(GST1_PLUGINS_BAD_HAS_GPL_LICENSE),y)
714 GST1_PLUGINS_BAD_LICENSE += GPL
717 # Add Unknown license if Unknown licensed plugins enabled.
718 ifeq ($(GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE),y)
719 GST1_PLUGINS_BAD_LICENSE += UNKNOWN
722 # Use the following command to extract license info for plugins.
723 # # find . -name 'plugin-*.xml' | xargs grep license
725 $(eval $(autotools-package))