Depinning transition of self-propelled particles