depends -sub CXX gcc &&
depends autoconf &&
depends automake &&
depends libtool &&
depends gtk+3 &&
depends icu &&
depends gperf &&
depends libpng &&
depends JPEG &&
depends bison &&
depends flex &&
depends sqlite &&
depends libsoup &&
depends enchant &&
depends libxt &&
depends perl &&
depends PYTHON &&
depends RUBY &&

optional_depends gtk-doc '--enable-gtk-doc' \
                         ''                 \
                         'Build documentation?' &&

optional_depends cairo '--enable-svg' \
                       '--disable-svg' \
                       'Enable SVG support?' &&

optional_depends libxslt '--enable-xslt' \
                         '--disable-xslt' \
                         'for XSLT support' &&

if [[ $WEBKIT_FONT_BE == freetype2 ]]; then
  depends freetype2
else
  depends pango "--with-font-backend=pango"
fi &&

optional_depends gst-plugins-base  \
                 "--enable-video" \
                 "--disable-video" \
                 "for HTML5 streaming video support" &&

optional_depends gobject-introspection             \
                 "--enable-introspection"          \
                 "--disable-introspection"         \
                 "to enable introspection"         &&

optional_depends geoclue                             \
                 "--enable-geolocation"              \
                 "--disable-geolocation"             \
                 "to enable geolocation support"

#if is_depends_enabled $SPELL gobject-introspection; \
#  then depends gir-repository; fi
