From a4e460fdf2a8ef65cbee4b224bb5c93c71e1a403 Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Thu, 7 Aug 2025 09:07:59 +0000 Subject: [PATCH] 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 --- x11-packages/luanti/build.sh | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/x11-packages/luanti/build.sh b/x11-packages/luanti/build.sh index c6fb11b61f..26be21f241 100644 --- a/x11-packages/luanti/build.sh +++ b/x11-packages/luanti/build.sh @@ -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() {