Blu-Ray playback
— at Version 3
I'm in the process of improving Blu-Ray playback support, ultimately in VLC but the main work is being done in libbluray and libaacs. I thought it'd be OK if not better to create a single enhancement ticket for this, attaching multiple diffs.
The changes to port:libbdplus and port:libbluray have probably stabilised:
port:libbdplus
- add an explicit depspec for libaacs to avoid opportunistic dependencies
- remove the obsolete --disable-examples configure argument
- fix the livecheck regex
port:libbluray
- upgrade to 1.0.1 (not yet mentioned on the homepage!)
- fix the livecheck regex
- add ${prefix}/lib to the internal dlopen search path
- remove obsolute --enable-udf option and enable building the example (the
bd_info
utility)
- add a +bdjava variant which is required for supporting java-based menus in VLC
The latter was a bit tricky: building the variant requires having a JDK installed (AFAIK only Oracle provides a working one for Mac). Just running would of course work with a JRE but there's a catch-22 there. The only JRE I know of (JavaAppletPlugin) is also provided by Oracle. I'd love to propose making +bdjava the default because why install this port if you're not interested in Blu-Ray playback. But that would require raising an error if that JavaAppletPlugin isn't installed (the build will fail out of itself if no JDK is installed).
A companion patch (including an upgrade) to
port:libaacs
is in preparation; everything doesn't work yet.NB: actual playback of BDs requires downloading and installing a file with keys and the like, following online instructions. I'll be putting a link to instructions in the port notes, not to the file itself.