tce-load -i compiletc scons yasm Xorg-7.7-3d-dev pulseaudio-dev

https://github.com/godotengine/godot/archive/3.0.6-stable.tar.gz

cd godot-3.0.6-stable

scons PREFIX=/usr/local CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe" tools=yes target=release bits=64 platform=x11 udev=yes yasm=yes

[-fno-rtti fails]

git clone https://github.com/godotengine/godot-demo-projects/

Make sure to click Edit instead of Run at least once in the Project Manager, so that assets such as textures can be imported by the editor.

mkdir -p ~/.config/godot/projects
mkdir -p ~/.local/share
mkdir -p ~/.cache/godot
