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