1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Build with the imported IrrlichtMt at irr

Also remove the now useless options (like IRRLICHT_INCLUDE_DIR)
and update download instructions, CI and similar.

Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
Desour 2024-03-21 20:43:20 +01:00 committed by sfan5
parent f638482fba
commit 9cee9bc279
21 changed files with 47 additions and 170 deletions

View file

@ -4,19 +4,11 @@
install_linux_deps() {
local pkgs=(
cmake gettext postgresql
libpng-dev libjpeg-dev libxi-dev libgl1-mesa-dev
libpng-dev libjpeg-dev libgl1-mesa-dev libsdl2-dev
libsqlite3-dev libhiredis-dev libogg-dev libgmp-dev libvorbis-dev
libopenal-dev libpq-dev libleveldb-dev libcurl4-openssl-dev libzstd-dev
)
if [[ "$1" == "--no-irr" ]]; then
shift
else
local ver=$(cat misc/irrlichtmt_tag.txt)
wget "https://github.com/minetest/irrlicht/releases/download/$ver/ubuntu-focal.tar.gz"
sudo tar -xaf ubuntu-focal.tar.gz -C /usr/local
fi
sudo apt-get update
sudo apt-get install -y --no-install-recommends "${pkgs[@]}" "$@"