The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / gstreamer1 / gst1-plugins-base / gst1-plugins-base.mk
1 ################################################################################
2 #
3 # gst1-plugins-base
4 #
5 ################################################################################
6
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+
13
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"
20
21 GST1_PLUGINS_BASE_CONF_OPTS = \
22         --disable-examples \
23         --disable-oggtest \
24         --disable-vorbistest \
25         --disable-freetypetest \
26         --disable-valgrind
27
28 # Options which require currently unpackaged libraries
29 GST1_PLUGINS_BASE_CONF_OPTS += \
30         --disable-cdparanoia \
31         --disable-libvisual \
32         --disable-iso-codes
33
34 GST1_PLUGINS_BASE_DEPENDENCIES = gstreamer1
35
36 # These plugins are liste in the order from ./configure --help
37
38 ifeq ($(BR2_PACKAGE_ORC),y)
39 GST1_PLUGINS_BASE_DEPENDENCIES += orc
40 GST1_PLUGINS_BASE_CONF_OPTS += --enable-orc
41 endif
42
43 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER),y)
44 GST1_PLUGINS_BASE_CONF_OPTS += --enable-adder
45 else
46 GST1_PLUGINS_BASE_CONF_OPTS += --disable-adder
47 endif
48
49 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP),y)
50 GST1_PLUGINS_BASE_CONF_OPTS += --enable-app
51 else
52 GST1_PLUGINS_BASE_CONF_OPTS += --disable-app
53 endif
54
55 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
56 GST1_PLUGINS_BASE_CONF_OPTS += --enable-audioconvert
57 else
58 GST1_PLUGINS_BASE_CONF_OPTS += --disable-audioconvert
59 endif
60
61 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
62 GST1_PLUGINS_BASE_CONF_OPTS += --enable-audiorate
63 else
64 GST1_PLUGINS_BASE_CONF_OPTS += --disable-audiorate
65 endif
66
67 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
68 GST1_PLUGINS_BASE_CONF_OPTS += --enable-audiotestsrc
69 else
70 GST1_PLUGINS_BASE_CONF_OPTS += --disable-audiotestsrc
71 endif
72
73 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING),y)
74 GST1_PLUGINS_BASE_CONF_OPTS += --enable-encoding
75 else
76 GST1_PLUGINS_BASE_CONF_OPTS += --disable-encoding
77 endif
78
79 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT),y)
80 GST1_PLUGINS_BASE_CONF_OPTS += --enable-videoconvert
81 else
82 GST1_PLUGINS_BASE_CONF_OPTS += --disable-videoconvert
83 endif
84
85 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO),y)
86 GST1_PLUGINS_BASE_CONF_OPTS += --enable-gio
87 else
88 GST1_PLUGINS_BASE_CONF_OPTS += --disable-gio
89 endif
90
91 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
92 GST1_PLUGINS_BASE_CONF_OPTS += --enable-playback
93 else
94 GST1_PLUGINS_BASE_CONF_OPTS += --disable-playback
95 endif
96
97 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
98 GST1_PLUGINS_BASE_CONF_OPTS += --enable-audioresample
99 else
100 GST1_PLUGINS_BASE_CONF_OPTS += --disable-audioresample
101 endif
102
103 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
104 GST1_PLUGINS_BASE_CONF_OPTS += --enable-subparse
105 else
106 GST1_PLUGINS_BASE_CONF_OPTS += --disable-subparse
107 endif
108
109 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP),y)
110 GST1_PLUGINS_BASE_CONF_OPTS += --enable-tcp
111 else
112 GST1_PLUGINS_BASE_CONF_OPTS += --disable-tcp
113 endif
114
115 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
116 GST1_PLUGINS_BASE_CONF_OPTS += --enable-typefind
117 else
118 GST1_PLUGINS_BASE_CONF_OPTS += --disable-typefind
119 endif
120
121 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
122 GST1_PLUGINS_BASE_CONF_OPTS += --enable-videotestsrc
123 else
124 GST1_PLUGINS_BASE_CONF_OPTS += --disable-videotestsrc
125 endif
126
127 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
128 GST1_PLUGINS_BASE_CONF_OPTS += --enable-videorate
129 else
130 GST1_PLUGINS_BASE_CONF_OPTS += --disable-videorate
131 endif
132
133 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
134 GST1_PLUGINS_BASE_CONF_OPTS += --enable-videoscale
135 else
136 GST1_PLUGINS_BASE_CONF_OPTS += --disable-videoscale
137 endif
138
139 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME),y)
140 GST1_PLUGINS_BASE_CONF_OPTS += --enable-volume
141 else
142 GST1_PLUGINS_BASE_CONF_OPTS += --disable-volume
143 endif
144
145 ifeq ($(BR2_PACKAGE_ZLIB),y)
146 GST1_PLUGINS_BASE_DEPENDENCIES += zlib
147 else
148 GST1_PLUGINS_BASE_CONF_OPTS += --disable-zlib
149 endif
150
151 ifeq ($(BR2_PACKAGE_XORG7),y)
152 GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
153 GST1_PLUGINS_BASE_CONF_OPTS += \
154         --enable-x \
155         --enable-xshm \
156         --enable-xvideo
157 else
158 GST1_PLUGINS_BASE_CONF_OPTS += \
159         --disable-x \
160         --disable-xshm \
161         --disable-xvideo
162 endif
163
164 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA),y)
165 GST1_PLUGINS_BASE_DEPENDENCIES += alsa-lib
166 else
167 GST1_PLUGINS_BASE_CONF_OPTS += --disable-alsa
168 endif
169
170 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR),y)
171 GST1_PLUGINS_BASE_CONF_OPTS += --enable-ivorbis
172 GST1_PLUGINS_BASE_DEPENDENCIES += tremor
173 else
174 GST1_PLUGINS_BASE_CONF_OPTS += --disable-ivorbis
175 endif
176
177 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG),y)
178 GST1_PLUGINS_BASE_CONF_OPTS += --enable-ogg
179 GST1_PLUGINS_BASE_DEPENDENCIES += libogg
180 else
181 GST1_PLUGINS_BASE_CONF_OPTS += --disable-ogg
182 endif
183
184 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO),y)
185 GST1_PLUGINS_BASE_CONF_OPTS += --enable-pango
186 GST1_PLUGINS_BASE_DEPENDENCIES += pango
187 else
188 GST1_PLUGINS_BASE_CONF_OPTS += --disable-pango
189 endif
190
191 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA),y)
192 GST1_PLUGINS_BASE_CONF_OPTS += --enable-theora
193 GST1_PLUGINS_BASE_DEPENDENCIES += libtheora
194 else
195 GST1_PLUGINS_BASE_CONF_OPTS += --disable-theora
196 endif
197
198 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS),y)
199 GST1_PLUGINS_BASE_CONF_OPTS += --enable-vorbis
200 GST1_PLUGINS_BASE_DEPENDENCIES += libvorbis
201 else
202 GST1_PLUGINS_BASE_CONF_OPTS += --disable-vorbis
203 endif
204
205 $(eval $(autotools-package))