sdl2-compat
Install command:
brew install sdl2-compatAlso known as: sdl2
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 | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 2.32.72 |
| head | ⚡️ | HEAD |
Depends on:
| sdl3 | 3.4.16 | Low-level access to audio, keyboard, mouse, joystick, and graphics |
Depends on when building from source:
| cmake | 4.4.3 | Cross-platform make |
Binaries:
sdl2-config
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 45,332 | 159,513 | 160,254 |
Installs (--HEAD) | 16 | 42 | 42 |
| Installs on Request | 4,792 | 18,786 | 18,821 |
Installs on Request (--HEAD) | 16 | 41 | 41 |
| Build Errors | 31 |