1 ################################################################################
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
= \
16 --disable-directsound \
28 # Options which require currently unpackaged libraries
29 GST1_PLUGINS_GOOD_CONF_OPTS
+= \
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
41 GST1_PLUGINS_GOOD_CONF_OPTS
+= --without-libv4l2
44 ifeq ($(BR2_PACKAGE_ORC
),y
)
45 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-orc
46 GST1_PLUGINS_GOOD_DEPENDENCIES
+= orc
49 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ALPHA
),y
)
50 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-alpha
52 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-alpha
55 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_APETAG
),y
)
56 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-apetag
58 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-apetag
61 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOFX
),y
)
62 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-audiofx
64 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-audiofx
67 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS
),y
)
68 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-audioparsers
70 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-audioparsers
73 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUPARSE
),y
)
74 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-auparse
76 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-auparse
79 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT
),y
)
80 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-autodetect
82 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-autodetect
85 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AVI
),y
)
86 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-avi
88 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-avi
91 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CUTTER
),y
)
92 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-cutter
94 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-cutter
97 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEBUGUTILS
),y
)
98 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-debugutils
100 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-debugutils
103 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEINTERLACE
),y
)
104 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-deinterlace
106 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-deinterlace
109 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DTMF
),y
)
110 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-dtmf
112 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-dtmf
115 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EFFECTV
),y
)
116 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-effectv
118 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-effectv
121 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EQUALIZER
),y
)
122 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-equalizer
124 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-equalizer
127 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLV
),y
)
128 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-flv
130 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-flv
133 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLX
),y
)
134 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-flx
136 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-flx
139 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM
),y
)
140 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-goom
142 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-goom
145 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM2K1
),y
)
146 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-goom2k1
148 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-goom2k1
151 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ICYDEMUX
),y
)
152 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-icydemux
154 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-icydemux
157 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ID3DEMUX
),y
)
158 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-id3demux
160 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-id3demux
163 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE
),y
)
164 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-imagefreeze
166 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-imagefreeze
169 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_INTERLEAVE
),y
)
170 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-interleave
172 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-interleave
175 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4
),y
)
176 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-isomp4
178 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-isomp4
181 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAW
),y
)
182 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-law
184 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-law
187 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LEVEL
),y
)
188 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-level
190 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-level
193 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA
),y
)
194 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-matroska
196 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-matroska
199 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MONOSCOPE
),y
)
200 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-monoscope
202 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-monoscope
205 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIFILE
),y
)
206 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-multifile
208 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-multifile
211 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIPART
),y
)
212 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-multipart
214 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-multipart
217 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_REPLAYGAIN
),y
)
218 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-replaygain
220 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-replaygain
223 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTP
),y
)
224 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-rtp
226 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-rtp
229 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTPMANAGER
),y
)
230 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-rtpmanager
232 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-rtpmanager
235 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP
),y
)
236 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-rtsp
238 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-rtsp
241 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHAPEWIPE
),y
)
242 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-shapewipe
244 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-shapewipe
247 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SMPTE
),y
)
248 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-smpte
250 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-smpte
253 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPECTRUM
),y
)
254 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-spectrum
256 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-spectrum
259 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_UDP
),y
)
260 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-udp
262 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-udp
265 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOBOX
),y
)
266 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-videobox
268 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-videobox
271 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOCROP
),y
)
272 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-videocrop
274 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-videocrop
277 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOFILTER
),y
)
278 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-videofilter
280 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-videofilter
283 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOMIXER
),y
)
284 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-videomixer
286 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-videomixer
289 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVENC
),y
)
290 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-wavenc
292 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-wavenc
295 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPARSE
),y
)
296 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-wavparse
298 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-wavparse
301 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_Y4M
),y
)
302 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-y4m
304 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-y4m
307 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS
),y
)
308 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-oss
310 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-oss
313 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS4
),y
)
314 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-oss4
316 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-oss4
319 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2
),y
)
320 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-gst_v4l2
322 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-gst_v4l2
325 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2_PROBE
),y
)
326 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-v4l2-probe
328 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-v4l2-probe
331 ifeq ($(BR2_PACKAGE_XORG7
),y
)
332 GST1_PLUGINS_GOOD_DEPENDENCIES
+= xlib_libX11 xlib_libXext xlib_libXv
333 GST1_PLUGINS_GOOD_CONF_OPTS
+= \
335 $(if
$(BR2_PACKAGE_XLIB_LIBXFIXES
),xlib_libXfixes
) \
336 $(if
$(BR2_PACKAGE_XLIB_LIBXDAMAGE
),xlib_libXdamage
)
338 GST1_PLUGINS_GOOD_CONF_OPTS
+= \
342 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CAIRO
),y
)
343 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-cairo
344 GST1_PLUGINS_GOOD_DEPENDENCIES
+= cairo
346 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-cairo
349 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLAC
),y
)
350 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-flac
351 GST1_PLUGINS_GOOD_DEPENDENCIES
+= flac
353 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-flac
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
360 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-gdk_pixbuf
363 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_JPEG
),y
)
364 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-jpeg
365 GST1_PLUGINS_GOOD_DEPENDENCIES
+= jpeg
367 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-jpeg
370 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PNG
),y
)
371 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-libpng
372 GST1_PLUGINS_GOOD_DEPENDENCIES
+= libpng
374 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-libpng
377 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE
),y
)
378 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-pulse
379 GST1_PLUGINS_GOOD_DEPENDENCIES
+= pulseaudio
381 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-pulse
384 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC
),y
)
385 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-soup
386 GST1_PLUGINS_GOOD_DEPENDENCIES
+= libsoup
388 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-soup
391 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPEEX
),y
)
392 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-speex
393 GST1_PLUGINS_GOOD_DEPENDENCIES
+= speex
395 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-speex
398 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TAGLIB
),y
)
399 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-taglib
400 GST1_PLUGINS_GOOD_DEPENDENCIES
+= taglib
402 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-taglib
405 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX
),y
)
406 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-vpx
407 GST1_PLUGINS_GOOD_DEPENDENCIES
+= libvpx
409 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-vpx
412 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPACK
),y
)
413 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-wavpack
414 GST1_PLUGINS_GOOD_DEPENDENCIES
+= wavpack
416 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-wavpack
419 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_ZLIB
),y
)
420 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-zlib
421 GST1_PLUGINS_GOOD_DEPENDENCIES
+= zlib
423 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-zlib
426 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_BZ2
),y
)
427 GST1_PLUGINS_GOOD_CONF_OPTS
+= --enable-bz2
428 GST1_PLUGINS_GOOD_DEPENDENCIES
+= bzip2
430 GST1_PLUGINS_GOOD_CONF_OPTS
+= --disable-bz2
433 $(eval
$(autotools-package
))