Created attachment 376570 [details, diff] makemkv-path.patch Recent versions of MakeMKV support emulation of libaacs and libbdplus, which is a truly fantastic feature. I was able to stick a recent (MKB v35) Blu-ray in the drive and it just played through VLC, no ripping necessary. This is currently broken in the Gentoo build though. It looks for the binaries in /bin, /usr/bin, and /usr/local/bin, but not /opt/bin, so the attached patch is needed. Upstream instructs users to replace their existing symlinks in /usr/lib, which is obviously bad. I came up with a better solution to create symlinks in /usr/lib/makemkv and the end user can then simply set LD_LIBRARY_PATH to this location when they need it. I also tried LD_PRELOAD but unfortunately this doesn't work, probably because libbluray loads the other libraries using dlopen. I have added a note about setting LD_LIBRARY_PATH.
Created attachment 376572 [details, diff] makemkv.ebuild.patch
Hold that thought, turns out there's some other variables you can set. http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=ecbdd7e603bd2623fda9d9e72056516fc3c4c61a I'll update this soon.
Created attachment 376714 [details, diff] makemkv.ebuild.patch This updated patch leaves out the symlink stuff and advises the user to set LIBAACS_PATH and LIBBDPLUS_PATH instead. Unfortunately MakeMKV has just stopped working for me after updating from glibc 2.17 to 2.19 and I now have to invoke it via a debootstrapped Ubuntu but that's a different issue.
Just a BTW, 1.8.11 is out and it's a simple bump. It's extremely important as 1.8.10 doesn't work with glibc 2.18+.
1.8.12 is available. please give this bug a bit love, $maintainer
I'm a little leery of adding anything to the ebuilds that manually requests the users to set environment variables or that is for specific use cases not controlled by a use flag. If the patch is important enough that we should incorporate, we should probably include the automatic setting of environment variables in the install phase.
The patch should be applied regardless. Whether the ebuild assists with the environment variables or not, they should still work as expected. They effectively let the user choose between MakeMKV and libaacs/libbdplus. I thought that this is something they might want to do on a disc-by-disc basis, which is why I didn't suggest a USE flag but I personally wouldn't mind if it was done that way. The user can still the disable the flag and set the environment variables manually if they want to.
I've just seen yet another user on the forums waste several hours because this patch wasn't applied. Please add this at the very least.
Fixed in 1.9.1.