Difference between revisions of "Compiling ScummVM/Maemo"

From ScummVM :: Wiki
Jump to navigation Jump to search
Line 28: Line 28:
=== Compile without building a deb package ===
=== Compile without building a deb package ===


<nowiki>sb2 ./configure --host=maemo
<nowiki>sb2 ./configure --host=maemo</nowiki>
sb2 make
 
</nowiki>
<nowiki>sb2 make</nowiki>

Revision as of 18:49, 28 September 2011

Compiling ScummVM for Maemo

This page describes how you build Maemo packages from the ScummVM source tree.

Preparation

Compiling has to be done on a linux machine running debian/ubuntu. On non-linux machines, a linux virtual machine running debian/ubuntu can be used.

Download and install the maemo-sdk package

Add the following line to /etc/apt/sources.list

deb http://maemo-sdk.garage.maemo.org/download/host debian-squeeze free

Create symlink from backends/platform/maemo/debian to the root of the scummvm checkout

ln -s backends/platform/maemo/debian

Compile

Depending on what you want, choose one of the following. If you're not sure, choose the first one.

Build the deb package

sb2 dpkg-buildpackage -b

Compile without building a deb package

sb2 ./configure --host=maemo

sb2 make