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