PKGNAME=wlroots
PKGSEC=libs
PKGDEP="wayland libdrm libinput libxkbcommon pixman systemd \
        libxcb lcms2 seatd xcb-util-wm xcb-util libdisplay-info \
        hwdata libliftoff seatd xcb-util-renderutil vulkan-loader \
        vulkan-headers glslang xcb-util-errors mesa"
BUILDDEP="wayland-protocols meson ninja xcb-proto ctags xwayland"
PKGRECOM="xwayland"
PKGDES="Pluggable and composable modules for building a Wayland compositor"

ABTYPE=meson
MESON_AFTER=(
    "-Dxcb-errors=enabled"
    "-Dxwayland=enabled"
    "-Dexamples=false"
    "-Drenderers=gles2,vulkan"
    "-Dbackends=drm,libinput,x11"
    "-Dallocators=gbm,udmabuf"
    "-Dsession=enabled"
    "-Dcolor-management=enabled"
    "-Dlibliftoff=enabled"
)

PKGBREAK="cage<=0.2.1 sway<=1.11 scenefx<=0.4.1 swayfx<=0.5.3 labwc<=0.9.7"
