Blame view

buildroot/buildroot-2016.08.1/package/gstreamer/gst-plugins-base/gst-plugins-base.mk 5.32 KB
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
  ################################################################################
  #
  # gst-plugins-base
  #
  ################################################################################
  
  GST_PLUGINS_BASE_VERSION = 0.10.36
  GST_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST_PLUGINS_BASE_VERSION).tar.xz
  GST_PLUGINS_BASE_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-base
  GST_PLUGINS_BASE_INSTALL_STAGING = YES
  GST_PLUGINS_BASE_LICENSE = GPLv2+, LGPLv2+
  GST_PLUGINS_BASE_LICENSE_FILES = COPYING COPYING.LIB
  
  # freetype is only used by examples, but if it is not found
  # and the host has a freetype-config script, then the host
  # include dirs are added to the search path causing trouble
  GST_PLUGINS_BASE_CONF_ENV =
  		FT2_CONFIG=/bin/false \
  		ac_cv_header_stdint_t="stdint.h"
  
  GST_PLUGINS_BASE_CONF_OPTS = \
  	--disable-examples \
  	--disable-oggtest \
  	--disable-vorbistest \
  	--disable-freetypetest
  
  GST_PLUGINS_BASE_DEPENDENCIES = gstreamer
  
  ifeq ($(BR2_PACKAGE_XORG7),y)
  GST_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
  GST_PLUGINS_BASE_CONF_OPTS += \
  	--enable-x \
  	--enable-xshm \
  	--enable-xvideo
  else
  GST_PLUGINS_BASE_CONF_OPTS += \
  	--disable-x \
  	--disable-xshm \
  	--disable-xvideo
  endif
  
  ifeq ($(BR2_PACKAGE_ORC),y)
  GST_PLUGINS_BASE_DEPENDENCIES += orc
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ALSA),y)
  GST_PLUGINS_BASE_DEPENDENCIES += alsa-lib
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-alsa
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ADDER),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-adder
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-adder
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-app
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-app
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-audioconvert
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-audioconvert
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-audiorate
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-audiorate
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-audioresample
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-audioresample
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-audiotestsrc
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-audiotestsrc
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ENCODING),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-encoding
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-encoding
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_FFMPEGCOLORSPACE),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-ffmpegcolorspace
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-ffmpegcolorspace
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_GDP),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-gdp
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-gdp
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-playback
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-playback
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-subparse
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-subparse
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TCP),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-tcp
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-tcp
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-typefind
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-typefind
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-videotestsrc
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-videotestsrc
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-videorate
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-videorate
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-videoscale
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-videoscale
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VOLUME),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-volume
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-volume
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-ogg
  GST_PLUGINS_BASE_DEPENDENCIES += libogg
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-ogg
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PANGO),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-pango
  GST_PLUGINS_BASE_DEPENDENCIES += pango
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-pango
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-theora
  GST_PLUGINS_BASE_DEPENDENCIES += libtheora
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-theora
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TREMOR),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-ivorbis
  GST_PLUGINS_BASE_DEPENDENCIES += tremor
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-ivorbis
  endif
  
  ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_VORBIS),y)
  GST_PLUGINS_BASE_CONF_OPTS += --enable-vorbis
  GST_PLUGINS_BASE_DEPENDENCIES += libvorbis
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-vorbis
  endif
  
  ifeq ($(BR2_PACKAGE_ZLIB),y)
  GST_PLUGINS_BASE_DEPENDENCIES += zlib
  else
  GST_PLUGINS_BASE_CONF_OPTS += --disable-zlib
  endif
  
  $(eval $(autotools-package))