sfml@2

Multi-media library for graphics, audio, and window management

brewmacoslinux
Try with needOr install directly
Source

About

Multi-media library with bindings for multiple languages

Commands

sfml-2

Examples

Link SFML library in C++ project compilation$ g++ -c myprogram.cpp -o myprogram.o && g++ myprogram.o -o myprogram -lsfml-graphics -lsfml-window -lsfml-system
Check SFML library version and installation$ pkg-config --modversion sfml
Get SFML compiler and linker flags for build systems$ pkg-config --cflags --libs sfml