WARNING I only copied the ebuild version 2.49b from portage and altered it a bit in order to get it compiled. Please note that this ebuild is certainly not in perfect shape. I do not know what the 'rm' call in src_prepare is actually for (force to compile the python code?) and also adding all those BF_FFMPEG entries to user-config.py are not clear to me. (At least uncommenting them leads to compiler errors related to python.) Please feel free to write me a mail if you know a better ebuild -- and its very likely that there is one. Also, if you have some comments on how to improve the ebuild: do not hesitate and write me a mail.