chore(x11/luanti): adjust dependencies to be more explicitly enabled and disabled

- Disable LTO because of an error: `gold` is required for LTO in Luanti, but it is not available while cross-compiling.

- Disable Redis to avoid accidentally linking to it because I do not personally need it in Luanti and it could impact device storage longevity; please let me know if you would like it and then I would enable it. Sqlite support is already enabled.

- Disable Leveldb, for the same reason as Redis

- Disable PostgreSQL, for the same reason as Redis

- Disable Prometheus, for the same reason as Redis

- Disable SpatialIndex, for the same reason as Redis

- Adjust other dependencies to be explicitly specified along with those how I intend them, for stability
This commit is contained in:
termux-pacman-bot
2025-08-07 09:07:59 +00:00
parent 4887f6961a
commit a4e460fdf2

View File

@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="An open source voxel game engine."
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1:5.13.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/luanti-org/luanti/archive/refs/tags/${TERMUX_PKG_VERSION:2}.tar.gz
TERMUX_PKG_SHA256=9a69725ecd15b793a8fa0094166a9081368b8fc9ccd6ce84d3985833c8284ea0
TERMUX_PKG_AUTO_UPDATE=true
@@ -17,9 +18,21 @@ TERMUX_PKG_DEPENDS="freetype, jsoncpp, libandroid-spawn, libc++, libcurl, libgmp
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DBUILD_SERVER=TRUE
-DBUILD_BENCHMARKS=TRUE
-DENABLE_UPDATE_CHECKER=0
-DENABLE_CURSES=0
-DUSE_SDL2=0
-DENABLE_CURL=TRUE
-DENABLE_GETTEXT=TRUE
-DENABLE_LUAJIT=TRUE
-DENABLE_SYSTEM_GMP=TRUE
-DENABLE_SYSTEM_JSONCPP=TRUE
-DENABLE_OPENSSL=TRUE
-DENABLE_POSTGRESQL=FALSE
-DENABLE_UPDATE_CHECKER=FALSE
-DENABLE_CURSES=FALSE
-DENABLE_LEVELDB=FALSE
-DENABLE_SPATIAL=FALSE
-DENABLE_LTO=FALSE
-DENABLE_REDIS=FALSE
-DENABLE_PROMETHEUS=FALSE
-DUSE_SDL2=FALSE
"
termux_step_pre_configure() {