./devel/SDL2, Simple DirectMedia Layer - cross-platform multimedia library

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ] [ Image Add to tracker ]


Branch: CURRENT, Version: 2.32.10nb2, Package name: SDL2-2.32.10nb2, Maintainer: nia

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. It is used by video playback software,
emulators, and popular games including Valve's award winning catalog and many
Humble Bundle games.

SDL officially supports Windows, Mac OS X, Linux, iOS, and Android. Support for
other platforms may be found in the source code.

SDL is written in C, works natively with C++, and there are bindings available
for several other languages, including C# and Python.

SDL 2.0 is distributed under the zlib license. This license allows you to use
SDL freely in any software.


Required to run:
[graphics/MesaLib] [audio/libsamplerate] [x11/libXScrnSaver] [x11/xcursor] [x11/liboldXrandr]

Required to build:
[pkgtools/x11-links] [x11/xcb-proto] [x11/fixesproto4] [pkgtools/cwrappers] [x11/xorgproto]

Package options: opengl, x11

Master sites:

Filesize: 7451.428 KB

Version history: (Expand)


CVS history: (Expand)


   2025-12-14 14:49:50 by Paolo Vincenzo Olivo | Files touched by this commit (1)
Log message:
devel/SDL2: allow optional sndio support
   2025-10-26 21:29:54 by Jared D. McNeill | Files touched by this commit (1)
Log message:
SDL2: Disable Altivec support on powerpc.

Not all CPUs have Altivec and SDL2 lacks runtime detection. Fixes "illegal
instruction" crashes on 7xx family systems.
   2025-10-23 22:40:24 by Thomas Klausner | Files touched by this commit (2999)
Log message:
*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by \ 
/usr/pkg/lib/libglib-2.0.so.0 not defined
   2025-10-07 17:46:59 by Ryo ONODERA | Files touched by this commit (3)
Log message:
devel/SDL2: Fix build with GCC 14 when alsa option is enabled
   2025-09-02 07:19:09 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
SDL2: updated to 2.32.10

2.32.10

This is a stable bugfix release, with the following changes:

Fixed the dock occasionally showing on macOS when launching an SDL app
Report the correct device audio format when using Pipewire
Fixed signed 8-bit audio on Android
Support the "ambient" value for SDL_HINT_AUDIO_CATEGORY on iOS
Improved thumbstick range for Nintendo Switch Pro Controllers
Fixed loading user calibration for Nintendo Switch Pro Controllers
   2025-06-03 20:45:02 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
SDL2: updated to 2.32.8

2.32.8

This is a stable bugfix release, with the following changes:

Fixed a rare crash in SDL_WaitEvent()
Fixed swapped red/blue channels when updating a YUV texture on OpenGL ES 2.0
   2025-05-06 14:43:03 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
SDL2: updated to 2.32.6

2.32.6

This is a stable bugfix release, with the following changes:

Fixed reliability of initializing Switch controllers on macOS
Fixed crash when controllers are disconnected on macOS
   2025-04-01 13:37:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
SDL2: updated to 2.32.4

2.32.4

This is a stable bugfix release, with the following changes:

Fixed controller GUIDs changing randomly on Windows
Fixed detecting PlayStation controller sensors on Linux when HIDAPI isn't being used
Fixed a crash enumerating some input devices