GSoC/GCI Archive
Google Code-in 2013 Copyleft Games

PySoy: Write Waf Platform Detection

completed by: Ondrej Skopek

mentors: Anthus Williams, Arc Riley, David Czech

With our new pluggable client modules in libsoy, we need to detect which platform we're running on and run the appropriate configure and build steps specific to each.

For now we'll have just three; VideoCore, X11, and Windows. VideoCore needs the same dependencies as SweetSoy and is detected by being run on BCM2708 GNU/Linux. X11 needs to detect OpenGL ES 2.0, BlueZ, X11, etc when running on non-VideoCore Linux. Windows just needs to detect OpenGL 2.0.

Platform detection should be done during configuration after libsoy dependencies are checked and outputted before any platform-specific dependencies are checked.

This task must be tested on all three platforms. Remote access to a raspberrypi is available for testing.

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

When you've done, commit your work and post the resulting changeset url to this task.