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

Current versions

Reverse dependencies

The following formulae require sdl2 to be installed:
smpeg2 2.0.0 SDL MPEG Player Library
cdogs-sdl 0.6.2 Classic overhead run-and-gun game
nestopia-ue 1.48 Nestopia UE (Undead Edition): NES emulator
fs-uae 2.8.3 Amiga emulator
zboy 0.60 GameBoy emulator
solarus 1.5.3 Action-RPG game engine
vice 3.1_1 Versatile Commodore Emulator
bochs 2.6.9_1 Open source IA-32 (x86) PC emulator written in C++
np2 0.86 Neko Project 2: PC-9801 emulator
simutrans 120.1.3 Transport simulator
libtcod 1.6.4 API for roguelike developers
ppsspp 1.5.4 PlayStation Portable emulator
blastem 0.5.1 Fast and accurate Genesis emulator
scummvm 2.0.0 Graphic adventure game interpreter
sdl2_mixer 2.0.2_3 Sample multi-channel audio mixer library
sdl2_net 2.0.1 Small sample cross-platform networking library
sdl2_ttf 2.0.14 Library for using TrueType fonts in SDL applications
rawgl 0.2.1 Rewritten engine for Another World
fizmo 0.8.5_1 Z-Machine interpreter
mgba 0.6.1_2 Game Boy Advance emulator
ffmpeg 3.4.2 Play, record, convert, and stream audio and video
logstalgia 1.1.1 Web server access log visualizer with retro style
chocolate-doom 3.0.0 Accurate source port of Doom
hatari 2.1.0 Atari ST/STE/TT/Falcon emulator
stella 5.1.1 Atari 2600 VCS emulator
flif 0.3 Free Loseless Image Format
pytouhou 634_2 Libre implementation of Touhou 6 engine
rom-tools 0.195 Tools for Multiple Arcade Machine Emulator
taisei 1.2_1 Clone of Touhou Project shoot-em-up games
audacious 3.9 Free and advanced audio player based on GTK+
exult 1.4.9rc1+r7520 Recreation of Ultima 7
mednafen 1.21.1 Multi-system emulator
sdlpop 1.18 Open-source port of Prince of Persia

Recent formula history

ilovezfs sdl2 2.0.8
ilovezfs sdl2 2.0.7
s172262 sdl2 2.0.6
FX Coudert sdl2: drop universal
Jessica Stokes sdl2: use pkgshare instead of share for tests

Formula code at GitHub