1 ################################################################################
5 ################################################################################
7 GST1_PLUGINS_BASE_VERSION = 1.4.5
8 GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz
9 GST1_PLUGINS_BASE_SITE = http://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 GST1_PLUGINS_BASE_CONF_OPTS = \
24 --disable-vorbistest \
25 --disable-freetypetest \
28 # Options which require currently unpackaged libraries
29 GST1_PLUGINS_BASE_CONF_OPTS += \
30 --disable-cdparanoia \
34 GST1_PLUGINS_BASE_DEPENDENCIES = gstreamer1
36 # These plugins are liste in the order from ./configure --help
38 ifeq ($(BR2_PACKAGE_ORC),y)
39 GST1_PLUGINS_BASE_DEPENDENCIES += orc
40 GST1_PLUGINS_BASE_CONF_OPTS += --enable-orc
43 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER),y)
44 GST1_PLUGINS_BASE_CONF_OPTS += --enable-adder
46 GST1_PLUGINS_BASE_CONF_OPTS += --disable-adder
49 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP),y)
50 GST1_PLUGINS_BASE_CONF_OPTS += --enable-app
52 GST1_PLUGINS_BASE_CONF_OPTS += --disable-app
55 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
56 GST1_PLUGINS_BASE_CONF_OPTS += --enable-audioconvert
58 GST1_PLUGINS_BASE_CONF_OPTS += --disable-audioconvert
61 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
62 GST1_PLUGINS_BASE_CONF_OPTS += --enable-audiorate
64 GST1_PLUGINS_BASE_CONF_OPTS += --disable-audiorate
67 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
68 GST1_PLUGINS_BASE_CONF_OPTS += --enable-audiotestsrc
70 GST1_PLUGINS_BASE_CONF_OPTS += --disable-audiotestsrc
73 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING),y)
74 GST1_PLUGINS_BASE_CONF_OPTS += --enable-encoding
76 GST1_PLUGINS_BASE_CONF_OPTS += --disable-encoding
79 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT),y)
80 GST1_PLUGINS_BASE_CONF_OPTS += --enable-videoconvert
82 GST1_PLUGINS_BASE_CONF_OPTS += --disable-videoconvert
85 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO),y)
86 GST1_PLUGINS_BASE_CONF_OPTS += --enable-gio
88 GST1_PLUGINS_BASE_CONF_OPTS += --disable-gio
91 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
92 GST1_PLUGINS_BASE_CONF_OPTS += --enable-playback
94 GST1_PLUGINS_BASE_CONF_OPTS += --disable-playback
97 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
98 GST1_PLUGINS_BASE_CONF_OPTS += --enable-audioresample
100 GST1_PLUGINS_BASE_CONF_OPTS += --disable-audioresample
103 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
104 GST1_PLUGINS_BASE_CONF_OPTS += --enable-subparse
106 GST1_PLUGINS_BASE_CONF_OPTS += --disable-subparse
109 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP),y)
110 GST1_PLUGINS_BASE_CONF_OPTS += --enable-tcp
112 GST1_PLUGINS_BASE_CONF_OPTS += --disable-tcp
115 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
116 GST1_PLUGINS_BASE_CONF_OPTS += --enable-typefind
118 GST1_PLUGINS_BASE_CONF_OPTS += --disable-typefind
121 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
122 GST1_PLUGINS_BASE_CONF_OPTS += --enable-videotestsrc
124 GST1_PLUGINS_BASE_CONF_OPTS += --disable-videotestsrc
127 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
128 GST1_PLUGINS_BASE_CONF_OPTS += --enable-videorate
130 GST1_PLUGINS_BASE_CONF_OPTS += --disable-videorate
133 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
134 GST1_PLUGINS_BASE_CONF_OPTS += --enable-videoscale
136 GST1_PLUGINS_BASE_CONF_OPTS += --disable-videoscale
139 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME),y)
140 GST1_PLUGINS_BASE_CONF_OPTS += --enable-volume
142 GST1_PLUGINS_BASE_CONF_OPTS += --disable-volume
145 ifeq ($(BR2_PACKAGE_ZLIB),y)
146 GST1_PLUGINS_BASE_DEPENDENCIES += zlib
148 GST1_PLUGINS_BASE_CONF_OPTS += --disable-zlib
151 ifeq ($(BR2_PACKAGE_XORG7),y)
152 GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
153 GST1_PLUGINS_BASE_CONF_OPTS += \
158 GST1_PLUGINS_BASE_CONF_OPTS += \
164 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA),y)
165 GST1_PLUGINS_BASE_DEPENDENCIES += alsa-lib
167 GST1_PLUGINS_BASE_CONF_OPTS += --disable-alsa
170 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR),y)
171 GST1_PLUGINS_BASE_CONF_OPTS += --enable-ivorbis
172 GST1_PLUGINS_BASE_DEPENDENCIES += tremor
174 GST1_PLUGINS_BASE_CONF_OPTS += --disable-ivorbis
177 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG),y)
178 GST1_PLUGINS_BASE_CONF_OPTS += --enable-ogg
179 GST1_PLUGINS_BASE_DEPENDENCIES += libogg
181 GST1_PLUGINS_BASE_CONF_OPTS += --disable-ogg
184 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO),y)
185 GST1_PLUGINS_BASE_CONF_OPTS += --enable-pango
186 GST1_PLUGINS_BASE_DEPENDENCIES += pango
188 GST1_PLUGINS_BASE_CONF_OPTS += --disable-pango
191 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA),y)
192 GST1_PLUGINS_BASE_CONF_OPTS += --enable-theora
193 GST1_PLUGINS_BASE_DEPENDENCIES += libtheora
195 GST1_PLUGINS_BASE_CONF_OPTS += --disable-theora
198 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS),y)
199 GST1_PLUGINS_BASE_CONF_OPTS += --enable-vorbis
200 GST1_PLUGINS_BASE_DEPENDENCIES += libvorbis
202 GST1_PLUGINS_BASE_CONF_OPTS += --disable-vorbis
205 $(eval $(autotools-package))