board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / gstreamer / gst-plugins-base / gst-plugins-base.mk
blob51c22a90bb706de9f2f00acaa3fc49a17fb9ea60
1 ################################################################################
3 # gst-plugins-base
5 ################################################################################
7 GST_PLUGINS_BASE_VERSION = 0.10.36
8 GST_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST_PLUGINS_BASE_VERSION).tar.xz
9 GST_PLUGINS_BASE_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-base
10 GST_PLUGINS_BASE_INSTALL_STAGING = YES
11 GST_PLUGINS_BASE_LICENSE = GPLv2+, LGPLv2+
12 GST_PLUGINS_BASE_LICENSE_FILES = COPYING COPYING.LIB
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 GST_PLUGINS_BASE_CONF_ENV =
18 FT2_CONFIG=/bin/false \
19 ac_cv_header_stdint_t="stdint.h"
21 GST_PLUGINS_BASE_CONF_OPTS = \
22 --disable-examples \
23 --disable-oggtest \
24 --disable-vorbistest \
25 --disable-freetypetest
27 GST_PLUGINS_BASE_DEPENDENCIES = gstreamer
29 ifeq ($(BR2_PACKAGE_XORG7),y)
30 GST_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
31 GST_PLUGINS_BASE_CONF_OPTS += \
32 --enable-x \
33 --enable-xshm \
34 --enable-xvideo
35 else
36 GST_PLUGINS_BASE_CONF_OPTS += \
37 --disable-x \
38 --disable-xshm \
39 --disable-xvideo
40 endif
42 ifeq ($(BR2_PACKAGE_ORC),y)
43 GST_PLUGINS_BASE_DEPENDENCIES += orc
44 endif
46 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ALSA),y)
47 GST_PLUGINS_BASE_DEPENDENCIES += alsa-lib
48 else
49 GST_PLUGINS_BASE_CONF_OPTS += --disable-alsa
50 endif
52 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ADDER),y)
53 GST_PLUGINS_BASE_CONF_OPTS += --enable-adder
54 else
55 GST_PLUGINS_BASE_CONF_OPTS += --disable-adder
56 endif
58 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP),y)
59 GST_PLUGINS_BASE_CONF_OPTS += --enable-app
60 else
61 GST_PLUGINS_BASE_CONF_OPTS += --disable-app
62 endif
64 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
65 GST_PLUGINS_BASE_CONF_OPTS += --enable-audioconvert
66 else
67 GST_PLUGINS_BASE_CONF_OPTS += --disable-audioconvert
68 endif
70 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
71 GST_PLUGINS_BASE_CONF_OPTS += --enable-audiorate
72 else
73 GST_PLUGINS_BASE_CONF_OPTS += --disable-audiorate
74 endif
76 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
77 GST_PLUGINS_BASE_CONF_OPTS += --enable-audioresample
78 else
79 GST_PLUGINS_BASE_CONF_OPTS += --disable-audioresample
80 endif
82 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
83 GST_PLUGINS_BASE_CONF_OPTS += --enable-audiotestsrc
84 else
85 GST_PLUGINS_BASE_CONF_OPTS += --disable-audiotestsrc
86 endif
88 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ENCODING),y)
89 GST_PLUGINS_BASE_CONF_OPTS += --enable-encoding
90 else
91 GST_PLUGINS_BASE_CONF_OPTS += --disable-encoding
92 endif
94 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE),y)
95 GST_PLUGINS_BASE_CONF_OPTS += --enable-ffmpegcolorspace
96 else
97 GST_PLUGINS_BASE_CONF_OPTS += --disable-ffmpegcolorspace
98 endif
100 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_GDP),y)
101 GST_PLUGINS_BASE_CONF_OPTS += --enable-gdp
102 else
103 GST_PLUGINS_BASE_CONF_OPTS += --disable-gdp
104 endif
106 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
107 GST_PLUGINS_BASE_CONF_OPTS += --enable-playback
108 else
109 GST_PLUGINS_BASE_CONF_OPTS += --disable-playback
110 endif
112 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
113 GST_PLUGINS_BASE_CONF_OPTS += --enable-subparse
114 GST_PLUGINS_BASE_DEPENDENCIES += libxml2
115 else
116 GST_PLUGINS_BASE_CONF_OPTS += --disable-subparse
117 endif
119 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TCP),y)
120 GST_PLUGINS_BASE_CONF_OPTS += --enable-tcp
121 else
122 GST_PLUGINS_BASE_CONF_OPTS += --disable-tcp
123 endif
125 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
126 GST_PLUGINS_BASE_CONF_OPTS += --enable-typefind
127 else
128 GST_PLUGINS_BASE_CONF_OPTS += --disable-typefind
129 endif
131 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
132 GST_PLUGINS_BASE_CONF_OPTS += --enable-videotestsrc
133 else
134 GST_PLUGINS_BASE_CONF_OPTS += --disable-videotestsrc
135 endif
137 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
138 GST_PLUGINS_BASE_CONF_OPTS += --enable-videorate
139 else
140 GST_PLUGINS_BASE_CONF_OPTS += --disable-videorate
141 endif
143 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
144 GST_PLUGINS_BASE_CONF_OPTS += --enable-videoscale
145 else
146 GST_PLUGINS_BASE_CONF_OPTS += --disable-videoscale
147 endif
149 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VOLUME),y)
150 GST_PLUGINS_BASE_CONF_OPTS += --enable-volume
151 else
152 GST_PLUGINS_BASE_CONF_OPTS += --disable-volume
153 endif
155 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG),y)
156 GST_PLUGINS_BASE_CONF_OPTS += --enable-ogg
157 GST_PLUGINS_BASE_DEPENDENCIES += libogg
158 else
159 GST_PLUGINS_BASE_CONF_OPTS += --disable-ogg
160 endif
162 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PANGO),y)
163 GST_PLUGINS_BASE_CONF_OPTS += --enable-pango
164 GST_PLUGINS_BASE_DEPENDENCIES += pango
165 else
166 GST_PLUGINS_BASE_CONF_OPTS += --disable-pango
167 endif
169 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA),y)
170 GST_PLUGINS_BASE_CONF_OPTS += --enable-theora
171 GST_PLUGINS_BASE_DEPENDENCIES += libtheora
172 else
173 GST_PLUGINS_BASE_CONF_OPTS += --disable-theora
174 endif
176 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TREMOR),y)
177 GST_PLUGINS_BASE_CONF_OPTS += --enable-ivorbis
178 GST_PLUGINS_BASE_DEPENDENCIES += tremor
179 else
180 GST_PLUGINS_BASE_CONF_OPTS += --disable-ivorbis
181 endif
183 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS),y)
184 GST_PLUGINS_BASE_CONF_OPTS += --enable-vorbis
185 GST_PLUGINS_BASE_DEPENDENCIES += libvorbis
186 else
187 GST_PLUGINS_BASE_CONF_OPTS += --disable-vorbis
188 endif
190 ifeq ($(BR2_PACKAGE_ZLIB),y)
191 GST_PLUGINS_BASE_DEPENDENCIES += zlib
192 else
193 GST_PLUGINS_BASE_CONF_OPTS += --disable-zlib
194 endif
196 $(eval $(autotools-package))