Building Godot 3.5 For Linux Aarch64

TESTED ON Galaxy Tab S7 (rooted) with Fedora 36 via termux

sudo dnf install scons pkgconfig libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel libXi-devel mesa-libGL-devel mesa-libGLU-devel alsa-lib-devel pulseaudio-libs-devel libudev-devel gcc-c++ libstdc++-static libatomic-static

if the above doesn't work, some packages from the 'archived' stuff below might be needed
Clone this repo

#git clone

Download the release instead:

curl -OL
cd godot
scons platform=x11 tools=yes target=release_debug

IGNORE BELOW, SAVED FOR ARCHIVAL REASONS (might need it for compiling other stuff)

Building using .spec file, then scons

sudo yum install rpm-build fedora-packager freetype-devel GLC_lib-devel python3-scons alsa-lib-devel bullet-devel rust-libpulse-binding-devel rust-libudev-devel libwebp-devel libzstd-devel libogg-devel opus-devel opusfile-devel libtheora-devel libvorbis-devel libvpx-devel desktop-file-utils embree-devel mbedtls-devel miniupnpc-devel 
curl -Lo ~/rpmbuild/SOURCES/godot-3.5-stable.tar.xz
curl -Lo ~/rpmbuild/SOURCES/godot-3.5-stable.tar.xz.sha256
git clone
rpmbuild -ba godot.spec
cd ~/rpmbuild/BUILD/godot-3.5-stable/
scons platform=x11 tools=yes target=release_debug

Termux seems to crash before the last step completes, which prevents it from finishing