package/minetest: depend on LuaJIT

Luajit is a provider for luainterpreter. We can't select providers of
virtual packages; we can only depend on them.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[yann.morin.1998@free.fr:
  - a lua interpreter is needed, so don't drop the dependency
  - make it a "depends on" rather than a "select"
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
James Hilliard 2020-05-24 18:48:42 -06:00 committed by Yann E. MORIN
parent f3134e7159
commit 4e387bc210

View File

@ -5,11 +5,10 @@ config BR2_PACKAGE_MINETEST
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_PACKAGE_XORG7 # irrlicht
depends on BR2_PACKAGE_HAS_LIBGL # irrlicht
depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
depends on BR2_PACKAGE_LUAJIT
select BR2_PACKAGE_IRRLICHT
select BR2_PACKAGE_GMP
select BR2_PACKAGE_JSONCPP
select BR2_PACKAGE_LUAJIT
select BR2_PACKAGE_SQLITE
select BR2_PACKAGE_ZLIB
# At least one option must be enabled
@ -59,7 +58,6 @@ comment "minetest needs a toolchain w/ C++, gcc >= 4.9, threads"
|| !BR2_TOOLCHAIN_HAS_THREADS
comment "minetest needs X11 and an OpenGL provider"
depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
depends on (BR2_INSTALL_LIBSTDCPP \
&& BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
&& BR2_TOOLCHAIN_HAS_THREADS)