. "$GRIMOIRE"/MESON_DEPENDS &&

depends  dbus          &&
depends  glib2         &&
depends  libgcrypt     &&
depends  libgpg-error  &&
depends  libpsl        &&
depends  libtool       &&
depends  libxml2       &&
depends  sqlite        &&
case " $LIBSOUP_2_4_OPTS " in
  (*\ gnome=true\ *)
    depends libproxy &&
    depends gconf2   &&
    depends libgnome-keyring
    ;;
esac &&

optional_depends krb5 \
		 gssapi={enabled,disabled} \
		 "GSSAPI Kerberos 5 support" &&
optional_depends gtk-doc \
		 gtk_doc={true,false} \
		 "Build documenation with gtk-doc" &&
optional_depends vala \
		 vapi={enabled,disabled} \
		 'VALA bindings' &&

if is_depends_enabled $SPELL vala; then
  depends gobject-introspection introspection=enabled
else
  optional_depends gobject-introspection \
    introspection={enabled,disabled} \
    "for introspection"
fi &&

optional_depends -sub TLS glib-networking \
		 tls_check={true,false} \
		 'TLS support'
