Difference between revisions of "Compiling ScummVM/Maemo"

Jump to navigation Jump to search
154 bytes removed ,  02:08, 9 February 2016
Line 51: Line 51:
== Optional: Install libfaad-dev inside SDK environment ==
== Optional: Install libfaad-dev inside SDK environment ==


'''Note: this step is very optional as no stable games currently need AAC decoding (as of 1.8.0). It is included here for posterity.'''
'''Note: this entire step is very optional as no stable games currently need AAC decoding (as of 1.8.0). It is included here for posterity.'''


The libfaad version that's in maemo-extras is outdated and so we need to use the Lenny one (without the debian patches that make it unbuildable in maemo) and without dynamically linking to it so that it doesn't become a runtime dependency that's not available in maemo-extras.
Download these deb files into a temporary directory: [http://bashasoliman.com/dump/maemo/faad/libfaad-dev_2.6.1-3.1+maemo0_armel.deb libfaad-dev] [http://bashasoliman.com/dump/maemo/faad/libfaad0_2.6.1-3.1+maemo0_armel.deb libfaad0] [http://bashasoliman.com/dump/maemo/faad/libfaad2-0_2.6.1-3.1+maemo0_all.deb libfaad2] and then run the following to install it in the SDK


  mkdir faad
   sb2 -eR dpkg -i libfaad*.deb
  cd faad
  apt-get source libfaad-dev
  cd faad2-2.6.1/
  sb2 ./bootstrap
 
Remove these lines from debian/patches/00list: 02_public-headers, 99_autotools-regenerated. These patches make it unbuildable in maemo.
 
  sb2 dpkg-buildpackage -b
   sb2 -eR dpkg -i ../libfaad*.deb


Then we delete the libfaad.so from the SDK environment so that it statically links to libfaad.a
Then we delete the libfaad.so from the SDK environment so that it statically links to libfaad.a
92

edits

Navigation menu