If it's for a single frequency with a 50% duty cycle you could still use a pair of integrator made with Op-Amp.