. "${GRIMOIRE}/MESON_DEPENDS"       &&
depends aquamarine                  &&
depends PKG-CONFIG                  &&
depends git                         &&
depends glaze                       &&
depends wayland                     &&
depends wayland-protocols           &&
depends libglvnd                    &&
depends libxcursor                  &&
depends libxkbcommon                &&
depends libinput                    &&
depends cairo                       &&
depends pixman                      &&
depends OPENGL                      &&
depends seatd                       &&
depends tomlplusplus                &&
depends hyprcursor                  &&
depends hyprgraphics                &&
depends hyprland-protocols          &&
depends hyprlang                    &&
depends hyprutils                   &&
depends hyprwayland-scanner         &&
depends re2                         &&
depends util-linux                  &&
depends DEVICE-MANAGER &&

optional_depends xwayland                            \
                 'xwayland=enabled'                  \
                 'xwayland=disabled'                 \
                 'Enable x11 application support?'   &&

if is_depends_enabled $SPELL xwayland; then
  depends libxcb &&
  depends xcb-util-errors &&
  depends xcb-util-renderutil &&
  depends xcb-util-wm         &&
  optional_depends xcb-util-errors '' '' 'Improved error reporting?'
fi &&

optional_depends systemd                             \
                 'systemd=enabled'                   \
                 'systemd=disabled'                  \
                 'Enable systemd support?'
