sdl2-compat

Install command:
brew install sdl2-compat

Also 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
golden gate ✅
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 days90 days365 days
Installs34,919134,133181,462
Installs (--HEAD)93244
Installs on Request3,30314,87620,699
Installs on Request (--HEAD)83042
Build Errors78