Share Gabon striker Pierre-Emerick Aubameyang has retired from international football, his country’s federation has confirmed.