- docker/standalone: StaticPHP v3 (pinned) and JumPHP's registry: SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, OpenAL Soft static; php-sdl, sdl_image, sdl_mixer, sdl_ttf, PHP-OpenGL (JumPHP's patch), PHP-OpenAL built in - Linux: glibc 2.17 (Zig); X11, ALSA, PulseAudio and OpenGL loaded from the player's system (OpenGL through SDL_GL_GetProcAddress, nothing linked); tested with Pong and 3D Jumpball (23 MB each) - Windows: config.w32 of the extensions and the workflow .github/workflows/standalone.yml (run by hand) that publishes both micros as the release standalone-<key>; export:standalone downloads them - docs/standalone.md, README, AGENTS.md Co-Authored-By: Claude Opus 5.5 <[email protected]>
9 lines
422 B
Text
9 lines
422 B
Text
ARG_ENABLE('sdl_image', 'SDL2_image (JumPHP)', 'no');
|
|
if (PHP_SDL_IMAGE != 'no') {
|
|
jumphp_libs('sdl_image', ['SDL2_image-static.lib;SDL2_image.lib']);
|
|
EXTENSION('sdl_image', 'php_sdl_image.c', PHP_SDL_IMAGE_SHARED, '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
|
|
jumphp_includes('sdl_image');
|
|
ADD_EXTENSION_DEP('sdl_image', 'sdl');
|
|
AC_DEFINE('HAVE_SDL_IMAGE', 1);
|
|
AC_DEFINE('HAVE_SDL_IMAGE_FEATURE', 1);
|
|
}
|