Difference between revisions of "Compiling ScummVM/Maemo"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Created page with '= 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 runn…')
 
Line 3: Line 3:
 
This page describes how you build Maemo packages from the ScummVM source tree.
 
This page describes how you build Maemo packages from the ScummVM source tree.
  
= Preparation =
+
== Preparation ==
  
 
Compiling has to be done on a linux machine running debian/ubuntu.
 
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.
 
On non-linux machines, a linux virtual machine running debian/ubuntu can be used.
  
= Download and install the maemo-sdk package =
+
== Download and install the maemo-sdk package ==
  
 
Add the following line to /etc/apt/sources.list
 
Add the following line to /etc/apt/sources.list
Line 14: Line 14:
 
<nowiki>deb http://maemo-sdk.garage.maemo.org/download/host debian-squeeze free</nowiki>
 
<nowiki>deb http://maemo-sdk.garage.maemo.org/download/host debian-squeeze free</nowiki>
  
= 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>
 
<nowiki>ln -s backends/platform/maemo/debian</nowiki>
  
= build =
+
== Compile ==
  
 
Depending on what you want, choose one of the following. If you're not sure, choose the first one.
 
Depending on what you want, choose one of the following. If you're not sure, choose the first one.
  
== Build the deb package ==
+
=== Build the deb package ===
  
 
<nowiki>sb2 dpkg-buildpackage -b</nowiki>
 
<nowiki>sb2 dpkg-buildpackage -b</nowiki>
  
== Compile without building a deb package ==
+
=== Compile without building a deb package ===
  
 
<nowiki>sb2 ./configure --host=maemo
 
<nowiki>sb2 ./configure --host=maemo
 
sb2 make
 
sb2 make
 
</nowiki>
 
</nowiki>

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