Handbrake Dependencies

Handbrake (0.9.9 in this context) downloads libraries itself and compiles against those, when building manually from source.

Here's a comparison of the libraries linked against in Handbrake (source) compared to handbrake-0.9.9.ebuild in Gentoo. Differences are marked in bold.

Libray Source (Internal) Gentoo (External)
a52dec 0.7.4 0.7.4 (r6 ebuild)
faac 1.2.8 1.2.8 (r4 ebuild)
lame 3.98 3.99.5
libav 9.6 9.10
libbluray 0.2.3 0.5.0
libdvdnav svn 1168 4.2.1
libdvdread svn 1168 4.2.1
libmpeg2 0.5.1 0.5.1
libmkv 0.6.5-0-g82075ae
mp4v2 trunk-r355 2.0.0
x264 r2273-b3065e6 0.0.20130912.ebuild

Note, at time of writing (2014-02-23), the handbrake-0.9.9.ebuild accepts any major release of version 9, and in the tree are versions 9.10 and 9.11. When auto-unmasking, portage will use the default highest one available that is not hard masked (IOW, 9.11).