- tools/android/build.sh (docker/android-native): PHP 8.5 embed cross-built with the NDK r29 per ABI (arm64-v8a, x86_64) with JumPHP's extensions, gd (libpng) and bcmath; SDL's Android project; the game unpacked from the APK by main.c on its first launch; signed .aab + .apk - bin/jumphp android: the workflow in the project's GitHub (tools/android/workflow.yml), the upload key in its secrets after a yes, the build and the release on GitHub; --local in Docker - engine: on-screen controls drawn by the engine (JUMPHP_TOUCH_CONTROLS), the game's orientation on Android, Platform::isAbsolutePath (Windows paths: sounds, fonts, maps, 3D) - tools/stage-game.sh: the game's files, shared by export:standalone and android - docs/android-native.md: the command, what is in the app, Google Play step by step Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018nX3d2yxMGf7KC1TN3rwew
11 lines
513 B
Text
11 lines
513 B
Text
dnl JumPHP's Android build of openal (tools/android/build.sh): no link test (cross-compiled; SDL, SDL_image... are
|
|
dnl linked into the app by Gradle), the headers given by CPPFLAGS.
|
|
PHP_ARG_ENABLE([openal], [openal (JumPHP)], [AS_HELP_STRING([--enable-openal], [openal])], [no])
|
|
if test "$PHP_OPENAL" != "no"; then
|
|
AC_DEFINE(WITH_OPENAL, 1, [ ])
|
|
AC_DEFINE(HAVE_AL_AL_H, 1, [ ])
|
|
AC_DEFINE(HAVE_AL_ALC_H, 1, [ ])
|
|
AC_DEFINE(HAVE_AL_ALEXT_H, 1, [ ])
|
|
PHP_NEW_EXTENSION(openal, php_openal.c, $ext_shared)
|
|
|
|
fi
|