It's looking FFmpeg headers from obsolete location, upstream moved them around in 0.5 release or so. sed -i \ -e 's:ffmpeg/avcodec.h:libavcodec/avcodec.h:' \ -e 's:ffmpeg/avformat.h:libavformat/avformat.h:' \ SConstruct And it's missing ffmpeg, sdl-image and sdl-gfx in deps.
$ grep ^#include utils/dgraphics.cc #include <SDL/SDL_gfxPrimitives.h> #include <SDL/SDL_image.h> $ grep SDL_ SConstruct have_sdl = conf.CheckCXXHeader("SDL/SDL_gfxPrimitives.h") and \ ^ sdl-gfx and sdl-image
read the sconstruct -- ffmpeg is always disabled as for sdl-image, i'm pretty sure the include is superfluous. ive deleted it in the ebuild. upstream too has disable the sdl-image include in their latest sources. sdl-gfx is legit, so ive added that to the depend. http://sources.gentoo.org/media-libs/iulib/iulib-0.4.ebuild?r1=1.3&r2=1.4