L-packets and Abelian varieties