depends cmake &&
depends libnotify &&
depends libxml2 &&
depends libsoup &&
depends python  &&
depends sqlite &&
depends vala &&

if [[ "$MIDORI_BRANCH" == "scm" ]]; then
  depends  bzr
fi &&

optional_depends gtk+3 \
                 "-DUSE_GTK3=ON" \
                 "-DUSE_GTK3=OFF" \
                 "use GTK3 instead of GTK2?" &&

if is_depends_enabled $SPELL gtk+3 ; then
  depends webkitgtk3 &&
  optional_depends granite \
                 "-DUSE_GRANITE=ON" \
                 "-DUSE_GRANITE=OFF" \
                 "for fancy notebook and pop-overs"  
else
  depends gtk+2 &&
  depends webkitgtk
fi &&

optional_depends GETTEXT \
                 "-DENABLE_NLS=1" \
                 "-DENABLE_NLS=0" \
                 "for native language support" &&

optional_depends gobject-introspection \
                 "-DUSE_GIR=ON" \
                 "-DUSE_GIR=OFF" \
                 "generate GObject Introspection bindings" &&

optional_depends libzeitgeist \
                 "-DUSE_ZEITGEIST=ON" \
                 "-DUSE_ZEITGEIST=OFF" \
                 "for Zeitgeist history integration" &&

optional_depends gtk-doc \
                 "-DUSE_APIDOCS=ON" \
                 "-DUSE_APIDOCS=OFF" \
                 "for API documentation" &&

optional_depends gnome-icon-theme "" "" "for all the icons" &&
optional_depends librsvg2 "" "" "for icon optimizations"
