1 ################################################################################
5 ################################################################################
7 GST1_PLUGINS_BAD_VERSION
= 1.10.3
8 GST1_PLUGINS_BAD_SOURCE
= gst-plugins-bad-
$(GST1_PLUGINS_BAD_VERSION
).
tar.xz
9 GST1_PLUGINS_BAD_SITE
= https
://gstreamer.freedesktop.org
/src
/gst-plugins-bad
10 GST1_PLUGINS_BAD_INSTALL_STAGING
= YES
11 GST1_PLUGINS_BAD_LICENSE_FILES
= COPYING COPYING.LIB
12 # Unknown and GPL licensed plugins will append to GST1_PLUGINS_BAD_LICENSE if
14 GST1_PLUGINS_BAD_LICENSE
= LGPLv2
+ LGPLv2.1
+
16 GST1_PLUGINS_BAD_CONF_OPTS
= \
19 --disable-directsound \
22 --disable-android_media \
23 --disable-apple_media \
28 # Options which require currently unpackaged libraries
29 GST1_PLUGINS_BAD_CONF_OPTS
+= \
33 --disable-voamrwbenc \
35 --disable-chromaprint \
42 --disable-fluidsynth \
58 --disable-teletextdec \
60 --disable-smoothstreaming \
61 --disable-soundtouch \
73 GST1_PLUGINS_BAD_DEPENDENCIES
= gst1-plugins-base gstreamer1
75 ifeq ($(BR2_PACKAGE_RPI_USERLAND
),y
)
76 # RPI has odd locations for several required headers.
77 GST1_PLUGINS_BAD_CONF_ENV
+= \
78 CPPFLAGS
="$(TARGET_CPPFLAGS) \
79 -I$(STAGING_DIR)/usr/include/IL \
80 -I$(STAGING_DIR)/usr/include/interface/vcos/pthreads \
81 -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux"
84 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_OPENGL
),y
)
85 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-opengl
86 GST1_PLUGINS_BAD_DEPENDENCIES
+= libgl libglu
88 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-opengl
91 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_GLES2
),y
)
92 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-gles2
93 GST1_PLUGINS_BAD_DEPENDENCIES
+= libgles
95 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-gles2
98 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_GLX
),y
)
99 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-glx
100 GST1_PLUGINS_BAD_DEPENDENCIES
+= xproto_glproto xlib_libXrender
102 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-glx
105 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_EGL
),y
)
106 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-egl
107 GST1_PLUGINS_BAD_DEPENDENCIES
+= libegl
108 GST1_PLUGINS_BAD_CONF_ENV
+= \
109 CPPFLAGS
="$(TARGET_CPPFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags egl`" \
110 LIBS
="`$(PKG_CONFIG_HOST_BINARY) --libs egl`"
112 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-egl
115 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_X11
),y
)
116 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-x11
117 GST1_PLUGINS_BAD_DEPENDENCIES
+= xlib_libX11 xlib_libXext
119 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-x11
122 ifneq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_WAYLAND
)$(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND
),)
123 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-wayland
124 GST1_PLUGINS_BAD_DEPENDENCIES
+= wayland
126 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-wayland
129 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_DISPMANX
),y
)
130 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-dispmanx
131 GST1_PLUGINS_BAD_DEPENDENCIES
+= rpi-userland
133 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-dispmanx
136 ifeq ($(BR2_PACKAGE_ORC
),y
)
137 GST1_PLUGINS_BAD_DEPENDENCIES
+= orc
138 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-orc
141 ifeq ($(BR2_PACKAGE_BLUEZ_UTILS
),y
)
142 GST1_PLUGINS_BAD_DEPENDENCIES
+= bluez_utils
143 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-bluez
145 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-bluez
148 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ACCURIP
),y
)
149 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-accurip
151 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-accurip
154 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMDEC
),y
)
155 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-adpcmdec
157 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-adpcmdec
160 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMENC
),y
)
161 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-adpcmenc
163 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-adpcmenc
166 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AIFF
),y
)
167 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-aiff
169 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-aiff
172 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASFMUX
),y
)
173 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-asfmux
175 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-asfmux
178 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOFXBAD
),y
)
179 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-audiofxbad
181 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-audiofxbad
184 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXER
),y
)
185 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-audiomixer
187 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-audiomixer
190 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COMPOSITOR
),y
)
191 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-compositor
193 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-compositor
196 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOVISUALIZERS
),y
)
197 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-audiovisualizers
198 GST1_PLUGINS_BAD_HAS_GPL_LICENSE
= y
200 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-audiovisualizers
203 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUTOCONVERT
),y
)
204 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-autoconvert
206 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-autoconvert
209 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BAYER
),y
)
210 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-bayer
212 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-bayer
215 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CAMERABIN2
),y
)
216 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-camerabin2
218 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-camerabin2
221 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CDXAPARSE
),y
)
222 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-cdxaparse
224 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-cdxaparse
227 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COLOREFFECTS
),y
)
228 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-coloreffects
230 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-coloreffects
233 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DATAURISRC
),y
)
234 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-dataurisrc
236 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-dataurisrc
239 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DCCP
),y
)
240 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-dccp
242 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-dccp
245 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS
),y
)
246 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-debugutils
248 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-debugutils
251 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DTLS
),y
)
252 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-dtls
253 GST1_PLUGINS_BAD_DEPENDENCIES
+= openssl
255 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-dtls
258 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBOVERLAY
),y
)
259 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-dvbsuboverlay
261 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-dvbsuboverlay
264 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVDSPU
),y
)
265 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-dvdspu
267 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-dvdspu
270 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FACEOVERLAY
),y
)
271 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-faceoverlay
273 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-faceoverlay
276 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FESTIVAL
),y
)
277 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-festival
279 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-festival
282 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FIELDANALYSIS
),y
)
283 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-fieldanalysis
285 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-fieldanalysis
288 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREEVERB
),y
)
289 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-freeverb
291 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-freeverb
294 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREI0R
),y
)
295 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-frei0r
297 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-frei0r
300 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GAUDIEFFECTS
),y
)
301 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-gaudieffects
303 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-gaudieffects
306 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GEOMETRICTRANSFORM
),y
)
307 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-geometrictransform
309 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-geometrictransform
312 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GDP
),y
)
313 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-gdp
315 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-gdp
318 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HDVPARSE
),y
)
319 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-hdvparse
321 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-hdvparse
324 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ID3TAG
),y
)
325 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-id3tag
327 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-id3tag
330 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTER
),y
)
331 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-inter
333 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-inter
336 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTERLACE
),y
)
337 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-interlace
339 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-interlace
342 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVFPARSE
),y
)
343 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-ivfparse
345 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-ivfparse
348 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVTC
),y
)
349 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-ivtc
351 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-ivtc
354 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JP2KDECIMATOR
),y
)
355 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-jp2kdecimator
357 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-jp2kdecimator
360 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JPEGFORMAT
),y
)
361 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-jpegformat
363 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-jpegformat
366 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBRFB
),y
)
367 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-librfb
369 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-librfb
372 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MIDI
),y
)
373 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-midi
375 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-midi
378 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGDEMUX
),y
)
379 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-mpegdemux
381 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-mpegdemux
384 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX
),y
)
385 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-mpegtsdemux
386 GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE
= y
388 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-mpegtsdemux
391 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSMUX
),y
)
392 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-mpegtsmux
394 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-mpegtsmux
397 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGPSMUX
),y
)
398 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-mpegpsmux
399 GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE
= y
401 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-mpegpsmux
404 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MVE
),y
)
405 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-mve
407 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-mve
410 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MXF
),y
)
411 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-mxf
413 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-mxf
416 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_NETSIM
),y
)
417 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-netsim
419 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-netsim
422 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NUVDEMUX
),y
)
423 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-nuvdemux
425 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-nuvdemux
428 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ONVIF
),y
)
429 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-onvif
431 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-onvif
434 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PATCHDETECT
),y
)
435 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-patchdetect
437 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-patchdetect
440 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PCAPPARSE
),y
)
441 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-pcapparse
443 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-pcapparse
446 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PNM
),y
)
447 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-pnm
449 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-pnm
452 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RAWPARSE
),y
)
453 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-rawparse
455 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-rawparse
458 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REMOVESILENCE
),y
)
459 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-removesilence
461 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-removesilence
464 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP
),y
)
465 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-rtmp
466 GST1_PLUGINS_BAD_DEPENDENCIES
+= rtmpdump
468 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-rtmp
471 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDI
),y
)
472 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-sdi
474 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-sdi
477 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDP
),y
)
478 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-sdp
480 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-sdp
483 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SEGMENTCLIP
),y
)
484 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-segmentclip
486 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-segmentclip
489 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SIREN
),y
)
490 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-siren
492 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-siren
495 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SMOOTH
),y
)
496 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-smooth
498 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-smooth
501 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SPEED
),y
)
502 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-speed
504 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-speed
507 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SUBENC
),y
)
508 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-subenc
510 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-subenc
513 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_STEREO
),y
)
514 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-stereo
516 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-stereo
519 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TIMECODE
),y
)
520 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-timecode
522 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-timecode
525 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTA
),y
)
526 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-tta
528 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-tta
531 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFILTERS
),y
)
532 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-videofilters
534 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-videofilters
537 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFRAME_AUDIOLEVEL
),y
)
538 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-videoframe_audiolevel
540 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-videoframe_audiolevel
543 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOMEASURE
),y
)
544 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-videomeasure
546 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-videomeasure
549 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS
),y
)
550 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-videoparsers
552 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-videoparsers
555 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOSIGNAL
),y
)
556 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-videosignal
558 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-videosignal
561 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VMNC
),y
)
562 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-vmnc
564 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-vmnc
567 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_Y4M
),y
)
568 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-y4m
570 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-y4m
573 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_YADIF
),y
)
574 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-yadif
576 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-yadif
579 # Plugins with dependencies
581 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_APEXSINK
),y
)
582 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-apexsink
583 GST1_PLUGINS_BAD_DEPENDENCIES
+= openssl
585 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-apexsink
588 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER
),y
)
589 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-assrender
590 GST1_PLUGINS_BAD_DEPENDENCIES
+= libass
592 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-assrender
595 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2
),y
)
596 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-bz2
597 GST1_PLUGINS_BAD_DEPENDENCIES
+= bzip2
599 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-bz2
602 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CURL
),y
)
603 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-curl
604 GST1_PLUGINS_BAD_DEPENDENCIES
+= libcurl
606 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-curl
609 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DASH
),y
)
610 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-dash
611 GST1_PLUGINS_BAD_DEPENDENCIES
+= libxml2
613 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-dash
616 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DECKLINK
),y
)
617 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-decklink
619 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-decklink
622 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB
),y
)
623 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-directfb
624 GST1_PLUGINS_BAD_DEPENDENCIES
+= directfb
626 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-directfb
629 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB
),y
)
630 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-dvb
631 GST1_PLUGINS_BAD_DEPENDENCIES
+= dtv-scan-tables
633 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-dvb
636 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FAAD
),y
)
637 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-faad
638 GST1_PLUGINS_BAD_DEPENDENCIES
+= faad2
639 GST1_PLUGINS_BAD_HAS_GPL_LICENSE
= y
641 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-faad
644 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV
),y
)
645 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-fbdev
647 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-fbdev
650 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FDK_AAC
),y
)
651 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-fdk_aac
652 GST1_PLUGINS_BAD_DEPENDENCIES
+= fdk-aac
653 GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE
= y
655 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-fdk_aac
658 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GL
),y
)
659 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-gl
661 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-gl
664 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HLS
),y
)
665 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-hls
667 ifeq ($(BR2_PACKAGE_NETTLE
),y
)
668 GST1_PLUGINS_BAD_DEPENDENCIES
+= nettle
669 GST1_PLUGINS_BAD_CONF_OPTS
+= --with-hls-crypto
=nettle
670 else ifeq ($(BR2_PACKAGE_LIBGCRYPT
),y
)
671 GST1_PLUGINS_BAD_DEPENDENCIES
+= libgcrypt
672 GST1_PLUGINS_BAD_CONF_OPTS
+= --with-hls-crypto
=libgcrypt \
673 --with-libgcrypt-prefix
=$(STAGING_DIR
)/usr
675 GST1_PLUGINS_BAD_DEPENDENCIES
+= openssl
676 GST1_PLUGINS_BAD_CONF_OPTS
+= --with-hls-crypto
=openssl
680 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-hls
683 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS
),y
)
684 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-kms
685 GST1_PLUGINS_BAD_DEPENDENCIES
+= libdrm
687 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-kms
690 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS
),y
)
691 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-libmms
692 GST1_PLUGINS_BAD_DEPENDENCIES
+= libmms
694 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-libmms
697 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEG2ENC
),y
)
698 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-mpeg2enc
699 GST1_PLUGINS_BAD_DEPENDENCIES
+= libmpeg2
700 GST1_PLUGINS_BAD_HAS_GPL_LICENSE
= y
702 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-mpeg2enc
705 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MUSEPACK
),y
)
706 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-musepack
707 GST1_PLUGINS_BAD_DEPENDENCIES
+= musepack
709 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-musepack
712 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON
),y
)
713 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-neon
714 GST1_PLUGINS_BAD_DEPENDENCIES
+= neon
716 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-neon
719 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENAL
),y
)
720 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-openal
721 GST1_PLUGINS_BAD_DEPENDENCIES
+= openal
723 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-openal
726 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV
),y
)
727 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-opencv
728 GST1_PLUGINS_BAD_DEPENDENCIES
+= opencv
730 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-opencv
733 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENH264
),y
)
734 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-openh264
735 GST1_PLUGINS_BAD_DEPENDENCIES
+= libopenh264
737 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-openh264
740 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENJPEG
),y
)
741 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-openjpeg
742 GST1_PLUGINS_BAD_DEPENDENCIES
+= openjpeg
744 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-openjpeg
747 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS
),y
)
748 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-opus
749 GST1_PLUGINS_BAD_DEPENDENCIES
+= opus
751 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-opus
754 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG
),y
)
755 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-rsvg
756 GST1_PLUGINS_BAD_DEPENDENCIES
+= librsvg
758 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-rsvg
761 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SBC
),y
)
762 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-sbc
763 GST1_PLUGINS_BAD_DEPENDENCIES
+= sbc
765 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-sbc
768 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDL
),y
)
769 GST1_PLUGINS_BAD_CONF_ENV
+= ac_cv_path_SDL_CONFIG
=$(STAGING_DIR
)/usr
/bin
/sdl-config
770 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-sdl
771 GST1_PLUGINS_BAD_DEPENDENCIES
+= sdl
773 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-sdl
776 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SHM
),y
)
777 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-shm
779 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-shm
782 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SNDFILE
),y
)
783 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-sndfile
784 GST1_PLUGINS_BAD_DEPENDENCIES
+= libsndfile
786 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-sndfile
789 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SRTP
),y
)
790 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-srtp
791 GST1_PLUGINS_BAD_DEPENDENCIES
+= libsrtp
793 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-srtp
796 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VCD
),y
)
797 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-vcd
799 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-vcd
802 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC
),y
)
803 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-voaacenc
804 GST1_PLUGINS_BAD_DEPENDENCIES
+= vo-aacenc
806 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-voaacenc
809 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP
),y
)
810 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-webp
811 GST1_PLUGINS_BAD_DEPENDENCIES
+= webp
813 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-webp
816 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC
),y
)
817 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-webrtc
818 GST1_PLUGINS_BAD_DEPENDENCIES
+= webrtc-audio-processing
820 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-webrtc
823 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_X265
),y
)
824 GST1_PLUGINS_BAD_CONF_OPTS
+= --enable-x265
825 GST1_PLUGINS_BAD_DEPENDENCIES
+= x265
826 GST1_PLUGINS_BAD_HAS_GPL_LICENSE
= y
828 GST1_PLUGINS_BAD_CONF_OPTS
+= --disable-x265
831 # Add GPL license if GPL licensed plugins enabled.
832 ifeq ($(GST1_PLUGINS_BAD_HAS_GPL_LICENSE
),y
)
833 GST1_PLUGINS_BAD_LICENSE
+= GPL
836 # Add Unknown license if Unknown licensed plugins enabled.
837 ifeq ($(GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE
),y
)
838 GST1_PLUGINS_BAD_LICENSE
+= UNKNOWN
841 # Use the following command to extract license info for plugins.
842 # # find . -name 'plugin-*.xml' | xargs grep license
844 $(eval
$(autotools-package
))