The singer-actress will appear alongside Jim Parsons in an animated film called 'Happy Smekday'

Rihanna has landed a lead voice role in a new film from DreamWorks Animation, the makers of Shrek and Kung Fu Panda.

The singer-actress will appear alongside Jim Parsons from TV comedy The Big Bang Theory in an upcoming animated movie called Happy Smekday!.

The film is an adaptation of The True Meaning of Smekday, a popular children’s sci-fi novel by author Adam Rex that was published in 2007.

Tim Johnson, who helmed previous DreamWorks Animation hits Antz and Over The Hedge, is to direct. Get Smart writers Tom J. Astle and Matt Ember will provide the screenplay.

According to The Hollywood Reporter, the studio hopes to release the film during the final quarter of 2014.

Happy Smekday! will be Rihanna’s second lead film role after this year’s Battleship, a live action movie in which she played a US Navy officer facing an alien invasion.