Rashida Jones will co-star with Melissa McCarthy and Seth Rogen in 'B.O.O.'

The 'I Love You Man' actress and 'Magic Mike' actor Matt Bomer have landed voice roles alongside the leading stars in DreamWorks' new animated caper, reports TheWrap.com.

The cartoon flick takes place in the Bureau of Otherworldly Operations (B.O.O.) - a top secret government agency tasked with protecting the world from hauntings - where new agent Jackson Moss (voiced by Rogen) and his partner Watts (McCarthy) uncover a plot to destroy the organisation and must defeat the bureau's most wanted haunter and his gang of ghouls in order to save the world.

Jones will voice Rogen's ex-wife, while Bomer will play her new husband who is a perfect stepfather to Rogen's son - much to his chagrin.

The movie is set to be directed by 'Igor' helmer Anthony Leonidis and the script was written by 'Puss in Boots' scribe Tom Wheeler, based on an original idea from the director.

Jones previously starred in TV sitcom 'Parks and Recreation' and recently finished filming salsa dancing comedy 'Cuban Fury' with Chris O'Dowd.

Meanwhile, Bomer stars in TV drama 'White Collar'.

'B.O.O.' is due for release in June 2015.