2015-10-01 8:36 GMT+02:00 Simon McVittie <s...@debian.org>: > On 01/10/15 06:24, Fabian Greffrath wrote: >> Could someone please point a blind man to the part of the code in g-d-p >> where it unpacks the rogue and xatrix sources from Yamagi and calls >> "make" in the source directories? > > game_data_packager/games/quake2.py > > (in general, anything that's only used for one game or engine, and that > we expect to be too specialized to be useful for others, goes in a > "plugin" in game_data_packager/games) > >> Also, does it check for the presence >> of make, gcc-* and libc*-dev before this? > > Not currently. If you don't have them, it will fail to compile.
game_data_packager/games/lgeneral.py does check for lgc-pg; prepare_packages() can be overriden in quake2 in a similar way. If that become a more generic problem, a "build-depends: " tag could be added to the yaml files. Alexandre