Google Code-In 2014
Task Preview
Ebuilds: RaspberryPi dev-libs/westonCopyleft Games Group
STATUS: DRAFT

Weston is a generic reference compositor for Wayland, a lightweight alternative to X11. While we're building our own Wayland compositor, its useful to have Weston available for development and testing.

Weston's ebuild currently supports building for Raspberry Pi, but also uses "global" USE flags such as opengl, egl, etc which adds Mesa (and thus X11) as dependencies. Some of these flags are also currently mandatory such that Weston cannot be emerged for Raspberry Pi without the X11 package tree as dependencies.

Obviously, having to install the entire X11 stack just to boot Weston is far from ideal.

Using these instructions as a guide, fix up the current ebuild so that the Mesa/X11 components are not required to compile Weston on RaspberryPi, nor generic USE flags such as egl, gles, or opengl depend on Mesa when Raspberry Pi building is specified.

While working on this task you should join and remain in #CopyleftGames on Freenode to get help, feedback, and guidance from mentors and other developers.

When you've done, post your ebuild to this task.