DISTRO_FEATURES:append = " wayland "

require base-image.inc

EXTRA_USERS_PARAMS:append = "useradd xdg; \
                            usermod -d /run/xdg xdg; \
                            usermod -a -G video xdg; \
                            usermod -a -G input xdg; \
                            usermod -a -G tty xdg; \
                            usermod -a -G avahi diya; \
                            usermod -a -G xdg diya;"
IMAGE_INSTALL:append = "pango \
                        seatd \
                        pixman \
                        cairo \
                        glib-2.0 \
                        freetype \
                        fontconfig \
                        librsvg librsvg-gtk \
                        gdk-pixbuf \
                        gtk4 \
                        gtk4-layer-shell \
                        libadwaita \
                        gobject-introspection \
                        wayland wayland-protocols wlroots \
                        foot \
                        mc \
                        gdbserver gdb \
                        wlr-randr \
                        diya-session-manager \
                        "
PACKAGE_EXCLUDE = " gtk+ gtk+3 adwaita-icon-theme "
IMAGE_INSTALL:remove = " gtk+ gtk+3 adwaita-icon-theme "
# wlr-randr l3afpad wlopm cairo-egl  webkitgtk 