Weston Compositor on Alpine Linux from Source
Dependencies and Compiling
doas apk add libxkbcommon-dev pixman-dev libinput-dev libevdev-dev cairo-dev libjpeg-turbo-dev linux-pam-dev libseat-dev
meson setup -Dimage-webp=false -Dcolor-management-lcms=false -Dpipewire=false -Dbackend-pipewire=false -Dbackend-rdp=false -Ddemo-clients=false -Dxwayland=false build
cd build
meson compile
Running
Unfortunately it seemingly must be installed (unless it is possible to change the install destination directory somehow... which it should be).
doas meson install
export XDG_RUNTIME_DIR=/dev/shm/xdg-user
export WAYLAND_DISPLAY=wayland-2
/usr/local/bin/weston
Quit Weston with Ctrl Alt Bksp
.