media-tv/xbmc on my Pandaboard ES requires media-libs/mesa[gles2] to compile, otherwise I get: checking for main in -lEGL... yes checking for main in -lGLESv2... no configure: error: Could not find a required library. Please see the README for your platform. Reproducible: Always
That's xbmc-13.0_p2.
I had the same problem on my Raspbery Pi. On my amd64 system I have mesa without gles2 use flag and xbmc builds fine. So it might be somehow ARM specific.
There is no GLES on non-embbeded systems. Depending on it for x86 systems won't work. No idea if depending on it for arm arch is a good idea.
the lines between embedded/non-embedded don't really exist anymore. you can buy laptops that support GLES.
should be all set now in the tree; thanks for the report! Commit message: Require mesa[gles2] when USE=gles is enabled http://sources.gentoo.org/media-tv/xbmc/xbmc-12.3.ebuild?r1=1.7&r2=1.8 http://sources.gentoo.org/media-tv/xbmc/xbmc-13.0_p2.ebuild?r1=1.6&r2=1.7 http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.162&r2=1.163