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 ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.32.74
head ⚡️ HEAD

Depends on:

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

Depends on when building from source:

cmake 4.4.4 Cross-platform make

Binaries: sdl2-config

Analytics:

30 days90 days365 days
Installs84,554162,514248,120
Installs (--HEAD)203962
Installs on Request8,31816,80927,352
Installs on Request (--HEAD)173658
Build Errors118