Open main menu

Difference between revisions of "Compiling ScummVM/Maemo"

m
Text replacement - "</source>" to "</syntaxhighlight>"
(Remove now obsolete nowiki tag in commands)
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 22: Line 22:
sudo apt-get update
sudo apt-get update
sudo apt-get install maemo-sdk
sudo apt-get install maemo-sdk
</source>
</syntaxhighlight>


Then run the following commands to build/install the tools and compilers:
Then run the following commands to build/install the tools and compilers:
Line 31: Line 31:
sudo maemo-sdk install toolchain arm-2007q3
sudo maemo-sdk install toolchain arm-2007q3
maemo-sdk install rootstrap diablo4.1.2_armel
maemo-sdk install rootstrap diablo4.1.2_armel
</source>
</syntaxhighlight>


== Install dependencies inside the SDK environment ==
== Install dependencies inside the SDK environment ==
Line 43: Line 43:
sb2 -eR apt-get update
sb2 -eR apt-get update
sb2 -eR apt-get install libflac-dev libmad0-dev libmpeg2-4-dev libvorbisidec-dev
sb2 -eR apt-get install libflac-dev libmad0-dev libmpeg2-4-dev libvorbisidec-dev
</source>
</syntaxhighlight>


== Optional: Install git inside SDK environment ==
== Optional: Install git inside SDK environment ==
Line 55: Line 55:
<source lang="bash">
<source lang="bash">
sb2 -eR dpkg -i git_1.6.2-1_armel.deb
sb2 -eR dpkg -i git_1.6.2-1_armel.deb
</source>
</syntaxhighlight>


== Optional: Install libfaad-dev inside SDK environment ==
== Optional: Install libfaad-dev inside SDK environment ==
Line 67: Line 67:
<source lang="bash">
<source lang="bash">
sb2 -eR dpkg -i libfaad*.deb
sb2 -eR dpkg -i libfaad*.deb
</source>
</syntaxhighlight>


Delete the libfaad.so from the SDK environment so that it statically links to libfaad.a instead of dynamically linking to libfaad.so (This version of libfaad.so isn't available in maemo-extra and is thus unavailable to maemo-users)
Delete the libfaad.so from the SDK environment so that it statically links to libfaad.a instead of dynamically linking to libfaad.so (This version of libfaad.so isn't available in maemo-extra and is thus unavailable to maemo-users)
Line 73: Line 73:
<source lang="bash">
<source lang="bash">
rm ~/.maemo-sdk/rootstraps/armel/diablo4.1.2_armel/usr/lib/libfaad.so*
rm ~/.maemo-sdk/rootstraps/armel/diablo4.1.2_armel/usr/lib/libfaad.so*
</source>
</syntaxhighlight>


== Ensure Packaging Files Are Available In Source Tree Root ==
== Ensure Packaging Files Are Available In Source Tree Root ==
Line 80: Line 80:
<source lang="bash">
<source lang="bash">
ln -s backends/platform/maemo/debian  
ln -s backends/platform/maemo/debian  
</source>
</syntaxhighlight>


== Compile ==
== Compile ==
Line 90: Line 90:
<source lang="bash">
<source lang="bash">
sb2 dpkg-buildpackage -b
sb2 dpkg-buildpackage -b
</source>
</syntaxhighlight>


=== Compile (Without Building Package) ===
=== Compile (Without Building Package) ===
Line 97: Line 97:
sb2 ./configure --host=maemo
sb2 ./configure --host=maemo
sb2 make
sb2 make
</source>
</syntaxhighlight>
TrustedUser
2,147

edits