The long wait for a new Frank Ocean album may nearly be over.

Mr. Ocean, the innovative and enigmatic R&B singer, is set to release his next album, “Boys Don’t Cry,” on Friday through an exclusive deal with Apple Music, according to a person with knowledge of the release plans. The release is also expected to include a major video and a printed publication called “Boys Don’t Cry” that will be distributed at Apple stores.

Mr. Ocean’s album is expected to remain exclusive to Apple for only two weeks before becoming more widely available, according to that person, who was not authorized to discuss the release plans and therefore spoke on condition of anonymity. But it is another coup for Apple, which has struck a series of deals with artists including Drake, Future, Chance the Rapper and the band The 1975, that have each given the company’s streaming service an early lock on a hot new record.

A spokesman for Mr. Ocean’s label, Def Jam, did not immediately respond to a request for comment.

“Boys Don’t Cry” is one of the year’s most anticipated new albums, and Mr. Ocean’s first since “Channel Orange” in 2012, which was widely hailed by critics and nominated for six Grammy Awards (it won one, for best urban contemporary album). Mr. Ocean himself first announced the new title three years ago, and seemed to play with the long wait when he included the image of an old-school library due-date slip labeled “Boys Don’t Cry” on a website connected to the album, with a series of stamped dates going back over a year. Given the number of delays the album has already had, it seems possible that Mr. Ocean could decide to put off the release beyond Friday.

On Monday, a mysterious video appeared on the same website showing a pair of workbenches in a large empty room. There was little other information — although the director Francisco Soriano briefly took credit for the video itself early Monday in an Instagram post that was later deleted — but many viewers did notice the Apple Music logo in a watermark on the feed.