FilmDistrict has set an Oct. 28 opening for “The Rum Diary,” starring Johnny Depp and based on the Hunter S. Thompson novel.

“Rum” also stars Aaron Eckhart, Amber Heard, Michael Rispoli, Richard Jenkins and Giovanni Ribisi. It’s directed by Bruce Robinson (“Withnail and I”) from his own screenplay.

Bob Berney, president of theatrical distribution, made the announcement Tuesday at CinemaCon.

“Rum” will face openings from Lionsgate’s horror vehicle “Dibbuk Box” and Fox thriller “Now,” starring Amanda Seyfried. It’s a GK Films, Infinitum Nihil and Film Engine production and produced by Depp, Christi Dembrowski, Anthony Rhulen, Robert Kravis, Tim Headington and Graham King.

“Rum” tells the story of an itinerant journalist who travels to Puerto Rico and adopts the rum-soaked lifestyle of the late ’50s as in Hemingway’s “The Lost Generation.” Film wrapped in 2009.

“Hunter S. Thompson became close with Johnny Depp during the filming of ‘Fear and Loathing in Las Vegas’ and showed Depp the unpublished manuscript for ‘The Rum Diary,’ ” King said. “I am extremely proud to bring this novel to film and to honor Hunter’s legacy.”King and Headington’s GK Films founded FilmDistrict last September in partnership with Peter Schlessel.

The company’s “Insidious” opens Friday, followed by “Soul Surfer” on April 8.