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

Current versions

Reverse dependencies

The following formulae require sdl2 to be installed:
supertux 0.5.1_3 Classic 2D jump'n run sidescroller game
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
mal4s 1.2.8_6 Malicious host finder based on gource
blastem 0.5.1 Fast and accurate Genesis emulator
scummvm 2.0.0 Graphic adventure game interpreter
libgosu 0.13.2 2D game development library
sdl2_image 2.0.2 Library for loading images as SDL surfaces and textures
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
rom-tools 0.194 Tools for Multiple Arcade Machine Emulator
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
mame 0.194_1 Multiple Arcade Machine Emulator
mrboom 4.3 Eight player Bomberman clone
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

Recent formula history

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
Jessica Stokes sdl2: fix tests' resource paths

Formula code at GitHub