libepoxy is required to compile QEMU with OpenGL support. http://wiki.qemu.org/ChangeLog/2.4
*** Bug 557498 has been marked as a duplicate of this bug. ***
http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85bfdd044bc44e983e1c40be3fb41fcb92973317