xref: /OK3568_Linux_fs/buildroot/package/ogre/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_OGRE
2	bool "ogre"
3	depends on BR2_PACKAGE_HAS_LIBGL # libglu
4	depends on BR2_PACKAGE_XORG7
5	depends on BR2_INSTALL_LIBSTDCPP
6	depends on BR2_TOOLCHAIN_HAS_THREADS
7	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
8	depends on !BR2_STATIC_LIBS
9	depends on BR2_USE_MMU
10	depends on BR2_USE_WCHAR # use wchar_t
11	select BR2_PACKAGE_FREETYPE
12	select BR2_PACKAGE_LIBFREEIMAGE
13	select BR2_PACKAGE_SDL2
14	select BR2_PACKAGE_SDL2_OPENGL
15	select BR2_PACKAGE_SDL2_X11 # use wmInfo.info.x11
16	select BR2_PACKAGE_XLIB_LIBX11
17	select BR2_PACKAGE_XLIB_LIBXAW
18	select BR2_PACKAGE_XLIB_LIBXEXT
19	select BR2_PACKAGE_XLIB_LIBXRANDR
20	select BR2_PACKAGE_ZZIPLIB
21	help
22	  OGRE is a scene-oriented, flexible 3D engine written in C++
23	  designed to make it easier and more intuitive for developers
24	  to produce games and demos utilising 3D hardware. The class
25	  library abstracts all the details of using the underlying
26	  system libraries like Direct3D and OpenGL and provides an
27	  interface based on world objects and other intuitive classes.
28
29	  https://ogrecave.github.io/ogre
30
31comment "ogre needs X11 and an OpenGL provider"
32	depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7
33	depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
34		&& BR2_INSTALL_LIBSTDCPP && !BR2_STATIC_LIBS && BR2_USE_WCHAR
35	depends on BR2_USE_MMU
36
37comment "ogre needs a toolchain w/ C++, dynamic library, gcc >= 4.8, threads, wchar"
38	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
39		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
40		|| !BR2_USE_WCHAR
41	depends on BR2_USE_MMU
42