tce-load -i compiletc meson cmake Xorg-7.7-3d-dev wayland-protocols libinput-dev libwebp1-dev libva2-dev libxkbcommon-dev pango-dev linux-pam-dev lcms2-dev colord-dev freerdp-dev gst-plugins-base-dev pipewire03-dev

wget https://wayland.freedesktop.org/releases/weston-10.0.0.tar.xz

cd weston-10.0.0

patch -Np0 -i ../weston-1.12.0_group.patch

mkdir build
cd build

CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" meson --prefix=/usr/local --localstatedir=/var --libexecdir=/usr/local/lib/weston --buildtype=plain -Dsystemd=false -Dlauncher-logind=false -Dxwayland-path=usr/local/bin/Xwayland -Dshell-ivi=false -Ddeprecated-weston-launch=true

ninja [0m 38.54s]
sudo ninja install

weston 10.0.0

  User defined options
    buildtype               : plain
    libexecdir              : /usr/local/lib/weston
    localstatedir           : /var
    prefix                  : /usr/local
    deprecated-weston-launch: true
    launcher-logind         : false
    systemd                 : false
    xwayland-path           : usr/local/bin/Xwayland


Running custom install script '/bin/echo REMINDER: You are installing weston-launch, please make it setuid-root.'

                $ sudo mkdir -p /run/user/$(id -u)
                $ sudo chown tc:staff /run/user/$(id -u)
                $ sudo chmod 700 /run/user/$(id -u)
                $ XDG_RUNTIME_DIR=/run/user/$(id -u) weston-launch
