version = "14.0.2" revision = 1 description = "Reference Wayland compositor (Weston)" license = "MIT" url = "https://gitlab.freedesktop.org/wayland/weston" source = tarball( url=f"https://gitlab.freedesktop.org/wayland/weston/-/releases/{version}/downloads/weston-{version}.tar.xz", sha256="b47216b3530da76d02a3a1acbf1846a9cd41d24caa86448f9c46f78f20b6e0ac", ) host_deps = ["binutils", "gcc", "pkgconf"] deps = [ profile["libc"], "wayland", "wayland-protocols", "libxkbcommon", "pixman", "cairo", "libinput", "mesa", "libdrm", "libdisplay-info", "seatd", "pango", "glib2", "libjpeg-turbo", "libpng", "freetype2", "fontconfig", "ttf-dejavu", ] configure, build, install = meson( configure_args=[ # DRM backend with the GL renderer; seatd (libseat) launcher, no logind. "-Dbackend-drm=true", "-Dbackend-headless=true", "-Dbackend-wayland=true", "-Dbackend-x11=false", "-Dbackend-rdp=false", "-Dbackend-vnc=false", "-Dbackend-pipewire=false", "-Dbackend-drm-screencast-vaapi=false", "-Drenderer-gl=true", "-Dxwayland=false", "-Dsystemd=false", # libseat (seatd) is auto-detected in weston 14; no explicit option. "-Dimage-jpeg=true", "-Dimage-webp=false", "-Dremoting=false", "-Dpipewire=false", "-Dcolor-management-lcms=false", "-Ddemo-clients=true", "-Dsimple-clients=damage,im,egl,shm,touch", # Test suite needs extra generated protocol headers and isn't needed. "-Dtests=false", "-Dtest-junit-xml=false", ], )