sdl2-compat

Install command:
brew install sdl2-compat

SDL2 compatibility layer that uses SDL3 behind the scenes

https://github.com/libsdl-org/sdl2-compat

License: Zlib

Development: Pull requests

Formula JSON API: /api/formula/sdl2-compat.json

Formula code: sdl2-compat.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 2.32.68
head ⚡️ HEAD

Depends on:

sdl3 3.4.10 Low-level access to audio, keyboard, mouse, joystick, and graphics

Depends on when building from source:

cmake 4.3.3 Cross-platform make

Analytics:

Installs (30 days)
sdl2-compat 64
Installs on Request (30 days)
sdl2-compat 17
Build Errors (30 days)
sdl2-compat 0
Installs (90 days)
sdl2-compat 59
Installs on Request (90 days)
sdl2-compat 17
Installs (365 days)
sdl2-compat 61
Installs on Request (365 days)
sdl2-compat 17