Difference between revisions of "Compiling ScummVM/Maemo"

From ScummVM :: Wiki
Jump to navigation Jump to search
Line 12: Line 12:
Add the following line to /etc/apt/sources.list
Add the following line to /etc/apt/sources.list


<nowiki>deb http://maemo-sdk.garage.maemo.org/download/host debian-squeeze free</nowiki>
<code><nowiki>deb http://maemo-sdk.garage.maemo.org/download/host debian-squeeze free</nowiki></code>


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


<nowiki>ln -s backends/platform/maemo/debian</nowiki>
<code>ln -s backends/platform/maemo/debian</code>


== Compile ==
== Compile ==
Line 24: Line 24:
=== Build the deb package ===
=== Build the deb package ===


<nowiki>sb2 dpkg-buildpackage -b</nowiki>
<code>sb2 dpkg-buildpackage -b</code>


=== Compile without building a deb package ===
=== Compile without building a deb package ===


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


<nowiki>sb2 make</nowiki>
sb2 make</code>

Revision as of 18:53, 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