. "$GRIMOIRE"/MESON_DEPENDS &&

depends python3 &&

optional_depends glib2                             \
                 "gobject_types=true"              \
                 "gobject_types=false"             \
                 "to enable Gobject types"         &&

if is_depends_enabled "${SPELL}" "glib2"; then
  config_query_option GRAPHENE_OPTS "Build tests?" "n"         \
                                    "tests=true" "tests=false"
fi &&

optional_depends gobject-introspection             \
                "introspection=enabled"            \
                "introspection=disabled"           \
                "to enable introspection support"  &&

optional_depends gtk-doc                           \
                "gtk_doc=true"                     \
                "gtk_doc=false"                    \
                "Build documentation with gtk-doc"
