First convert the square wave into a triangle wave, then round the edges of the triangle wave.

A search on Google should give you plenty of circuits for square to sine, square to triangle, and triangle to sine.