Config.in 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. config BR2_PACKAGE_MINETEST
  2. bool "minetest"
  3. depends on BR2_INSTALL_LIBSTDCPP # irrlicht
  4. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
  5. depends on BR2_TOOLCHAIN_HAS_THREADS
  6. depends on BR2_PACKAGE_XORG7 # irrlicht
  7. depends on BR2_PACKAGE_HAS_LIBGL # irrlicht
  8. depends on BR2_PACKAGE_LUAJIT
  9. select BR2_PACKAGE_IRRLICHT
  10. select BR2_PACKAGE_GMP
  11. select BR2_PACKAGE_JSONCPP
  12. select BR2_PACKAGE_SQLITE
  13. select BR2_PACKAGE_ZLIB
  14. # At least one option must be enabled
  15. select BR2_PACKAGE_MINETEST_CLIENT if !BR2_PACKAGE_MINETEST_SERVER
  16. help
  17. Minetest is a near-infinite-world block sandbox game and a
  18. game engine, inspired by InfiniMiner, Minecraft, and the
  19. like.
  20. http://www.minetest.net
  21. if BR2_PACKAGE_MINETEST
  22. config BR2_PACKAGE_MINETEST_CLIENT
  23. bool "minetest client"
  24. select BR2_PACKAGE_BZIP2
  25. select BR2_PACKAGE_LIBPNG
  26. select BR2_PACKAGE_JPEG
  27. select BR2_PACKAGE_XLIB_LIBXXF86VM
  28. help
  29. Build Minetest client.
  30. config BR2_PACKAGE_MINETEST_SERVER
  31. bool "minetest server"
  32. help
  33. Build Minetest server.
  34. config BR2_PACKAGE_MINETEST_SOUND
  35. bool "enable sound"
  36. depends on BR2_PACKAGE_MINETEST_CLIENT
  37. depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
  38. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
  39. select BR2_PACKAGE_LIBVORBIS
  40. select BR2_PACKAGE_OPENAL
  41. comment "sound support needs a toolchain w/ threads NPTL"
  42. depends on BR2_PACKAGE_MINETEST_CLIENT
  43. depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
  44. depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
  45. endif
  46. comment "minetest needs a toolchain w/ C++, gcc >= 4.9, threads"
  47. depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
  48. depends on !BR2_INSTALL_LIBSTDCPP \
  49. || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
  50. || !BR2_TOOLCHAIN_HAS_THREADS
  51. comment "minetest needs X11 and an OpenGL provider"
  52. depends on (BR2_INSTALL_LIBSTDCPP \
  53. && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
  54. && BR2_TOOLCHAIN_HAS_THREADS)
  55. depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7