xref: /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# gst1-plugins-base
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunGST1_PLUGINS_BASE_VERSION = 1.22.0
8*4882a593SmuzhiyunGST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz
9*4882a593SmuzhiyunGST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base
10*4882a593SmuzhiyunGST1_PLUGINS_BASE_INSTALL_STAGING = YES
11*4882a593SmuzhiyunGST1_PLUGINS_BASE_LICENSE_FILES = COPYING
12*4882a593SmuzhiyunGST1_PLUGINS_BASE_LICENSE = LGPL-2.1+
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunGST1_PLUGINS_BASE_CFLAGS = $(TARGET_CFLAGS) -std=gnu99
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS = \
17*4882a593Smuzhiyun	-Dexamples=disabled \
18*4882a593Smuzhiyun	-Dtests=disabled \
19*4882a593Smuzhiyun	-Dgobject-cast-checks=disabled \
20*4882a593Smuzhiyun	-Dglib-asserts=disabled \
21*4882a593Smuzhiyun	-Dglib-checks=disabled \
22*4882a593Smuzhiyun	-Dqt5=disabled \
23*4882a593Smuzhiyun	-Ddoc=disabled
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun# Options which require currently unpackaged libraries
26*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += \
27*4882a593Smuzhiyun	-Dcdparanoia=disabled \
28*4882a593Smuzhiyun	-Dlibvisual=disabled \
29*4882a593Smuzhiyun	-Diso-codes=disabled
30*4882a593Smuzhiyun
31*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_INSTALL_TOOLS),y)
32*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dtools=enabled
33*4882a593Smuzhiyunelse
34*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dtools=disabled
35*4882a593Smuzhiyunendif
36*4882a593Smuzhiyun
37*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES = gstreamer1 $(TARGET_NLS_DEPENDENCIES)
38*4882a593Smuzhiyun
39*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBDRM),y)
40*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += libdrm
41*4882a593Smuzhiyunendif
42*4882a593Smuzhiyun
43*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_ROCKCHIP_RGA),y)
44*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += rockchip-rga
45*4882a593Smuzhiyunendif
46*4882a593Smuzhiyun
47*4882a593SmuzhiyunGST1_PLUGINS_BASE_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
48*4882a593Smuzhiyun
49*4882a593Smuzhiyun# These plugins are listed in the order from ./configure --help
50*4882a593Smuzhiyun
51*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
52*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dintrospection=enabled
53*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += gobject-introspection
54*4882a593Smuzhiyunelse
55*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dintrospection=disabled
56*4882a593Smuzhiyunendif
57*4882a593Smuzhiyun
58*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_ORC),y)
59*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += orc
60*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dorc=enabled
61*4882a593Smuzhiyunelse
62*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dorc=disabled
63*4882a593Smuzhiyunendif
64*4882a593Smuzhiyun
65*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API)$(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM)$(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW),yyy)
66*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dgl=enabled
67*4882a593Smuzhiyunelse
68*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dgl=disabled
69*4882a593Smuzhiyunendif
70*4882a593Smuzhiyun
71*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL),y)
72*4882a593SmuzhiyunGST1_PLUGINS_BASE_GL_API_LIST = opengl
73*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += libgl libglu
74*4882a593Smuzhiyunendif
75*4882a593Smuzhiyun
76*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2),y)
77*4882a593SmuzhiyunGST1_PLUGINS_BASE_GL_API_LIST += gles2
78*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += libgles
79*4882a593Smuzhiyunendif
80*4882a593Smuzhiyun
81*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dgl_api='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_GL_API_LIST))'
82*4882a593Smuzhiyun
83*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLX),y)
84*4882a593SmuzhiyunGST1_PLUGINS_BASE_GL_PLATFORM_LIST += glx
85*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += xorgproto xlib_libXrender
86*4882a593Smuzhiyunendif
87*4882a593Smuzhiyun
88*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL),y)
89*4882a593SmuzhiyunGST1_PLUGINS_BASE_GL_PLATFORM_LIST += egl
90*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += libegl
91*4882a593Smuzhiyunendif
92*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dgl_platform='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_GL_PLATFORM_LIST))'
93*4882a593Smuzhiyun
94*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11),y)
95*4882a593SmuzhiyunGST1_PLUGINS_BASE_WINSYS_LIST += x11
96*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext
97*4882a593Smuzhiyunendif
98*4882a593Smuzhiyun
99*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_WAYLAND),y)
100*4882a593SmuzhiyunGST1_PLUGINS_BASE_WINSYS_LIST += wayland
101*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += wayland wayland-protocols
102*4882a593Smuzhiyunendif
103*4882a593Smuzhiyun
104*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_DISPMANX),y)
105*4882a593SmuzhiyunGST1_PLUGINS_BASE_WINSYS_LIST += dispmanx
106*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += rpi-userland
107*4882a593Smuzhiyunendif
108*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dgl_winsys='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_WINSYS_LIST))'
109*4882a593Smuzhiyun
110*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER),y)
111*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dadder=enabled
112*4882a593Smuzhiyunelse
113*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dadder=disabled
114*4882a593Smuzhiyunendif
115*4882a593Smuzhiyun
116*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP),y)
117*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dapp=enabled
118*4882a593Smuzhiyunelse
119*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dapp=disabled
120*4882a593Smuzhiyunendif
121*4882a593Smuzhiyun
122*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y)
123*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Daudioconvert=enabled
124*4882a593Smuzhiyunelse
125*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Daudioconvert=disabled
126*4882a593Smuzhiyunendif
127*4882a593Smuzhiyun
128*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER),y)
129*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Daudiomixer=enabled
130*4882a593Smuzhiyunelse
131*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Daudiomixer=disabled
132*4882a593Smuzhiyunendif
133*4882a593Smuzhiyun
134*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE),y)
135*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Daudiorate=enabled
136*4882a593Smuzhiyunelse
137*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Daudiorate=disabled
138*4882a593Smuzhiyunendif
139*4882a593Smuzhiyun
140*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y)
141*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Daudiotestsrc=enabled
142*4882a593Smuzhiyunelse
143*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Daudiotestsrc=disabled
144*4882a593Smuzhiyunendif
145*4882a593Smuzhiyun
146*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR),y)
147*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dcompositor=enabled
148*4882a593Smuzhiyunelse
149*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dcompositor=disabled
150*4882a593Smuzhiyunendif
151*4882a593Smuzhiyun
152*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING),y)
153*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dencoding=enabled
154*4882a593Smuzhiyunelse
155*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dencoding=disabled
156*4882a593Smuzhiyunendif
157*4882a593Smuzhiyun
158*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERTSCALE),y)
159*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dvideoconvertscale=enabled
160*4882a593Smuzhiyunelse
161*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dvideoconvertscale=disabled
162*4882a593Smuzhiyunendif
163*4882a593Smuzhiyun
164*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO),y)
165*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dgio=enabled
166*4882a593Smuzhiyunelse
167*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dgio=disabled
168*4882a593Smuzhiyunendif
169*4882a593Smuzhiyun
170*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO_TYPEFINDER),y)
171*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dgio-typefinder=enabled
172*4882a593Smuzhiyunelse
173*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dgio-typefinder=disabled
174*4882a593Smuzhiyunendif
175*4882a593Smuzhiyun
176*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OVERLAYCOMPOSITION),y)
177*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Doverlaycomposition=enabled
178*4882a593Smuzhiyunelse
179*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Doverlaycomposition=disabled
180*4882a593Smuzhiyunendif
181*4882a593Smuzhiyun
182*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK),y)
183*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dplayback=enabled
184*4882a593Smuzhiyunelse
185*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dplayback=disabled
186*4882a593Smuzhiyunendif
187*4882a593Smuzhiyun
188*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y)
189*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Daudioresample=enabled
190*4882a593Smuzhiyunelse
191*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Daudioresample=disabled
192*4882a593Smuzhiyunendif
193*4882a593Smuzhiyun
194*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_RAWPARSE),y)
195*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Drawparse=enabled
196*4882a593Smuzhiyunelse
197*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Drawparse=disabled
198*4882a593Smuzhiyunendif
199*4882a593Smuzhiyun
200*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
201*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dsubparse=enabled
202*4882a593Smuzhiyunelse
203*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dsubparse=disabled
204*4882a593Smuzhiyunendif
205*4882a593Smuzhiyun
206*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP),y)
207*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dtcp=enabled
208*4882a593Smuzhiyunelse
209*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dtcp=disabled
210*4882a593Smuzhiyunendif
211*4882a593Smuzhiyun
212*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND),y)
213*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dtypefind=enabled
214*4882a593Smuzhiyunelse
215*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dtypefind=disabled
216*4882a593Smuzhiyunendif
217*4882a593Smuzhiyun
218*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y)
219*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dvideotestsrc=enabled
220*4882a593Smuzhiyunelse
221*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dvideotestsrc=disabled
222*4882a593Smuzhiyunendif
223*4882a593Smuzhiyun
224*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE),y)
225*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dvideorate=enabled
226*4882a593Smuzhiyunelse
227*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dvideorate=disabled
228*4882a593Smuzhiyunendif
229*4882a593Smuzhiyun
230*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME),y)
231*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dvolume=enabled
232*4882a593Smuzhiyunelse
233*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dvolume=disabled
234*4882a593Smuzhiyunendif
235*4882a593Smuzhiyun
236*4882a593Smuzhiyun# Zlib is checked for headers and is not an option.
237*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_ZLIB),y)
238*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += zlib
239*4882a593Smuzhiyunendif
240*4882a593Smuzhiyun
241*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_XORG7),y)
242*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv
243*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += \
244*4882a593Smuzhiyun	-Dx11=enabled \
245*4882a593Smuzhiyun	-Dxshm=enabled \
246*4882a593Smuzhiyun	-Dxvideo=enabled
247*4882a593Smuzhiyunelse
248*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += \
249*4882a593Smuzhiyun	-Dx11=disabled \
250*4882a593Smuzhiyun	-Dxshm=disabled \
251*4882a593Smuzhiyun	-Dxvideo=disabled
252*4882a593Smuzhiyunendif
253*4882a593Smuzhiyun
254*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA),y)
255*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += alsa-lib
256*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dalsa=enabled
257*4882a593Smuzhiyunelse
258*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dalsa=disabled
259*4882a593Smuzhiyunendif
260*4882a593Smuzhiyun
261*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR),y)
262*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dtremor=enabled
263*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += tremor
264*4882a593Smuzhiyunelse
265*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dtremor=disabled
266*4882a593Smuzhiyunendif
267*4882a593Smuzhiyun
268*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS),y)
269*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dopus=enabled
270*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += opus
271*4882a593Smuzhiyunelse
272*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dopus=disabled
273*4882a593Smuzhiyunendif
274*4882a593Smuzhiyun
275*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG),y)
276*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dogg=enabled
277*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += libogg
278*4882a593Smuzhiyunelse
279*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dogg=disabled
280*4882a593Smuzhiyunendif
281*4882a593Smuzhiyun
282*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO),y)
283*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dpango=enabled
284*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += pango
285*4882a593Smuzhiyunelse
286*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dpango=disabled
287*4882a593Smuzhiyunendif
288*4882a593Smuzhiyun
289*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA),y)
290*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dtheora=enabled
291*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += libtheora
292*4882a593Smuzhiyunelse
293*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dtheora=disabled
294*4882a593Smuzhiyunendif
295*4882a593Smuzhiyun
296*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS),y)
297*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dvorbis=enabled
298*4882a593SmuzhiyunGST1_PLUGINS_BASE_DEPENDENCIES += libvorbis
299*4882a593Smuzhiyunelse
300*4882a593SmuzhiyunGST1_PLUGINS_BASE_CONF_OPTS += -Dvorbis=disabled
301*4882a593Smuzhiyunendif
302*4882a593Smuzhiyun
303*4882a593Smuzhiyun$(eval $(meson-package))
304