1 ################################################################################
5 ################################################################################
7 GST1_PLUGINS_BASE_VERSION
= 1.10.4
8 GST1_PLUGINS_BASE_SOURCE
= gst-plugins-base-
$(GST1_PLUGINS_BASE_VERSION
).
tar.xz
9 GST1_PLUGINS_BASE_SITE
= https
://gstreamer.freedesktop.org
/src
/gst-plugins-base
10 GST1_PLUGINS_BASE_INSTALL_STAGING
= YES
11 GST1_PLUGINS_BASE_LICENSE_FILES
= COPYING.LIB
12 GST1_PLUGINS_BASE_LICENSE
= LGPLv2
+, LGPLv2.1
+
14 # freetype is only used by examples, but if it is not found
15 # and the host has a freetype-config script, then the host
16 # include dirs are added to the search path causing trouble
17 GST1_PLUGINS_BASE_CONF_ENV
=
18 FT2_CONFIG
=/bin
/false \
19 ac_cv_header_stdint_t
="stdint.h"
21 # gio_unix_2_0 is only used for tests
22 GST1_PLUGINS_BASE_CONF_OPTS
= \
25 --disable-vorbistest \
26 --disable-gio_unix_2_0 \
27 --disable-freetypetest \
30 # Options which require currently unpackaged libraries
31 GST1_PLUGINS_BASE_CONF_OPTS
+= \
32 --disable-cdparanoia \
36 GST1_PLUGINS_BASE_DEPENDENCIES
= gstreamer1
38 # These plugins are liste in the order from ./configure --help
40 ifeq ($(BR2_PACKAGE_ORC
),y
)
41 GST1_PLUGINS_BASE_DEPENDENCIES
+= orc
42 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-orc
45 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER
),y
)
46 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-adder
48 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-adder
51 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
),y
)
52 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-app
54 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-app
57 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT
),y
)
58 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-audioconvert
60 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-audioconvert
63 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE
),y
)
64 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-audiorate
66 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-audiorate
69 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC
),y
)
70 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-audiotestsrc
72 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-audiotestsrc
75 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING
),y
)
76 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-encoding
78 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-encoding
81 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT
),y
)
82 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-videoconvert
84 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-videoconvert
87 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO
),y
)
88 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-gio
90 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-gio
93 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK
),y
)
94 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-playback
96 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-playback
99 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE
),y
)
100 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-audioresample
102 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-audioresample
105 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE
),y
)
106 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-subparse
108 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-subparse
111 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP
),y
)
112 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-tcp
114 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-tcp
117 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND
),y
)
118 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-typefind
120 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-typefind
123 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC
),y
)
124 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-videotestsrc
126 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-videotestsrc
129 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE
),y
)
130 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-videorate
132 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-videorate
135 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE
),y
)
136 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-videoscale
138 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-videoscale
141 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME
),y
)
142 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-volume
144 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-volume
147 ifeq ($(BR2_PACKAGE_ZLIB
),y
)
148 GST1_PLUGINS_BASE_DEPENDENCIES
+= zlib
150 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-zlib
153 ifeq ($(BR2_PACKAGE_XORG7
),y
)
154 GST1_PLUGINS_BASE_DEPENDENCIES
+= xlib_libX11 xlib_libXext xlib_libXv
155 GST1_PLUGINS_BASE_CONF_OPTS
+= \
160 GST1_PLUGINS_BASE_CONF_OPTS
+= \
166 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA
),y
)
167 GST1_PLUGINS_BASE_DEPENDENCIES
+= alsa-lib
169 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-alsa
172 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR
),y
)
173 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-ivorbis
174 GST1_PLUGINS_BASE_DEPENDENCIES
+= tremor
176 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-ivorbis
179 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS
),y
)
180 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-opus
181 GST1_PLUGINS_BASE_DEPENDENCIES
+= opus
183 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-opus
186 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG
),y
)
187 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-ogg
188 GST1_PLUGINS_BASE_DEPENDENCIES
+= libogg
190 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-ogg
193 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO
),y
)
194 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-pango
195 GST1_PLUGINS_BASE_DEPENDENCIES
+= pango
197 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-pango
200 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA
),y
)
201 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-theora
202 GST1_PLUGINS_BASE_DEPENDENCIES
+= libtheora
204 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-theora
207 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS
),y
)
208 GST1_PLUGINS_BASE_CONF_OPTS
+= --enable-vorbis
209 GST1_PLUGINS_BASE_DEPENDENCIES
+= libvorbis
211 GST1_PLUGINS_BASE_CONF_OPTS
+= --disable-vorbis
214 $(eval
$(autotools-package
))