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

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

Branch: CURRENT, Version: 2.0.22nb1, Package name: SDL2-2.0.22nb1, 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: 7080.696 KB

Version history: (Expand)

CVS history: (Expand)

   2022-07-02 18:53:42 by Ryo ONODERA | Files touched by this commit (395)
Log message:
*: Recursive revbump from audio/pulseaudio
   2022-05-03 19:15:05 by Nia Alarie | Files touched by this commit (3)
Log message:
SDL2: Update to 2.0.22



* Added SDL_RenderGetWindow() to get the window associated with a renderer
* Added floating point rectangle functions:
    * SDL_PointInFRect()
    * SDL_FRectEmpty()
    * SDL_FRectEquals()
    * SDL_FRectEqualsEpsilon()
    * SDL_HasIntersectionF()
    * SDL_IntersectFRect()
    * SDL_UnionFRect()
    * SDL_EncloseFPoints()
    * SDL_IntersectFRectAndLine()
* Added SDL_IsTextInputShown() which returns whether the IME window is
  currently shown
* Added SDL_ClearComposition() to dismiss the composition window without
  disabling IME input
* Added SDL_TEXTEDITING_EXT event for handling long composition text, and
* Added the hint SDL_HINT_MOUSE_RELATIVE_MODE_CENTER to control whether the
  mouse should be constrained to the whole window or the center of the window
  when relative mode is enabled
* The mouse is now automatically captured when mouse buttons are pressed,
  and the hint SDL_HINT_MOUSE_AUTO_CAPTURE allows you to control this behavior
* Added the hint SDL_HINT_VIDEO_FOREIGN_WINDOW_OPENGL to let SDL know that
  a foreign window will be used with OpenGL
* Added the hint SDL_HINT_VIDEO_FOREIGN_WINDOW_VULKAN to let SDL know that
  a foreign window will be used with Vulkan
* Added the hint SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE to specify whether an
  SDL_QUIT event will be delivered when the last application window is closed
* Added the hint SDL_HINT_JOYSTICK_ROG_CHAKRAM to control whether ROG Chakram
  mice show up as joysticks


* Compiling with Wayland support requires libwayland-client version 1.18.0
  or later
* Added the hint SDL_HINT_X11_WINDOW_TYPE to specify the _NET_WM_WINDOW_TYPE
  of SDL windows
* Added the hint SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR to allow using
  libdecor with compositors that support xdg-decoration
   2022-03-28 12:53:06 by Tobias Nygren | Files touched by this commit (110)
Log message:
{c,d,e}*/*: revbump(1) for libsndfile
   2022-01-11 14:02:37 by Nia Alarie | Files touched by this commit (3) | Package updated
Log message:
SDL2: update to 2.0.20

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


     * SDL_RenderGeometryRaw() takes a pointer to SDL_Color, not int. You can
       cast color data in SDL_PIXELFORMAT_RGBA32 format
       (SDL_PIXELFORMAT_ABGR8888 on little endian systems) for this
     * Improved accuracy of horizontal and vertical line drawing when using
       OpenGL or OpenGLES
     * Added the hint SDL_HINT_RENDER_LINE_METHOD to control the method of
       line drawing used, to select speed, correctness, and compatibility.


     * Fixed hotplug controller detection, broken in 2.0.18
   2021-12-07 21:31:27 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
SDL2: update to 2.0.18.


* The SDL wiki documentation and development headers are automatically
kept in sync
* Each function has information about in which version of SDL it
was introduced
* Added the hint SDL_HINT_APP_NAME to let SDL know the name of your
application for various places it might show up in system information
* Added SDL_RenderGeometry() and SDL_RenderGeometryRaw() to allow
rendering of arbitrary shapes using the SDL 2D render API
* Added SDL_SetTextureUserData() and SDL_GetTextureUserData() to
associate application data with an SDL texture
* Added SDL_RenderWindowToLogical() and SDL_RenderLogicalToWindow()
to convert between window coordinates and logical render coordinates
* Added SDL_RenderSetVSync() to change whether a renderer present
is synchronized with vblank at runtime
* Added SDL_PremultiplyAlpha() to premultiply alpha on a block of
* Added a window event SDL_WINDOWEVENT_DISPLAY_CHANGED which is
sent when a window changes what display it's centered on
* Added SDL_GetWindowICCProfile() to query a window's ICC profile,
and a window event SDL_WINDOWEVENT_ICCPROF_CHANGED that is sent
when it changes
EGL windows to be transparent instead of opaque
* SDL_WaitEvent() has been redesigned to use less CPU in most cases
* Added SDL_SetWindowMouseRect() and SDL_GetWindowMouseRect() to
confine the mouse cursor to an area of a window
* You can now read precise mouse wheel motion using 'preciseX' and
'preciseY' event fields
* Added SDL_GameControllerHasRumble() and
SDL_GameControllerHasRumbleTriggers() to query whether a game
controller supports rumble
* Added SDL_JoystickHasRumble() and SDL_JoystickHasRumbleTriggers()
to query whether a joystick supports rumble
* SDL's hidapi implementation is now available as a public API in

the activity that's displayed by the system when the screensaver
is disabled
* Added the hint SDL_HINT_LINUX_JOYSTICK_CLASSIC to control whether
/dev/input/js* or /dev/input/event* are used as joystick devices
* Added the hint SDL_HINT_JOYSTICK_DEVICE to allow the user to
specify devices that will be opened in addition to the normal
joystick detection
* Added SDL_LinuxSetThreadPriorityAndPolicy() for more control over
a thread priority on Linux
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:

The following distfiles were unfetchable (note: some may be only fetched

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-09-08 23:05:16 by Nia Alarie | Files touched by this commit (213)
Log message:
Recursive revbump for audio/jack