Skip to content

Docker Image configuration and auxiliary files for NDK r14b toolchains for building the Android port for ScummVM

License

Notifications You must be signed in to change notification settings

antoniou79/scummvm-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scummvm-android

Docker Image configuration and auxiliary files for NDK r21d toolchain for building the Android port for ScummVM

Based on the work of Colin Snover (csnover), Cameron Cawley (ccawley2011), Le Philousophe (lephilousophe) and Peter Kohaut (peterkohaut).

Base docker image is now:

Debian 10.4

JDK version used:

openjdk 11.0.7 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Debian-3deb10u1)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Debian-3deb10u1, mixed mode, sharing)

Cross-compiled libraries are:

Basic instructions:

  • Install docker ("Docker Engine - Community" should work fine). Tested with version 19.03.12, (build 48a66213fe) using containerd.io version 1.2.13 on Linux Ubuntu x64 20.04 LTS.

  • Install docker-compose on your system. Tested with version 1.25.0.

  • Build the image with:

docker build -t "scummvm/scummvm-android:latest" -f "./Dockerfile" .
  • Edit "docker-compose.override.yml" and replace the placeholder paths with your native system's paths, properly.

  • Run the container with:

docker-compose run --rm android
  • From within the container, navigate to /data/sharedrepo, where the scummvm repo should be mounted.
cd /data/sharedrepo
  • Then run the following sequence of commands, using the appropriate "setenv-android-build-xxxxx.sh" script and setting the proper target architecture as the "--host" argument depending on the architecture you are targeting (supported target architecture values are: android-arm-v7a, android-arm64-v8a, android-x86 and android-x86_64). Example:
source $ANDROID_USR_OPT_PATH/setenv-android-build-arm64-v8a.sh
make clean; ./configure --enable-engine=testbed --host=android-arm64-v8a --enable-verbose-build --enable-debug
make -j$(nproc)
  • The output APK will be created as ScummVM-debug.apk in the current folder. Make sure to move or copy this file elsewhere before running "make clean" and starting to build for another architecture.

TODO:

Thanks to:

  • ccawley2011, csnover, lephilousophe, peterkohaut

Reference links:

About

Docker Image configuration and auxiliary files for NDK r14b toolchains for building the Android port for ScummVM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published