]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
gst1-plugins-bad: bump version
[coffee/buildroot.git] / package / gstreamer1 / gst1-plugins-bad / gst1-plugins-bad.mk
1 ################################################################################
2 #
3 # gst1-plugins-bad
4 #
5 ################################################################################
6
7 GST1_PLUGINS_BAD_VERSION = 1.2.0
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
12 # enabled.
13 GST1_PLUGINS_BAD_LICENSE = LGPLv2+ LGPLv2.1+
14
15 GST1_PLUGINS_BAD_AUTORECONF = YES
16 GST1_PLUGINS_BAD_AUTORECONF_OPT = -I $(@D)/common/m4
17
18 GST1_PLUGINS_BAD_CONF_OPT = \
19         --disable-examples \
20         --disable-debug \
21         --disable-valgrind \
22         --disable-directsound \
23         --disable-wsapi \
24         --disable-direct3d \
25         --disable-directdraw \
26         --disable-direct3d9 \
27         --disable-directshow \
28         --disable-android_media \
29         --disable-apple_media \
30         --disable-osx_video \
31         --disable-sdltest \
32         --disable-wininet \
33         --disable-acm
34
35 # Options which require currently unpackaged libraries
36 GST1_PLUGINS_BAD_CONF_OPT += \
37         --disable-avc \
38         --disable-quicktime \
39         --disable-mfc \
40         --disable-opensles \
41         --disable-uvch264 \
42         --disable-assrender \
43         --disable-voamrwbenc \
44         --disable-voaacenc \
45         --disable-chromaprint \
46         --disable-dash \
47         --disable-dc1394 \
48         --disable-dts \
49         --disable-resindvd \
50         --disable-faac \
51         --disable-flite \
52         --disable-gsm \
53         --disable-fluidsynth \
54         --disable-kate \
55         --disable-ladspa \
56         --disable-lv2 \
57         --disable-strp \
58         --disable-linsys \
59         --disable-modplug \
60         --disable-mimic \
61         --disable-mplex \
62         --disable-mythtv \
63         --disable-nas \
64         --disable-ofa \
65         --disable-openal \
66         --disable-openjpeg \
67         --disable-pvr \
68         --disable-timidity \
69         --disable-teletextdec \
70         --disable-wildmidi \
71         --disable-smoothstreaming \
72         --disable-soundtouch \
73         --disable-spc \
74         --disable-gme \
75         --disable-xvid \
76         --disable-vdpau \
77         --disable-sbc \
78         --disable-schro \
79         --disable-zbar \
80         --disable-rtmp \
81         --disable-spandsp \
82         --disable-gsettings \
83         --disable-sndio \
84         --disable-hls
85
86 GST1_PLUGINS_BAD_DEPENDENCIES = gst1-plugins-base gstreamer1
87
88 ifeq ($(BR2_PACKAGE_ORC),y)
89 GST1_PLUGINS_BAD_DEPENDENCIES += orc
90 GST1_PLUGINS_BAD_CONF_OPT += --enable-orc
91 endif
92
93 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ACCURIP),y)
94 GST1_PLUGINS_BAD_CONF_OPT += --enable-accurip
95 else
96 GST1_PLUGINS_BAD_CONF_OPT += --disable-accurip
97 endif
98
99 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMDEC),y)
100 GST1_PLUGINS_BAD_CONF_OPT += --enable-adpcmdec
101 else
102 GST1_PLUGINS_BAD_CONF_OPT += --disable-adpcmdec
103 endif
104
105 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMENC),y)
106 GST1_PLUGINS_BAD_CONF_OPT += --enable-adpcmenc
107 else
108 GST1_PLUGINS_BAD_CONF_OPT += --disable-adpcmenc
109 endif
110
111 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AIFF),y)
112 GST1_PLUGINS_BAD_CONF_OPT += --enable-aiff
113 else
114 GST1_PLUGINS_BAD_CONF_OPT += --disable-aiff
115 endif
116
117 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASFMUX),y)
118 GST1_PLUGINS_BAD_CONF_OPT += --enable-asfmux
119 else
120 GST1_PLUGINS_BAD_CONF_OPT += --disable-asfmux
121 endif
122
123 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOFXBAD),y)
124 GST1_PLUGINS_BAD_CONF_OPT += --enable-audiofxbad
125 else
126 GST1_PLUGINS_BAD_CONF_OPT += --disable-audiofxbad
127 endif
128
129 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOVISUALIZERS),y)
130 GST1_PLUGINS_BAD_CONF_OPT += --enable-audiovisualizers
131 GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y
132 else
133 GST1_PLUGINS_BAD_CONF_OPT += --disable-audiovisualizers
134 endif
135
136 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUTOCONVERT),y)
137 GST1_PLUGINS_BAD_CONF_OPT += --enable-autoconvert
138 else
139 GST1_PLUGINS_BAD_CONF_OPT += --disable-autoconvert
140 endif
141
142 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BAYER),y)
143 GST1_PLUGINS_BAD_CONF_OPT += --enable-bayer
144 else
145 GST1_PLUGINS_BAD_CONF_OPT += --disable-bayer
146 endif
147
148 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CAMERABIN2),y)
149 GST1_PLUGINS_BAD_CONF_OPT += --enable-camerabin2
150 else
151 GST1_PLUGINS_BAD_CONF_OPT += --disable-camerabin2
152 endif
153
154 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CDXAPARSE),y)
155 GST1_PLUGINS_BAD_CONF_OPT += --enable-cdxaparse
156 else
157 GST1_PLUGINS_BAD_CONF_OPT += --disable-cdxaparse
158 endif
159
160 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COLOREFFECTS),y)
161 GST1_PLUGINS_BAD_CONF_OPT += --enable-coloreffects
162 else
163 GST1_PLUGINS_BAD_CONF_OPT += --disable-coloreffects
164 endif
165
166 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DATAURISRC),y)
167 GST1_PLUGINS_BAD_CONF_OPT += --enable-dataurisrc
168 else
169 GST1_PLUGINS_BAD_CONF_OPT += --disable-dataurisrc
170 endif
171
172 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DCCP),y)
173 GST1_PLUGINS_BAD_CONF_OPT += --enable-dccp
174 else
175 GST1_PLUGINS_BAD_CONF_OPT += --disable-dccp
176 endif
177
178 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS),y)
179 GST1_PLUGINS_BAD_CONF_OPT += --enable-debugutils
180 else
181 GST1_PLUGINS_BAD_CONF_OPT += --disable-debugutils
182 endif
183
184 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBOVERLAY),y)
185 GST1_PLUGINS_BAD_CONF_OPT += --enable-dvbsuboverlay
186 else
187 GST1_PLUGINS_BAD_CONF_OPT += --disable-dvbsuboverlay
188 endif
189
190 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVDSPU),y)
191 GST1_PLUGINS_BAD_CONF_OPT += --enable-dvdspu
192 else
193 GST1_PLUGINS_BAD_CONF_OPT += --disable-dvdspu
194 endif
195
196 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FACEOVERLAY),y)
197 GST1_PLUGINS_BAD_CONF_OPT += --enable-faceoverlay
198 else
199 GST1_PLUGINS_BAD_CONF_OPT += --disable-faceoverlay
200 endif
201
202 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FESTIVAL),y)
203 GST1_PLUGINS_BAD_CONF_OPT += --enable-festival
204 else
205 GST1_PLUGINS_BAD_CONF_OPT += --disable-festival
206 endif
207
208 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FIELDANALYSIS),y)
209 GST1_PLUGINS_BAD_CONF_OPT += --enable-fieldanalysis
210 else
211 GST1_PLUGINS_BAD_CONF_OPT += --disable-fieldanalysis
212 endif
213
214 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREEVERB),y)
215 GST1_PLUGINS_BAD_CONF_OPT += --enable-freeverb
216 else
217 GST1_PLUGINS_BAD_CONF_OPT += --disable-freeverb
218 endif
219
220 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREI0R),y)
221 GST1_PLUGINS_BAD_CONF_OPT += --enable-frei0r
222 else
223 GST1_PLUGINS_BAD_CONF_OPT += --disable-frei0r
224 endif
225
226 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GAUDIEFFECTS),y)
227 GST1_PLUGINS_BAD_CONF_OPT += --enable-gaudieffects
228 else
229 GST1_PLUGINS_BAD_CONF_OPT += --disable-gaudieffects
230 endif
231
232 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GEOMETRICTRANSFORM),y)
233 GST1_PLUGINS_BAD_CONF_OPT += --enable-geometrictransform
234 else
235 GST1_PLUGINS_BAD_CONF_OPT += --disable-geometrictransform
236 endif
237
238 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GDP),y)
239 GST1_PLUGINS_BAD_CONF_OPT += --enable-gdp
240 else
241 GST1_PLUGINS_BAD_CONF_OPT += --disable-gdp
242 endif
243
244 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HDVPARSE),y)
245 GST1_PLUGINS_BAD_CONF_OPT += --enable-hdvparse
246 else
247 GST1_PLUGINS_BAD_CONF_OPT += --disable-hdvparse
248 endif
249
250 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ID3TAG),y)
251 GST1_PLUGINS_BAD_CONF_OPT += --enable-id3tag
252 else
253 GST1_PLUGINS_BAD_CONF_OPT += --disable-id3tag
254 endif
255
256 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTER),y)
257 GST1_PLUGINS_BAD_CONF_OPT += --enable-inter
258 else
259 GST1_PLUGINS_BAD_CONF_OPT += --disable-inter
260 endif
261
262 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTERLACE),y)
263 GST1_PLUGINS_BAD_CONF_OPT += --enable-interlace
264 else
265 GST1_PLUGINS_BAD_CONF_OPT += --disable-interlace
266 endif
267
268 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVFPARSE),y)
269 GST1_PLUGINS_BAD_CONF_OPT += --enable-ivfparse
270 else
271 GST1_PLUGINS_BAD_CONF_OPT += --disable-ivfparse
272 endif
273
274 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVTC),y)
275 GST1_PLUGINS_BAD_CONF_OPT += --enable-ivtc
276 else
277 GST1_PLUGINS_BAD_CONF_OPT += --disable-ivtc
278 endif
279
280 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JP2KDECIMATOR),y)
281 GST1_PLUGINS_BAD_CONF_OPT += --enable-jp2kdecimator
282 else
283 GST1_PLUGINS_BAD_CONF_OPT += --disable-jp2kdecimator
284 endif
285
286 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JPEGFORMAT),y)
287 GST1_PLUGINS_BAD_CONF_OPT += --enable-jpegformat
288 else
289 GST1_PLUGINS_BAD_CONF_OPT += --disable-jpegformat
290 endif
291
292 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBRFB),y)
293 GST1_PLUGINS_BAD_CONF_OPT += --enable-librfb
294 else
295 GST1_PLUGINS_BAD_CONF_OPT += --disable-librfb
296 endif
297
298 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIVEADDER),y)
299 GST1_PLUGINS_BAD_CONF_OPT += --enable-liveadder
300 else
301 GST1_PLUGINS_BAD_CONF_OPT += --disable-liveadder
302 endif
303
304 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MIDI),y)
305 GST1_PLUGINS_BAD_CONF_OPT += --enable-midi
306 else
307 GST1_PLUGINS_BAD_CONF_OPT += --disable-midi
308 endif
309
310 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGDEMUX),y)
311 GST1_PLUGINS_BAD_CONF_OPT += --enable-mpegdemux
312 else
313 GST1_PLUGINS_BAD_CONF_OPT += --disable-mpegdemux
314 endif
315
316 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX),y)
317 GST1_PLUGINS_BAD_CONF_OPT += --enable-mpegtsdemux
318 GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE = y
319 else
320 GST1_PLUGINS_BAD_CONF_OPT += --disable-mpegtsdemux
321 endif
322
323 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSMUX),y)
324 GST1_PLUGINS_BAD_CONF_OPT += --enable-mpegtsmux
325 else
326 GST1_PLUGINS_BAD_CONF_OPT += --disable-mpegtsmux
327 endif
328
329 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGPSMUX),y)
330 GST1_PLUGINS_BAD_CONF_OPT += --enable-mpegpsmux
331 GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE = y
332 else
333 GST1_PLUGINS_BAD_CONF_OPT += --disable-mpegpsmux
334 endif
335
336 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MVE),y)
337 GST1_PLUGINS_BAD_CONF_OPT += --enable-mve
338 else
339 GST1_PLUGINS_BAD_CONF_OPT += --disable-mve
340 endif
341
342 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MXF),y)
343 GST1_PLUGINS_BAD_CONF_OPT += --enable-mxf
344 else
345 GST1_PLUGINS_BAD_CONF_OPT += --disable-mxf
346 endif
347
348 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NUVDEMUX),y)
349 GST1_PLUGINS_BAD_CONF_OPT += --enable-nuvdemux
350 else
351 GST1_PLUGINS_BAD_CONF_OPT += --disable-nuvdemux
352 endif
353
354 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PATCHDETECT),y)
355 GST1_PLUGINS_BAD_CONF_OPT += --enable-patchdetect
356 else
357 GST1_PLUGINS_BAD_CONF_OPT += --disable-patchdetect
358 endif
359
360 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PCAPPARSE),y)
361 GST1_PLUGINS_BAD_CONF_OPT += --enable-pcapparse
362 else
363 GST1_PLUGINS_BAD_CONF_OPT += --disable-pcapparse
364 endif
365
366 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PNM),y)
367 GST1_PLUGINS_BAD_CONF_OPT += --enable-pnm
368 else
369 GST1_PLUGINS_BAD_CONF_OPT += --disable-pnm
370 endif
371
372 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RAWPARSE),y)
373 GST1_PLUGINS_BAD_CONF_OPT += --enable-rawparse
374 else
375 GST1_PLUGINS_BAD_CONF_OPT += --disable-rawparse
376 endif
377
378 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REAL),y)
379 GST1_PLUGINS_BAD_CONF_OPT += --enable-real
380 else
381 GST1_PLUGINS_BAD_CONF_OPT += --disable-real
382 endif
383
384 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REMOVESILENCE),y)
385 GST1_PLUGINS_BAD_CONF_OPT += --enable-removesilence
386 else
387 GST1_PLUGINS_BAD_CONF_OPT += --disable-removesilence
388 endif
389
390 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDI),y)
391 GST1_PLUGINS_BAD_CONF_OPT += --enable-sdi
392 else
393 GST1_PLUGINS_BAD_CONF_OPT += --disable-sdi
394 endif
395
396 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDP),y)
397 GST1_PLUGINS_BAD_CONF_OPT += --enable-sdp
398 else
399 GST1_PLUGINS_BAD_CONF_OPT += --disable-sdp
400 endif
401
402 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SEGMENTCLIP),y)
403 GST1_PLUGINS_BAD_CONF_OPT += --enable-segmentclip
404 else
405 GST1_PLUGINS_BAD_CONF_OPT += --disable-segmentclip
406 endif
407
408 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SIREN),y)
409 GST1_PLUGINS_BAD_CONF_OPT += --enable-siren
410 else
411 GST1_PLUGINS_BAD_CONF_OPT += --disable-siren
412 endif
413
414 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SMOOTH),y)
415 GST1_PLUGINS_BAD_CONF_OPT += --enable-smooth
416 else
417 GST1_PLUGINS_BAD_CONF_OPT += --disable-smooth
418 endif
419
420 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SPEED),y)
421 GST1_PLUGINS_BAD_CONF_OPT += --enable-speed
422 else
423 GST1_PLUGINS_BAD_CONF_OPT += --disable-speed
424 endif
425
426 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SUBENC),y)
427 GST1_PLUGINS_BAD_CONF_OPT += --enable-subenc
428 else
429 GST1_PLUGINS_BAD_CONF_OPT += --disable-subenc
430 endif
431
432 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_STEREO),y)
433 GST1_PLUGINS_BAD_CONF_OPT += --enable-stereo
434 else
435 GST1_PLUGINS_BAD_CONF_OPT += --disable-stereo
436 endif
437
438 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTA),y)
439 GST1_PLUGINS_BAD_CONF_OPT += --enable-tta
440 else
441 GST1_PLUGINS_BAD_CONF_OPT += --disable-tta
442 endif
443
444 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFILTERS),y)
445 GST1_PLUGINS_BAD_CONF_OPT += --enable-videofilters
446 else
447 GST1_PLUGINS_BAD_CONF_OPT += --disable-videofilters
448 endif
449
450 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOMEASURE),y)
451 GST1_PLUGINS_BAD_CONF_OPT += --enable-videomeasure
452 else
453 GST1_PLUGINS_BAD_CONF_OPT += --disable-videomeasure
454 endif
455
456 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS),y)
457 GST1_PLUGINS_BAD_CONF_OPT += --enable-videoparsers
458 else
459 GST1_PLUGINS_BAD_CONF_OPT += --disable-videoparsers
460 endif
461
462 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOSIGNAL),y)
463 GST1_PLUGINS_BAD_CONF_OPT += --enable-videosignal
464 else
465 GST1_PLUGINS_BAD_CONF_OPT += --disable-videosignal
466 endif
467
468 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VMNC),y)
469 GST1_PLUGINS_BAD_CONF_OPT += --enable-vmnc
470 else
471 GST1_PLUGINS_BAD_CONF_OPT += --disable-vmnc
472 endif
473
474 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_Y4M),y)
475 GST1_PLUGINS_BAD_CONF_OPT += --enable-y4m
476 else
477 GST1_PLUGINS_BAD_CONF_OPT += --disable-y4m
478 endif
479
480 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_YADIF),y)
481 GST1_PLUGINS_BAD_CONF_OPT += --enable-yadif
482 else
483 GST1_PLUGINS_BAD_CONF_OPT += --disable-yadif
484 endif
485
486 # Plugins with dependencies
487
488 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SHM),y)
489 GST1_PLUGINS_BAD_CONF_OPT += --enable-shm
490 else
491 GST1_PLUGINS_BAD_CONF_OPT += --disable-shm
492 endif
493
494 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VCD),y)
495 GST1_PLUGINS_BAD_CONF_OPT += --enable-vcd
496 else
497 GST1_PLUGINS_BAD_CONF_OPT += --disable-vcd
498 endif
499
500 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_APEXSINK),y)
501 GST1_PLUGINS_BAD_CONF_OPT += --enable-apexsink
502 GST1_PLUGINS_BAD_DEPENDENCIES += openssl
503 else
504 GST1_PLUGINS_BAD_CONF_OPT += --disable-apexsink
505 endif
506
507 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2),y)
508 GST1_PLUGINS_BAD_CONF_OPT += --enable-bz2
509 GST1_PLUGINS_BAD_DEPENDENCIES += bzip2
510 else
511 GST1_PLUGINS_BAD_CONF_OPT += --disable-bz2
512 endif
513
514 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CDAUDIO),y)
515 GST1_PLUGINS_BAD_CONF_OPT += --enable-cdaudio
516 GST1_PLUGINS_BAD_DEPENDENCIES += libcdaudio
517 else
518 GST1_PLUGINS_BAD_CONF_OPT += --disable-cdaudio
519 endif
520
521 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CURL),y)
522 GST1_PLUGINS_BAD_CONF_OPT += --enable-curl
523 GST1_PLUGINS_BAD_DEPENDENCIES += libcurl
524 else
525 GST1_PLUGINS_BAD_CONF_OPT += --disable-curl
526 endif
527
528 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DASH),y)
529 GST1_PLUGINS_BAD_CONF_OPT += --enable-dash
530 GST1_PLUGINS_BAD_DEPENDENCIES += libxml2
531 else
532 GST1_PLUGINS_BAD_CONF_OPT += --disable-dash
533 endif
534
535 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DECKLINK),y)
536 GST1_PLUGINS_BAD_CONF_OPT += --enable-decklink
537 else
538 GST1_PLUGINS_BAD_CONF_OPT += --disable-decklink
539 endif
540
541 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP),y)
542 GST1_PLUGINS_BAD_CONF_OPT += --enable-webp
543 GST1_PLUGINS_BAD_DEPENDENCIES += webp
544 else
545 GST1_PLUGINS_BAD_CONF_OPT += --disable-webp
546 endif
547
548 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB),y)
549 GST1_PLUGINS_BAD_CONF_OPT += --enable-directfb
550 GST1_PLUGINS_BAD_DEPENDENCIES += directfb
551 else
552 GST1_PLUGINS_BAD_CONF_OPT += --disable-directfb
553 endif
554
555 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND),y)
556 GST1_PLUGINS_BAD_CONF_OPT += --enable-wayland
557 GST1_PLUGINS_BAD_DEPENDENCIES += wayland
558 else
559 GST1_PLUGINS_BAD_CONF_OPT += --disable-wayland
560 endif
561
562 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FAAD),y)
563 GST1_PLUGINS_BAD_CONF_OPT += --enable-faad
564 GST1_PLUGINS_BAD_DEPENDENCIES += faad2
565 GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y
566 else
567 GST1_PLUGINS_BAD_CONF_OPT += --disable-faad
568 endif
569
570 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV),y)
571 GST1_PLUGINS_BAD_CONF_OPT += --enable-fbdev
572 else
573 GST1_PLUGINS_BAD_CONF_OPT += --disable-fbdev
574 endif
575
576 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS),y)
577 GST1_PLUGINS_BAD_CONF_OPT += --enable-libmms
578 GST1_PLUGINS_BAD_DEPENDENCIES += libmms
579 else
580 GST1_PLUGINS_BAD_CONF_OPT += --disable-libmms
581 endif
582
583 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEG2ENC),y)
584 GST1_PLUGINS_BAD_CONF_OPT += --enable-mpeg2enc
585 GST1_PLUGINS_BAD_DEPENDENCIES += libmpeg2
586 GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y
587 else
588 GST1_PLUGINS_BAD_CONF_OPT += --disable-mpeg2enc
589 endif
590
591 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPG123),y)
592 GST1_PLUGINS_BAD_CONF_OPT += --enable-mpg123
593 GST1_PLUGINS_BAD_DEPENDENCIES += mpg123
594 else
595 GST1_PLUGINS_BAD_CONF_OPT += --disable-mpg123
596 endif
597
598 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MUSEPACK),y)
599 GST1_PLUGINS_BAD_CONF_OPT += --enable-musepack
600 GST1_PLUGINS_BAD_DEPENDENCIES += musepack
601 else
602 GST1_PLUGINS_BAD_CONF_OPT += --disable-musepack
603 endif
604
605 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON),y)
606 GST1_PLUGINS_BAD_CONF_OPT += --enable-neon
607 GST1_PLUGINS_BAD_DEPENDENCIES += neon
608 else
609 GST1_PLUGINS_BAD_CONF_OPT += --disable-neon
610 endif
611
612 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV),y)
613 GST1_PLUGINS_BAD_CONF_OPT += --enable-opencv
614 GST1_PLUGINS_BAD_DEPENDENCIES += opencv
615 else
616 GST1_PLUGINS_BAD_CONF_OPT += --disable-opencv
617 endif
618
619 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS),y)
620 GST1_PLUGINS_BAD_CONF_OPT += --enable-opus
621 GST1_PLUGINS_BAD_DEPENDENCIES += opus
622 else
623 GST1_PLUGINS_BAD_CONF_OPT += --disable-opus
624 endif
625
626 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG),y)
627 GST1_PLUGINS_BAD_CONF_OPT += --enable-rsvg
628 GST1_PLUGINS_BAD_DEPENDENCIES += librsvg
629 else
630 GST1_PLUGINS_BAD_CONF_OPT += --disable-rsvg
631 endif
632
633 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_EGLGLES),y)
634 GST1_PLUGINS_BAD_CONF_OPT += --enable-eglgles
635 GST1_PLUGINS_BAD_DEPENDENCIES += libegl libgles
636
637 ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
638 # RPI has odd locations for several required headers.
639 GST1_PLUGINS_BAD_CONF_OPT += --with-egl-window-system=rpi
640 GST1_PLUGINS_BAD_CONF_ENV += \
641         CFLAGS="$(TARGET_CFLAGS) \
642         -I$(STAGING_DIR)/usr/include/IL \
643         -I$(STAGING_DIR)/usr/include/interface/vcos/pthreads \
644         -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux"
645 endif
646 else
647 GST1_PLUGINS_BAD_CONF_OPT += --disable-eglgles
648 endif
649
650 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDL),y)
651 GST1_PLUGINS_BAD_CONF_ENV += ac_cv_path_SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
652 GST1_PLUGINS_BAD_CONF_OPT += --enable-sdl
653 GST1_PLUGINS_BAD_DEPENDENCIES += sdl
654 else
655 GST1_PLUGINS_BAD_CONF_OPT += --disable-sdl
656 endif
657
658 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SNDFILE),y)
659 GST1_PLUGINS_BAD_CONF_OPT += --enable-sndfile
660 GST1_PLUGINS_BAD_DEPENDENCIES += libsndfile
661 else
662 GST1_PLUGINS_BAD_CONF_OPT += --disable-sndfile
663 endif
664
665 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB),y)
666 GST1_PLUGINS_BAD_CONF_OPT += --enable-dvb
667 GST1_PLUGINS_BAD_DEPENDENCIES += dvb-apps
668 else
669 GST1_PLUGINS_BAD_CONF_OPT += --disable-dvb
670 endif
671
672 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HLS),y)
673 GST1_PLUGINS_BAD_CONF_OPT += --enable-hls
674 GST1_PLUGINS_BAD_DEPENDENCIES += gnutls
675 else
676 GST1_PLUGINS_BAD_CONF_OPT += --disable-hls
677 endif
678
679 # Add GPL license if GPL licensed plugins enabled.
680 ifeq ($(GST1_PLUGINS_BAD_HAS_GPL_LICENSE),y)
681 GST1_PLUGINS_BAD_LICENSE += GPL
682 endif
683
684 # Add Unknown license if Unknown licensed plugins enabled.
685 ifeq ($(GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE),y)
686 GST1_PLUGINS_BAD_LICENSE += UNKNOWN
687 endif
688
689 # Use the following command to extract license info for plugins.
690 # # find . -name 'plugin-*.xml' | xargs grep license
691
692 $(eval $(autotools-package))