292 | | |
| 292 | |
| 293 | The game depends on libjpeg. We will use libjpeg-turbo, an ABI-compatible fork of libjpeg adding support for SIMD processing, giving us maximal performance with the target processor's ARM NEON engine. |
| 294 | |
| 295 | Download the latest version of libjpeg-turbo from [http://sourceforge.net/projects/libjpeg-turbo/files/ this page] to the working directory and then unpack it there, e.g.: |
| 296 | |
| 297 | {{{ |
| 298 | $ cd ~/android |
| 299 | $ tar -xvf libjpeg-turbo-1.1.1.tar.gz |
| 300 | }}} |
| 301 | |
| 302 | Now change directory to the directory that was unpacked, e.g.: |
| 303 | |
| 304 | {{{ |
| 305 | $ cd ~/android/libjpeg-turbo-1.1.1 |
| 306 | }}} |
| 307 | |
| 308 | Then execute the following commands to compile the package for the target device: |
| 309 | |
| 310 | {{{ |
| 311 | $ ./configure --host=$HOSTCONF --build=i686-pc-linux-gnu --with-sysroot=$SYSROOT --prefix=$SYSROOT/usr |
| 312 | $ make |
| 313 | $ make install |
| 314 | }}} |
| 315 | |