Install command:
brew install sdl2

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

License: Zlib

/api/formula-linux/sdl2.json (JSON API)

Linux formula code on GitHub

Current versions:

stable 2.0.12
head ⚡️ HEAD
bottle 🍾 big_sur, catalina, mojave, x86_64_linux

Revision: 3

Depends on:

libice 1.0.10 X.Org: Inter-Client Exchange Library
libxcursor 1.2.0 X.Org: X Window System Cursor management library
libxscrnsaver 1.2.3 X.Org: X11 Screen Saver extension client library
libxxf86vm 1.1.4 X.Org: XFree86-VidMode X extension
xinput 1.6.3 Utility to configure and test X input devices
pulseaudio 13.0 Sound system for POSIX OSes

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries


Installs (30 days)
sdl2 405
Installs on Request (30 days)
sdl2 64
Build Errors (30 days)
sdl2 1
Installs (90 days)
sdl2 1,197
Installs on Request (90 days)
sdl2 142
Installs (365 days)
sdl2 5,097
sdl2 --HEAD 2
SDL2 1
Installs on Request (365 days)
sdl2 484
sdl2 --HEAD 2
SDL2 1
Fork me on GitHub