From everything I've seen so far, the ponies seem to be herbivores. We never see them eat meat products of any kind. But the Apple family raises pigs in their farm (Season 3 Episode 10 "Spike at Your Service"). It makes sense for ponies to raise sheep (for the wool), cows (for the milk) and chickens (for the eggs), but why would they need to raise pigs if they don't eat meat?
According to Lauren Faust, creator, writer and Senior Animator of "Friendship is Magic", the pigs were kept for humanitarian (pigitarian? ponitarian?) reasons as well as to help the ponies to locate truffles.
Obviously it can't be for food, given that ponies in Equestria are
Equestrian ponies are not exclusively herbivores.
That looks like a meat sandwich to me, and Pinkie Pie references hot dogs in Fall Weather Friends.
One could argue that they're vegetarian equivalents, but that just pushes the notion back to "equivalent of what?" The presence of a vegetarian hot dog implies an original meat hot dog for it to be mimicking.
Equestrian ponies aren't like real-world ponies in many ways. Being omnivores is one of these differences.
(It doesn't seem that they eat a lot of meat. Faust's justification of pigs as truffle-hunters is probably also true, perhaps even primarily true, but it probably isn't the entire truth. Please note, even in an unofficial off-the-cuff answer Faust didn't indicate that ponies don't eat meat).
The ponies are shown several times baking and cooking various meals and dishes. Some of these require some kind of fatty substances that could be pig lard. They also wear clothes sometimes, for which they could use pig leather. Pig hooves can be used to fabricate buttons that can also be used to make dresses.