tce-load -lwi compiletc cmake meson lua-5.4-dev lua-5.4 lua-5.4-lib freetype freetype-dev sdl2 sdl2-dev pcre2-dev sstrip squashfs-tools python3.9-pip wget -O- --no-check-certificate https://github.com/lite-xl/lite-xl/archive/refs/tags/v2.1.5.tar.gz | tar -xz cd lite-xl-2.1.5/ export CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" export CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" #the compiler still cant find freetype2, he downloads something somewhere export C_INCLUDE_PATH=/usr/local/include/lua5.4:/usr/local/include/freetype2 meson setup --buildtype=release -D use_system_lua=true --prefix /usr/local/ build DESTDIR="/tmp/lite-xl" meson install --skip-subprojects -C build find /tmp/lite-xl/ -exec sstrip -z {} \; mksquashfs /tmp/lite-xl/ ../lite-xl.tcz