sdl2v2.32.10
- Updated
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.
- Project website: https://www.libsdl.org/download-2.0.php
#Usage
sdl2 provides CMake targets:
find_package(SDL2 CONFIG REQUIRED)
target_link_libraries(main
PRIVATE
$<TARGET_NAME_IF_EXISTS:SDL2::SDL2main>
$<IF:$<TARGET_EXISTS:SDL2::SDL2>,SDL2::SDL2,SDL2::SDL2-static>
)#Supported Platforms
All platforms supported.
#Features
Default features: dbus, ibus, wayland, x11
#alsa
Support for alsa audio
Host Dependencies:
3 transitive dependencies:
- vcpkg-cmake (through vcpkg-cmake-get-vars)
- vcpkg-cmake-get-vars (through vcpkg-make)
- vcpkg-make (through alsa)
#dbus
Build with D-Bus support
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through expat)
- vcpkg-cmake-config (through expat)
#ibus
Build with ibus IME support
Platforms: linux
- ✅linux
- ❌
osx - ❌
uwp - ❌
windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#samplerate
Use libsamplerate for audio rate conversion
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through libsamplerate)
- vcpkg-cmake-config (through libsamplerate)
#wayland
Build with Wayland support
Platforms: linux
- ✅linux
- ❌
osx - ❌
uwp - ❌
windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#x11
Build with X11 support
Platforms: !windows
- ✅linux
- ✅osx
- ✅uwp
- ❌
windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#Dependencies
No dependencies.
#Used By
- ffmpeg (feature
sdl2) - gamedev-framework
- libwebp (feature
vwebp-sdl) - magnum (feature
sdl2application) - ogre
- osg (feature
examples) - osg (feature
sdl) - pixel
- sdl2-gfx
- sdl2-image
- sdl2-mixer
- sdl2-mixer-ext
- sdl2-net
- sdl2-ttf
- sdl2pp
- smpeg2
- tgui (feature
sdl2) - vtk (feature
openvr) - vulkan-sdk-components
- wxwidgets (feature
sound)
#Host Tool For
No ports use this.
#Contributors
Alexander Karatarakis
Ninetainedo
Robert Schumacher
David Ludwig
codicodi
Mikhail Paulyshka
Ted John
Jason Juang
pastdue
Jayesh Badwaik
jdellar
Jon Spencer
driver1998
pravic
Stefano Sinigardi
Rémy Tassoux
Krisztián Csordás
Mohamed Akram
Billy O'Neal
Matthew Oliver
Jack·Boos·Yu
Joakim L. Gilje
Jesse Farebrother
Long Nguyen
NancyLi1013
Kai Pastor
Sandy
Thomas1664
Alexander Neumann
JonLiu1993
Nick
Pierre Wendling
Oleg Derevenetz
Pieter-Jan Briers
Ada Tufankjian
Lily Wang
Frank
Cheney Wang
jim wang
gerard-ryan-immersaview
Alon Regev
Sandy
Daniel Svensson
Kadir
Weihang Ding
#Changelog
Show 95 earlier changes
2fbc73e[sdl2] Fix patches files50cb254[sdl2] Remove no longer used patch28b25e8[sdl2] Remove no longer used patchdc41246[sdl2] Change homepage link to the official sdl websiteb40c89f[SDL2] Update to 2.0.12 version8bed099[sdl2] Fix build failure when VCPKG_BUILD_TYPE is set9f9778c[many ports] Improve behavior on Linux and general cleanup5aa627e[SDL2] use vcpkg_from_github to enable --heade6c65b9[sdl2] Use cmake for UWP3d8ba3e[SDL2] Move SDL2main.lib into manual-link.fbaaf5b[sdl2] Update to 2.0.798861e3[sdl2] update to 2.0.626516fevcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7)dc4998b[sdl2] Prevent exports in static buildda63f33[sdl2] link to CRT libraries12f8636[sdl2] bump version704e1ea[sdl2] make SDL2 use libc48ca773[sdl2] enable static build31b713c[vcpkg] Remove all instances of TRIPLET_SYSTEM_NAME; use VCPKG_CMAKE_SYSTEM_NAME instead.f6bbbfdUpdate SDL2 port to 2.0.5 (its latest release; up from 2.0.4)cadee66If portfile is not static-enabled yet, warn and then build dynamic The opposite if portfile is not dynamic enabled1808d46triplet is now automatically included before portfiles.031a1f5[SDL2] Mark as not static ready3679955Introduce SOURCE_PATH to almost all portfiles930d0a7URL and MIRRORS are now URLSfc26083Second part of updated portfilesccca198Initial commit