adfc272376
"The inclusion of GLU is historical. [...] It's not needed for GLEW to build or run, but it's opt-out that reason. I'd recommend using -DGLEW_NO_GLU since GLU is rarely seen in modern codebases nowadays." https://github.com/nigels-com/glew/issues/192#issuecomment-411641657 Each package using glew.h has to decide whether to use the opt-out for glu or not. Since supertux does not need libglu we can safely remove the dependency by adding -DGLEW_NO_GLU to TARGET_CXXFLAGS. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
config BR2_PACKAGE_SUPERTUX
|
|
bool "supertux"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_PACKAGE_HAS_LIBGL # libglew
|
|
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_XORG7 # libglew, SDL2 OpenGL (GLX)
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6 # C++14
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
|
|
depends on BR2_USE_MMU # SDL2 OpenGL (GLX)
|
|
depends on !BR2_STATIC_LIBS # SDL2
|
|
depends on BR2_USE_WCHAR # Boost
|
|
select BR2_PACKAGE_BOOST
|
|
select BR2_PACKAGE_BOOST_DATE_TIME
|
|
select BR2_PACKAGE_BOOST_FILESYSTEM
|
|
select BR2_PACKAGE_BOOST_LOCALE
|
|
select BR2_PACKAGE_BOOST_SYSTEM
|
|
select BR2_PACKAGE_FREETYPE
|
|
select BR2_PACKAGE_LIBCURL
|
|
select BR2_PACKAGE_LIBGLEW
|
|
select BR2_PACKAGE_LIBOGG
|
|
select BR2_PACKAGE_LIBPNG
|
|
select BR2_PACKAGE_LIBVORBIS
|
|
select BR2_PACKAGE_OPENAL
|
|
select BR2_PACKAGE_PHYSFS
|
|
select BR2_PACKAGE_SDL2
|
|
select BR2_PACKAGE_SDL2_IMAGE
|
|
select BR2_PACKAGE_SDL2_OPENGL
|
|
help
|
|
SuperTux is a free classic 2D jump'n run sidescroller game in
|
|
a style similar to the original Super Mario games covered
|
|
under the GNU GPL.
|
|
|
|
http://supertux.github.io/
|
|
|
|
comment "supertux needs OpenGL and a toolchain w/ C++, gcc >= 6, NPTL, dynamic library, wchar"
|
|
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_XORG7
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_HAS_LIBGL || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_6 || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
BR2_STATIC_LIBS || !BR2_USE_WCHAR
|