glibc: install libmvec.so when available
[buildroot-gz.git] / package / efl / Config.in
blobf963ade8e5605d76e3c609174e2699858a901200
1 config BR2_PACKAGE_EFL
2         bool "efl"
3          # g++ issue with 4.4.5, tested with g++ 4.7.2
4         depends on BR2_HOST_GCC_AT_LEAST_4_7
5         depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
6         depends on BR2_INSTALL_LIBSTDCPP
7         depends on BR2_PACKAGE_HAS_UDEV # libudev
8         depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS # luajit
9         depends on BR2_TOOLCHAIN_HAS_THREADS # untested without threads
10         depends on BR2_USE_MMU
11         depends on BR2_USE_WCHAR # use wchar_t
12         depends on !BR2_STATIC_LIBS # dlfcn.h
13         select BR2_PACKAGE_DBUS
14         select BR2_PACKAGE_FREETYPE
15         select BR2_PACKAGE_JPEG # Emile needs libjpeg
16         select BR2_PACKAGE_LIBCURL # Ecore_con_url, runtime dependency
17         select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND
18         # https://phab.enlightenment.org/T2728
19         select BR2_PACKAGE_LUAJIT # Lua support broken
20         select BR2_PACKAGE_UTIL_LINUX
21         # libblkid is part of required tools, see EFL's README.
22         select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
23         select BR2_PACKAGE_ZLIB
24         help
25           Enlightenment Foundation Libraries
27           https://enlightenment.org
29 if BR2_PACKAGE_EFL
31 config BR2_PACKAGE_EFL_BULLET
32         bool "Enable bullet support (recommended)"
33         select BR2_PACKAGE_BULLET
34         default y
35         help
36           If you have chosen to disable physics support, this disables
37           lots of core functionality and is effectively never
38           tested. You are going to find features that suddenly don't
39           work and as a result cause a series of breakages. This is
40           simply not tested so you are on your own in terms of
41           ensuring everything works if you do this.
43 config BR2_PACKAGE_EFL_FONTCONFIG
44         bool "Enable fontconfig support (recommended)"
45         select BR2_PACKAGE_FONTCONFIG
46         default y
47         help
48           If fontconfig is disabled, this is going to make general
49           font searching not work, and only some very direct 'load
50           /path/file.ttf' will work alongside some old-school ttf file
51           path searching. This is very likely not what you want, so
52           highly reconsider turning fontconfig off. Having it off will
53           lead to visual problems like missing text in many UI areas
54           etc...
56 config BR2_PACKAGE_EFL_GSTREAMER1
57         bool "Enable gstreamer1 support (recommended)"
58         select BR2_PACKAGE_GSTREAMER1
59         select BR2_PACKAGE_GST1_PLUGINS_BASE
60         default y
61         help
62           If Gstreamer 1.x support is disabled, it will heavily limit
63           your media support options and render some functionality as
64           useless, leading to visible application bugs.
66 config BR2_PACKAGE_EFL_LIBFRIBIDI
67         bool "Enable libfribidi support (recommended)"
68         select BR2_PACKAGE_LIBFRIBIDI
69         default y
70         help
71           Fribidi is used for handling right-to-left text (like
72           Arabic, Hebrew, Farsi, Persian etc.) and is very likely not
73           a feature you want to disable unless you know for absolute
74           certain you will never encounter and have to display such
75           scripts. Also note that we don't test with fribidi disabled
76           so you may also trigger code paths with bugs that are never
77           normally used.
79 config BR2_PACKAGE_EFL_LIBSNDFILE
80         bool "Enable libsndfile support (recommended)"
81         select BR2_PACKAGE_LIBSNDFILE
82         default y
83         help
84           If you disabled audio support in Ecore, this is not tested
85           and may create bugs for you due to it creating untested code
86           paths.  Reconsider disabling audio.
88 config BR2_PACKAGE_EFL_PULSEAUDIO
89         bool "Enable pulseaudio support (recommended)"
90         depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c
91         select BR2_PACKAGE_PULSEAUDIO
92         default y
93         help
94           The only audio output method supported by Ecore right now is
95           via Pulseaudio. You have disabled that and likely have
96           broken a whole bunch of things in the process. Reconsider
97           your configure options.
99           NOTE: multisense support is automatically enabled with
100           pulseaudio.
102 config BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT
103         bool "Enable libmount support (recommended)"
104         select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
105         default y
106         help
107           Libmount is used heavily inside Eeze for support of removable
108           devices etc... and disabling this will hurt support for
109           Enlightenment and its filemanager.
111 config BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG
112         bool
113         default y if BR2_PACKAGE_EFL_BULLET && \
114                 BR2_PACKAGE_EFL_FONTCONFIG && \
115                 BR2_PACKAGE_EFL_GSTREAMER1 && \
116                 BR2_PACKAGE_EFL_LIBFRIBIDI && \
117                 BR2_PACKAGE_EFL_LIBSNDFILE && \
118                 BR2_PACKAGE_EFL_PULSEAUDIO && \
119                 BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT
122 comment "Warning: one of the recommended option for EFL is not enabled"
123         depends on !BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG
125 config BR2_PACKAGE_EFL_EOLIAN_CPP
126         bool "Enable Eolian C++ bindings"
127         depends on BR2_HOST_GCC_AT_LEAST_4_8 # Eolian (host) needs C++11
128         depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # Eolian needs C++11
129         help
130           Eolian is an EO object parser and code generator.
131           With this option enabled Eolian will handle automatic generation
132           of EFL bindings for the C++11 language.
134 comment "Eolian needs host and target gcc >= 4.8"
135         depends on !BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
137 comment "libecore video support"
139 config BR2_PACKAGE_EFL_FB
140         bool "FB support"
142 config BR2_PACKAGE_EFL_X_XLIB
143         bool "X11 support (xlib)"
144         depends on BR2_PACKAGE_XORG7
145         select BR2_PACKAGE_XLIB_LIBX11
146         select BR2_PACKAGE_XLIB_LIBXEXT
147         select BR2_PACKAGE_XLIB_LIBXCOMPOSITE
148         select BR2_PACKAGE_XLIB_LIBXCURSOR
149         select BR2_PACKAGE_XLIB_LIBXDAMAGE
150         select BR2_PACKAGE_XLIB_LIBXINERAMA
151         select BR2_PACKAGE_XLIB_LIBXP
152         select BR2_PACKAGE_XLIB_LIBXRANDR
153         select BR2_PACKAGE_XLIB_LIBXRENDER
154         select BR2_PACKAGE_XLIB_LIBXSCRNSAVER
155         select BR2_PACKAGE_XLIB_LIBXTST
156         select BR2_PACKAGE_XPROTO_GLPROTO
158 choice
159         bool "OpenGL support"
160         help
161           libevas can be configured to use HW acceleration with OpenGL or
162           OpenGL ES.
164 config BR2_PACKAGE_EFL_OPENGL
165         bool "OpenGL"
166         depends on BR2_PACKAGE_HAS_LIBGL
167         depends on BR2_PACKAGE_XORG7
168         select BR2_PACKAGE_EFL_X_XLIB
170 comment "OpenGL support needs X11 and an OpenGL provider"
171         depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7
173 config BR2_PACKAGE_EFL_OPENGLES
174         bool "OpenGL ES (w/ EGL)"
175         depends on BR2_PACKAGE_HAS_LIBEGL
176         depends on BR2_PACKAGE_HAS_LIBGLES
178 comment "OpenGL ES support needs an OpenGL ES w/ EGL provider"
179         depends on !BR2_PACKAGE_HAS_LIBGLES || !BR2_PACKAGE_HAS_LIBEGL
181 config BR2_PACKAGE_EFL_OPENGL_NONE
182         bool "none"
184 endchoice # OpenGL support
186 config BR2_PACKAGE_EFL_ELPUT
187         bool "Elput"
188         select BR2_PACKAGE_LIBINPUT
189         select BR2_PACKAGE_LIBXKBCOMMON
190         help
191           The elput library is an efl abstraction for the libinput library
192           which can be used by various other subsystems (ecore_fb,
193           ecore_drm, etc) to handle interfacing with libinput without
194           having to duplicate the code in each subsystem.
196 comment "libevas loaders"
198 config BR2_PACKAGE_EFL_PNG
199         bool "libevas png loader"
200         select BR2_PACKAGE_LIBPNG
201         help
202           This enables the loader code that loads png files using
203           libpng.
205 # JP2K support require openjpeg 1.x (libopenjpeg1.pc) which is not
206 # available in Buildroot anymore.
207 config BR2_PACKAGE_EFL_JP2K
208         bool "libevas jp2k loader"
209         select BR2_PACKAGE_OPENJPEG
210         depends on BROKEN # require openjpeg 1.x
211         help
212           This enables the loader code that loads jp2k files using
213           openjpeg.
215 config BR2_PACKAGE_EFL_JPEG
216         bool "libevas jpeg loader"
217         help
218           This enables the loader code that loads jpeg files using
219           libjpeg.
221 config BR2_PACKAGE_EFL_GIF
222         bool "libevas gif loader"
223         select BR2_PACKAGE_GIFLIB
224         help
225           This enables the loader code that loads gif files using
226           giflib.
228 config BR2_PACKAGE_EFL_TIFF
229         bool "libevas tiff loader"
230         select BR2_PACKAGE_TIFF
231         help
232           This enables the loader code that loads tiff files.
234 config BR2_PACKAGE_EFL_WEBP
235         bool "libevas webp image loader"
236         select BR2_PACKAGE_WEBP
237         help
238           This enables the loader code that loads images using WebP.
240 config BR2_PACKAGE_EFL_LIBRAW
241         bool "libraw loader"
242         select BR2_PACKAGE_LIBRAW
243         help
244           This option enables the Evas generic Libraw loader
246 config BR2_PACKAGE_EFL_SVG
247         bool "SVG loader"
248         depends on BR2_TOOLCHAIN_HAS_SYNC_4 # librsvg -> pango -> harfbuzz
249         select BR2_PACKAGE_LIBRSVG
250         select BR2_PACKAGE_CAIRO
251         help
252           This option enables the Evas generic SVG loader
254 endif # BR2_PACKAGE_EFL
256 comment "efl needs udev /dev management and a toolchain w/ C++, dynamic library, gcc >= 4.7, threads, wchar"
257         depends on !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP \
258                 || !BR2_HOST_GCC_AT_LEAST_4_7 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 \
259                 || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
260         depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
261         depends on BR2_USE_MMU