Contact line depinning from sharp edges