1 ################################################################################
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
= \
15 --disable-directsound \
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
+= \
34 GST_PLUGINS_GOOD_CONF_OPTS
+= \
40 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_JPEG
),y
)
41 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-jpeg
42 GST_PLUGINS_GOOD_DEPENDENCIES
+= jpeg
44 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-jpeg
47 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PNG
),y
)
48 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-libpng
49 GST_PLUGINS_GOOD_DEPENDENCIES
+= libpng
51 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-libpng
54 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_BZ2
),y
)
55 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-bz2
56 GST_PLUGINS_GOOD_DEPENDENCIES
+= bzip2
58 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-bz2
61 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_ZLIB
),y
)
62 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-zlib
63 GST_PLUGINS_GOOD_DEPENDENCIES
+= zlib
65 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-zlib
68 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ALPHA
),y
)
69 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-alpha
71 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-alpha
74 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_APETAG
),y
)
75 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-apetag
77 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-apetag
80 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUDIOFX
),y
)
81 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-audiofx
83 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-audiofx
86 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS
),y
)
87 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-audioparsers
89 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-audioparsers
92 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUPARSE
),y
)
93 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-auparse
95 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-auparse
98 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AUTODETECT
),y
)
99 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-autodetect
101 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-autodetect
104 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_AVI
),y
)
105 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-avi
107 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-avi
110 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_CUTTER
),y
)
111 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-cutter
113 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-cutter
116 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_DEBUGUTILS
),y
)
117 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-debugutils
119 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-debugutils
122 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_DEINTERLACE
),y
)
123 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-deinterlace
125 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-deinterlace
128 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_EFFECTV
),y
)
129 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-effectv
131 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-effectv
134 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_EQUALIZER
),y
)
135 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-equalizer
137 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-equalizer
140 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLV
),y
)
141 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-flv
143 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-flv
146 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLX
),y
)
147 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-flx
149 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-flx
152 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GOOM
),y
)
153 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-goom
155 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-goom
158 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GOOM2K1
),y
)
159 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-goom2k1
161 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-goom2k1
164 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ID3DEMUX
),y
)
165 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-id3demux
167 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-id3demux
170 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ICYDEMUX
),y
)
171 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-icydemux
173 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-icydemux
176 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE
),y
)
177 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-imagefreeze
179 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-imagefreeze
182 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_INTERLEAVE
),y
)
183 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-interleave
185 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-interleave
188 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ISOMP4
),y
)
189 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-isomp4
191 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-isomp4
194 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_LAW
),y
)
195 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-law
197 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-law
200 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_LEVEL
),y
)
201 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-level
203 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-level
206 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA
),y
)
207 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-matroska
209 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-matroska
212 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MONOSCOPE
),y
)
213 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-monoscope
215 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-monoscope
218 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MULTIFILE
),y
)
219 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-multifile
221 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-multifile
224 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MULTIPART
),y
)
225 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-multipart
227 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-multipart
230 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_REPLAYGAIN
),y
)
231 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-replaygain
233 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-replaygain
236 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTP
),y
)
237 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-rtp
239 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-rtp
242 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTPMANAGER
),y
)
243 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-rtpmanager
245 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-rtpmanager
248 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_RTSP
),y
)
249 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-rtsp
251 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-rtsp
254 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SHAPEWIPE
),y
)
255 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-shapewipe
257 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-shapewipe
260 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SMPTE
),y
)
261 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-smpte
263 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-smpte
266 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPECTRUM
),y
)
267 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-spectrum
269 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-spectrum
272 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_UDP
),y
)
273 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-udp
275 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-udp
278 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOBOX
),y
)
279 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-videobox
281 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-videobox
284 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOCROP
),y
)
285 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-videocrop
287 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-videocrop
290 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOFILTER
),y
)
291 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-videofilter
293 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-videofilter
296 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOMIXER
),y
)
297 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-videomixer
299 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-videomixer
302 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVENC
),y
)
303 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-wavenc
305 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-wavenc
308 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPARSE
),y
)
309 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-wavparse
311 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-wavparse
314 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_Y4M
),y
)
315 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-y4m
317 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-y4m
320 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_V4L2
),y
)
321 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-gst_v4l2
323 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-gst_v4l2
326 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX
),y
)
327 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-annodex
328 GST_PLUGINS_GOOD_DEPENDENCIES
+= libxml2
330 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-annodex
333 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_CAIRO
),y
)
334 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-cairo
335 GST_PLUGINS_GOOD_DEPENDENCIES
+= cairo
337 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-cairo
340 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLAC
),y
)
341 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-flac
342 GST_PLUGINS_GOOD_DEPENDENCIES
+= flac
344 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-flac
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
351 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-gdk_pixbuf
354 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS
),y
)
355 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-oss
357 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-oss
360 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS4
),y
)
361 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-oss4
363 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-oss4
366 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE
),y
)
367 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-pulse
368 GST_PLUGINS_GOOD_DEPENDENCIES
+= pulseaudio
370 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-pulse
373 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC
),y
)
374 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-soup
375 GST_PLUGINS_GOOD_DEPENDENCIES
+= libsoup
377 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-soup
380 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPEEX
),y
)
381 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-speex
382 GST_PLUGINS_GOOD_DEPENDENCIES
+= speex
384 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-speex
387 ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPACK
),y
)
388 GST_PLUGINS_GOOD_CONF_OPTS
+= --enable-wavpack
389 GST_PLUGINS_GOOD_DEPENDENCIES
+= wavpack
391 GST_PLUGINS_GOOD_CONF_OPTS
+= --disable-wavpack
394 $(eval
$(autotools-package
))