fontconfig: needs host-gperf
[buildroot-gz.git] / package / gstreamer1 / gst1-plugins-good / gst1-plugins-good.mk
blobe25149a846ddabdb7b769c1a692a35c5583ce47e
1 ################################################################################
3 # gst1-plugins-good
5 ################################################################################
7 GST1_PLUGINS_GOOD_VERSION = 1.10.4
8 GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz
9 GST1_PLUGINS_GOOD_SITE = https://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 = \
14 --disable-valgrind \
15 --disable-examples \
16 --disable-directsound \
17 --disable-waveform \
18 --disable-sunaudio \
19 --disable-osx_audio \
20 --disable-osx_video \
21 --disable-aalib \
22 --disable-aalibtest \
23 --disable-libcaca \
24 --disable-esd \
25 --disable-esdtest
28 # Options which require currently unpackaged libraries
29 GST1_PLUGINS_GOOD_CONF_OPTS += \
30 --disable-jack \
31 --disable-libdv \
32 --disable-dv1394 \
33 --disable-shout2
35 GST1_PLUGINS_GOOD_DEPENDENCIES = gstreamer1 gst1-plugins-base
37 ifeq ($(BR2_PACKAGE_LIBV4L),y)
38 GST1_PLUGINS_GOOD_CONF_OPTS += --with-libv4l2
39 GST1_PLUGINS_GOOD_DEPENDENCIES += libv4l
40 else
41 GST1_PLUGINS_GOOD_CONF_OPTS += --without-libv4l2
42 endif
44 ifeq ($(BR2_PACKAGE_ORC),y)
45 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-orc
46 GST1_PLUGINS_GOOD_DEPENDENCIES += orc
47 endif
49 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ALPHA),y)
50 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-alpha
51 else
52 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-alpha
53 endif
55 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_APETAG),y)
56 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-apetag
57 else
58 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-apetag
59 endif
61 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOFX),y)
62 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-audiofx
63 else
64 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-audiofx
65 endif
67 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS),y)
68 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-audioparsers
69 else
70 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-audioparsers
71 endif
73 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUPARSE),y)
74 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-auparse
75 else
76 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-auparse
77 endif
79 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT),y)
80 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-autodetect
81 else
82 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-autodetect
83 endif
85 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AVI),y)
86 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-avi
87 else
88 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-avi
89 endif
91 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CUTTER),y)
92 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-cutter
93 else
94 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-cutter
95 endif
97 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEBUGUTILS),y)
98 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-debugutils
99 else
100 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-debugutils
101 endif
103 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEINTERLACE),y)
104 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-deinterlace
105 else
106 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-deinterlace
107 endif
109 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DTMF),y)
110 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-dtmf
111 else
112 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-dtmf
113 endif
115 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EFFECTV),y)
116 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-effectv
117 else
118 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-effectv
119 endif
121 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EQUALIZER),y)
122 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-equalizer
123 else
124 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-equalizer
125 endif
127 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLV),y)
128 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-flv
129 else
130 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-flv
131 endif
133 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLX),y)
134 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-flx
135 else
136 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-flx
137 endif
139 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM),y)
140 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-goom
141 else
142 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-goom
143 endif
145 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM2K1),y)
146 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-goom2k1
147 else
148 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-goom2k1
149 endif
151 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ICYDEMUX),y)
152 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-icydemux
153 else
154 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-icydemux
155 endif
157 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ID3DEMUX),y)
158 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-id3demux
159 else
160 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-id3demux
161 endif
163 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE),y)
164 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-imagefreeze
165 else
166 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-imagefreeze
167 endif
169 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_INTERLEAVE),y)
170 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-interleave
171 else
172 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-interleave
173 endif
175 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4),y)
176 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-isomp4
177 else
178 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-isomp4
179 endif
181 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAW),y)
182 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-law
183 else
184 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-law
185 endif
187 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LEVEL),y)
188 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-level
189 else
190 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-level
191 endif
193 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA),y)
194 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-matroska
195 else
196 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-matroska
197 endif
199 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MONOSCOPE),y)
200 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-monoscope
201 else
202 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-monoscope
203 endif
205 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIFILE),y)
206 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-multifile
207 else
208 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-multifile
209 endif
211 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIPART),y)
212 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-multipart
213 else
214 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-multipart
215 endif
217 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_REPLAYGAIN),y)
218 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-replaygain
219 else
220 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-replaygain
221 endif
223 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTP),y)
224 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-rtp
225 else
226 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-rtp
227 endif
229 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTPMANAGER),y)
230 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-rtpmanager
231 else
232 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-rtpmanager
233 endif
235 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP),y)
236 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-rtsp
237 else
238 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-rtsp
239 endif
241 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHAPEWIPE),y)
242 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-shapewipe
243 else
244 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-shapewipe
245 endif
247 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SMPTE),y)
248 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-smpte
249 else
250 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-smpte
251 endif
253 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPECTRUM),y)
254 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-spectrum
255 else
256 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-spectrum
257 endif
259 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_UDP),y)
260 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-udp
261 else
262 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-udp
263 endif
265 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOBOX),y)
266 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-videobox
267 else
268 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-videobox
269 endif
271 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOCROP),y)
272 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-videocrop
273 else
274 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-videocrop
275 endif
277 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOFILTER),y)
278 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-videofilter
279 else
280 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-videofilter
281 endif
283 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOMIXER),y)
284 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-videomixer
285 else
286 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-videomixer
287 endif
289 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVENC),y)
290 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-wavenc
291 else
292 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-wavenc
293 endif
295 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPARSE),y)
296 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-wavparse
297 else
298 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-wavparse
299 endif
301 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_Y4M),y)
302 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-y4m
303 else
304 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-y4m
305 endif
307 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS),y)
308 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-oss
309 else
310 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-oss
311 endif
313 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS4),y)
314 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-oss4
315 else
316 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-oss4
317 endif
319 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2),y)
320 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-gst_v4l2
321 else
322 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-gst_v4l2
323 endif
325 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2_PROBE),y)
326 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-v4l2-probe
327 else
328 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-v4l2-probe
329 endif
331 ifeq ($(BR2_PACKAGE_XORG7),y)
332 GST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
333 GST1_PLUGINS_GOOD_CONF_OPTS += \
334 --enable-x \
335 $(if $(BR2_PACKAGE_XLIB_LIBXFIXES),xlib_libXfixes) \
336 $(if $(BR2_PACKAGE_XLIB_LIBXDAMAGE),xlib_libXdamage)
337 else
338 GST1_PLUGINS_GOOD_CONF_OPTS += \
339 --disable-x
340 endif
342 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CAIRO),y)
343 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-cairo
344 GST1_PLUGINS_GOOD_DEPENDENCIES += cairo
345 else
346 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-cairo
347 endif
349 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLAC),y)
350 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-flac
351 GST1_PLUGINS_GOOD_DEPENDENCIES += flac
352 else
353 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-flac
354 endif
356 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GDKPIXBUF),y)
357 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-gdk_pixbuf
358 GST1_PLUGINS_GOOD_DEPENDENCIES += gdk-pixbuf
359 else
360 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-gdk_pixbuf
361 endif
363 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_JPEG),y)
364 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-jpeg
365 GST1_PLUGINS_GOOD_DEPENDENCIES += jpeg
366 else
367 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-jpeg
368 endif
370 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PNG),y)
371 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-libpng
372 GST1_PLUGINS_GOOD_DEPENDENCIES += libpng
373 else
374 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-libpng
375 endif
377 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE),y)
378 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-pulse
379 GST1_PLUGINS_GOOD_DEPENDENCIES += pulseaudio
380 else
381 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-pulse
382 endif
384 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC),y)
385 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-soup
386 GST1_PLUGINS_GOOD_DEPENDENCIES += libsoup
387 else
388 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-soup
389 endif
391 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPEEX),y)
392 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-speex
393 GST1_PLUGINS_GOOD_DEPENDENCIES += speex
394 else
395 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-speex
396 endif
398 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TAGLIB),y)
399 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-taglib
400 GST1_PLUGINS_GOOD_DEPENDENCIES += taglib
401 else
402 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-taglib
403 endif
405 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX),y)
406 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-vpx
407 GST1_PLUGINS_GOOD_DEPENDENCIES += libvpx
408 else
409 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-vpx
410 endif
412 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPACK),y)
413 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-wavpack
414 GST1_PLUGINS_GOOD_DEPENDENCIES += wavpack
415 else
416 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-wavpack
417 endif
419 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_ZLIB),y)
420 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-zlib
421 GST1_PLUGINS_GOOD_DEPENDENCIES += zlib
422 else
423 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-zlib
424 endif
426 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_BZ2),y)
427 GST1_PLUGINS_GOOD_CONF_OPTS += --enable-bz2
428 GST1_PLUGINS_GOOD_DEPENDENCIES += bzip2
429 else
430 GST1_PLUGINS_GOOD_CONF_OPTS += --disable-bz2
431 endif
433 $(eval $(autotools-package))