python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / gstreamer / gst-plugins-good / gst-plugins-good.mk
bloba686caf604acf20af22f01e58da8f9f23e3c0aff
1 ################################################################################
3 # gst-plugins-good
5 ################################################################################
7 GST_PLUGINS_GOOD_VERSION = 0.10.31
8 GST_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST_PLUGINS_GOOD_VERSION).tar.xz
9 GST_PLUGINS_GOOD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-good
10 GST_PLUGINS_GOOD_LICENSE = LGPLv2.1+
11 GST_PLUGINS_GOOD_LICENSE_FILES = COPYING
13 GST_PLUGINS_GOOD_CONF_OPTS = \
14 --disable-examples \
15 --disable-directsound \
16 --disable-sunaudio \
17 --disable-osx_audio \
18 --disable-osx_video \
19 --disable-aalib \
20 --disable-aalibtest \
21 --disable-esd \
22 --disable-esdtest \
23 --disable-shout2
25 GST_PLUGINS_GOOD_DEPENDENCIES = gstreamer gst-plugins-base
27 ifeq ($(BR2_PACKAGE_XORG7),y)
28 GST_PLUGINS_GOOD_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
29 GST_PLUGINS_GOOD_CONF_OPTS += \
30 --enable-x \
31 --enable-xshm \
32 --enable-xvideo
33 else
34 GST_PLUGINS_GOOD_CONF_OPTS += \
35 --disable-x \
36 --disable-xshm \
37 --disable-xvideo
38 endif
40 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_JPEG),y)
41 GST_PLUGINS_GOOD_CONF_OPTS += --enable-jpeg
42 GST_PLUGINS_GOOD_DEPENDENCIES += jpeg
43 else
44 GST_PLUGINS_GOOD_CONF_OPTS += --disable-jpeg
45 endif
47 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PNG),y)
48 GST_PLUGINS_GOOD_CONF_OPTS += --enable-libpng
49 GST_PLUGINS_GOOD_DEPENDENCIES += libpng
50 else
51 GST_PLUGINS_GOOD_CONF_OPTS += --disable-libpng
52 endif
54 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_BZ2),y)
55 GST_PLUGINS_GOOD_CONF_OPTS += --enable-bz2
56 GST_PLUGINS_GOOD_DEPENDENCIES += bzip2
57 else
58 GST_PLUGINS_GOOD_CONF_OPTS += --disable-bz2
59 endif
61 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_ZLIB),y)
62 GST_PLUGINS_GOOD_CONF_OPTS += --enable-zlib
63 GST_PLUGINS_GOOD_DEPENDENCIES += zlib
64 else
65 GST_PLUGINS_GOOD_CONF_OPTS += --disable-zlib
66 endif
68 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ALPHA),y)
69 GST_PLUGINS_GOOD_CONF_OPTS += --enable-alpha
70 else
71 GST_PLUGINS_GOOD_CONF_OPTS += --disable-alpha
72 endif
74 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_APETAG),y)
75 GST_PLUGINS_GOOD_CONF_OPTS += --enable-apetag
76 else
77 GST_PLUGINS_GOOD_CONF_OPTS += --disable-apetag
78 endif
80 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUDIOFX),y)
81 GST_PLUGINS_GOOD_CONF_OPTS += --enable-audiofx
82 else
83 GST_PLUGINS_GOOD_CONF_OPTS += --disable-audiofx
84 endif
86 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS),y)
87 GST_PLUGINS_GOOD_CONF_OPTS += --enable-audioparsers
88 else
89 GST_PLUGINS_GOOD_CONF_OPTS += --disable-audioparsers
90 endif
92 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUPARSE),y)
93 GST_PLUGINS_GOOD_CONF_OPTS += --enable-auparse
94 else
95 GST_PLUGINS_GOOD_CONF_OPTS += --disable-auparse
96 endif
98 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUTODETECT),y)
99 GST_PLUGINS_GOOD_CONF_OPTS += --enable-autodetect
100 else
101 GST_PLUGINS_GOOD_CONF_OPTS += --disable-autodetect
102 endif
104 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AVI),y)
105 GST_PLUGINS_GOOD_CONF_OPTS += --enable-avi
106 else
107 GST_PLUGINS_GOOD_CONF_OPTS += --disable-avi
108 endif
110 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_CUTTER),y)
111 GST_PLUGINS_GOOD_CONF_OPTS += --enable-cutter
112 else
113 GST_PLUGINS_GOOD_CONF_OPTS += --disable-cutter
114 endif
116 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_DEBUGUTILS),y)
117 GST_PLUGINS_GOOD_CONF_OPTS += --enable-debugutils
118 else
119 GST_PLUGINS_GOOD_CONF_OPTS += --disable-debugutils
120 endif
122 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_DEINTERLACE),y)
123 GST_PLUGINS_GOOD_CONF_OPTS += --enable-deinterlace
124 else
125 GST_PLUGINS_GOOD_CONF_OPTS += --disable-deinterlace
126 endif
128 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_EFFECTV),y)
129 GST_PLUGINS_GOOD_CONF_OPTS += --enable-effectv
130 else
131 GST_PLUGINS_GOOD_CONF_OPTS += --disable-effectv
132 endif
134 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_EQUALIZER),y)
135 GST_PLUGINS_GOOD_CONF_OPTS += --enable-equalizer
136 else
137 GST_PLUGINS_GOOD_CONF_OPTS += --disable-equalizer
138 endif
140 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLV),y)
141 GST_PLUGINS_GOOD_CONF_OPTS += --enable-flv
142 else
143 GST_PLUGINS_GOOD_CONF_OPTS += --disable-flv
144 endif
146 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLX),y)
147 GST_PLUGINS_GOOD_CONF_OPTS += --enable-flx
148 else
149 GST_PLUGINS_GOOD_CONF_OPTS += --disable-flx
150 endif
152 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GOOM),y)
153 GST_PLUGINS_GOOD_CONF_OPTS += --enable-goom
154 else
155 GST_PLUGINS_GOOD_CONF_OPTS += --disable-goom
156 endif
158 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GOOM2K1),y)
159 GST_PLUGINS_GOOD_CONF_OPTS += --enable-goom2k1
160 else
161 GST_PLUGINS_GOOD_CONF_OPTS += --disable-goom2k1
162 endif
164 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ID3DEMUX),y)
165 GST_PLUGINS_GOOD_CONF_OPTS += --enable-id3demux
166 else
167 GST_PLUGINS_GOOD_CONF_OPTS += --disable-id3demux
168 endif
170 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ICYDEMUX),y)
171 GST_PLUGINS_GOOD_CONF_OPTS += --enable-icydemux
172 else
173 GST_PLUGINS_GOOD_CONF_OPTS += --disable-icydemux
174 endif
176 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE),y)
177 GST_PLUGINS_GOOD_CONF_OPTS += --enable-imagefreeze
178 else
179 GST_PLUGINS_GOOD_CONF_OPTS += --disable-imagefreeze
180 endif
182 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_INTERLEAVE),y)
183 GST_PLUGINS_GOOD_CONF_OPTS += --enable-interleave
184 else
185 GST_PLUGINS_GOOD_CONF_OPTS += --disable-interleave
186 endif
188 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ISOMP4),y)
189 GST_PLUGINS_GOOD_CONF_OPTS += --enable-isomp4
190 else
191 GST_PLUGINS_GOOD_CONF_OPTS += --disable-isomp4
192 endif
194 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_LAW),y)
195 GST_PLUGINS_GOOD_CONF_OPTS += --enable-law
196 else
197 GST_PLUGINS_GOOD_CONF_OPTS += --disable-law
198 endif
200 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_LEVEL),y)
201 GST_PLUGINS_GOOD_CONF_OPTS += --enable-level
202 else
203 GST_PLUGINS_GOOD_CONF_OPTS += --disable-level
204 endif
206 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA),y)
207 GST_PLUGINS_GOOD_CONF_OPTS += --enable-matroska
208 else
209 GST_PLUGINS_GOOD_CONF_OPTS += --disable-matroska
210 endif
212 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MONOSCOPE),y)
213 GST_PLUGINS_GOOD_CONF_OPTS += --enable-monoscope
214 else
215 GST_PLUGINS_GOOD_CONF_OPTS += --disable-monoscope
216 endif
218 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MULTIFILE),y)
219 GST_PLUGINS_GOOD_CONF_OPTS += --enable-multifile
220 else
221 GST_PLUGINS_GOOD_CONF_OPTS += --disable-multifile
222 endif
224 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MULTIPART),y)
225 GST_PLUGINS_GOOD_CONF_OPTS += --enable-multipart
226 else
227 GST_PLUGINS_GOOD_CONF_OPTS += --disable-multipart
228 endif
230 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_REPLAYGAIN),y)
231 GST_PLUGINS_GOOD_CONF_OPTS += --enable-replaygain
232 else
233 GST_PLUGINS_GOOD_CONF_OPTS += --disable-replaygain
234 endif
236 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTP),y)
237 GST_PLUGINS_GOOD_CONF_OPTS += --enable-rtp
238 else
239 GST_PLUGINS_GOOD_CONF_OPTS += --disable-rtp
240 endif
242 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTPMANAGER),y)
243 GST_PLUGINS_GOOD_CONF_OPTS += --enable-rtpmanager
244 else
245 GST_PLUGINS_GOOD_CONF_OPTS += --disable-rtpmanager
246 endif
248 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTSP),y)
249 GST_PLUGINS_GOOD_CONF_OPTS += --enable-rtsp
250 else
251 GST_PLUGINS_GOOD_CONF_OPTS += --disable-rtsp
252 endif
254 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SHAPEWIPE),y)
255 GST_PLUGINS_GOOD_CONF_OPTS += --enable-shapewipe
256 else
257 GST_PLUGINS_GOOD_CONF_OPTS += --disable-shapewipe
258 endif
260 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SMPTE),y)
261 GST_PLUGINS_GOOD_CONF_OPTS += --enable-smpte
262 else
263 GST_PLUGINS_GOOD_CONF_OPTS += --disable-smpte
264 endif
266 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPECTRUM),y)
267 GST_PLUGINS_GOOD_CONF_OPTS += --enable-spectrum
268 else
269 GST_PLUGINS_GOOD_CONF_OPTS += --disable-spectrum
270 endif
272 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_UDP),y)
273 GST_PLUGINS_GOOD_CONF_OPTS += --enable-udp
274 else
275 GST_PLUGINS_GOOD_CONF_OPTS += --disable-udp
276 endif
278 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOBOX),y)
279 GST_PLUGINS_GOOD_CONF_OPTS += --enable-videobox
280 else
281 GST_PLUGINS_GOOD_CONF_OPTS += --disable-videobox
282 endif
284 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOCROP),y)
285 GST_PLUGINS_GOOD_CONF_OPTS += --enable-videocrop
286 else
287 GST_PLUGINS_GOOD_CONF_OPTS += --disable-videocrop
288 endif
290 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOFILTER),y)
291 GST_PLUGINS_GOOD_CONF_OPTS += --enable-videofilter
292 else
293 GST_PLUGINS_GOOD_CONF_OPTS += --disable-videofilter
294 endif
296 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOMIXER),y)
297 GST_PLUGINS_GOOD_CONF_OPTS += --enable-videomixer
298 else
299 GST_PLUGINS_GOOD_CONF_OPTS += --disable-videomixer
300 endif
302 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVENC),y)
303 GST_PLUGINS_GOOD_CONF_OPTS += --enable-wavenc
304 else
305 GST_PLUGINS_GOOD_CONF_OPTS += --disable-wavenc
306 endif
308 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPARSE),y)
309 GST_PLUGINS_GOOD_CONF_OPTS += --enable-wavparse
310 else
311 GST_PLUGINS_GOOD_CONF_OPTS += --disable-wavparse
312 endif
314 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_Y4M),y)
315 GST_PLUGINS_GOOD_CONF_OPTS += --enable-y4m
316 else
317 GST_PLUGINS_GOOD_CONF_OPTS += --disable-y4m
318 endif
320 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_V4L2),y)
321 GST_PLUGINS_GOOD_CONF_OPTS += --enable-gst_v4l2
322 else
323 GST_PLUGINS_GOOD_CONF_OPTS += --disable-gst_v4l2
324 endif
326 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX),y)
327 GST_PLUGINS_GOOD_CONF_OPTS += --enable-annodex
328 GST_PLUGINS_GOOD_DEPENDENCIES += libxml2
329 else
330 GST_PLUGINS_GOOD_CONF_OPTS += --disable-annodex
331 endif
333 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_CAIRO),y)
334 GST_PLUGINS_GOOD_CONF_OPTS += --enable-cairo
335 GST_PLUGINS_GOOD_DEPENDENCIES += cairo
336 else
337 GST_PLUGINS_GOOD_CONF_OPTS += --disable-cairo
338 endif
340 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLAC),y)
341 GST_PLUGINS_GOOD_CONF_OPTS += --enable-flac
342 GST_PLUGINS_GOOD_DEPENDENCIES += flac
343 else
344 GST_PLUGINS_GOOD_CONF_OPTS += --disable-flac
345 endif
347 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GDKPIXBUF),y)
348 GST_PLUGINS_GOOD_CONF_OPTS += --enable-gdk_pixbuf
349 GST_PLUGINS_GOOD_DEPENDENCIES += gdk-pixbuf
350 else
351 GST_PLUGINS_GOOD_CONF_OPTS += --disable-gdk_pixbuf
352 endif
354 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS),y)
355 GST_PLUGINS_GOOD_CONF_OPTS += --enable-oss
356 else
357 GST_PLUGINS_GOOD_CONF_OPTS += --disable-oss
358 endif
360 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS4),y)
361 GST_PLUGINS_GOOD_CONF_OPTS += --enable-oss4
362 else
363 GST_PLUGINS_GOOD_CONF_OPTS += --disable-oss4
364 endif
366 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE),y)
367 GST_PLUGINS_GOOD_CONF_OPTS += --enable-pulse
368 GST_PLUGINS_GOOD_DEPENDENCIES += pulseaudio
369 else
370 GST_PLUGINS_GOOD_CONF_OPTS += --disable-pulse
371 endif
373 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC),y)
374 GST_PLUGINS_GOOD_CONF_OPTS += --enable-soup
375 GST_PLUGINS_GOOD_DEPENDENCIES += libsoup
376 else
377 GST_PLUGINS_GOOD_CONF_OPTS += --disable-soup
378 endif
380 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPEEX),y)
381 GST_PLUGINS_GOOD_CONF_OPTS += --enable-speex
382 GST_PLUGINS_GOOD_DEPENDENCIES += speex
383 else
384 GST_PLUGINS_GOOD_CONF_OPTS += --disable-speex
385 endif
387 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPACK),y)
388 GST_PLUGINS_GOOD_CONF_OPTS += --enable-wavpack
389 GST_PLUGINS_GOOD_DEPENDENCIES += wavpack
390 else
391 GST_PLUGINS_GOOD_CONF_OPTS += --disable-wavpack
392 endif
394 $(eval $(autotools-package))