libSDL2-2_0-0 - Simple DirectMedia Layer Library

Distribution: openSUSE 42.1
Repository: openSUSE Games all
Package name: libSDL2-2_0-0
Package version: 2.0.5
Package release: 49.1
Package architecture: x86_64
Package type: rpm
Installed size: 1.24 MB
Download size: 367.99 KB
Official Mirror:
This is the "Simple DirectMedia Layer" library. It provides a generic API for access to audio, keyboard, mouse, and display framebuffer across multiple platforms.



  • SDL2 = 2.0.5-49.1
  • libSDL2-2_0-0 = 2.0.5-49.1
  • libSDL2-2_0-0(x86-64) = 2.0.5-49.1


    Install Howto

    1. Add the openSUSE Games repository:
      # zypper addrepo opensuse-games
    2. Install libSDL2-2_0-0 rpm package:
      # zypper install libSDL2-2_0-0


    • /usr/lib64/
    • /usr/lib64/
    • /usr/share/doc/packages/libSDL2-2_0-0/BUGS.txt
    • /usr/share/doc/packages/libSDL2-2_0-0/COPYING.txt
    • /usr/share/doc/packages/libSDL2-2_0-0/CREDITS.txt
    • /usr/share/doc/packages/libSDL2-2_0-0/README-SDL.txt
    • /usr/share/doc/packages/libSDL2-2_0-0/README.txt


    2017-02-15 - - Add dbus-ime.diff and build with fcitx [boo#1025413]

    2016-10-23 - - Backported commit 5184186d4366 and fbf9b0e3589a as SDL2-ppc64-declaration-after-statement.patch to fix build on ppc64/ppc64le

    2016-10-20 - - Update to 2.0.5 General: * Implemented audio capture support for some platforms * Added SDL_DequeueAudio() to retrieve audio when buffer queuing is turned on for audio capture * Added events for dragging and dropping text * Added events for dragging and dropping multiple items * By default the click raising a window will not be delivered to the SDL application. You can set the hint SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH to "1" to allow that click through to the window. * Saving a surface with an alpha channel as a BMP will use a newer BMP format that supports alpha information. You can set the hint SDL_HINT_BMP_SAVE_LEGACY_FORMAT to "1" to use the old format. * Added SDL_GetHintBoolean() to get the boolean value of a hint * Added SDL_RenderSetIntegerScale() to set whether to smoothly scale or use integral multiples of the viewport size when scaling the rendering output * Added SDL_CreateRGBSurfaceWithFormat() and SDL_CreateRGBSurfaceWithFormatFrom() to create an SDL surface with a specific pixel format * Added SDL_GetDisplayUsableBounds() which returns the area usable for windows. For example, on Mac OS X, this subtracts the area occupied by the menu bar and dock. * Added SDL_GetWindowBordersSize() which returns the size of the window's borders around the client area * Added a window event SDL_WINDOWEVENT_HIT_TEST when a window had a hit test that wasn't SDL_HITTEST_NORMAL (e.g. in the title bar or window frame) * Added SDL_SetWindowResizable() to change whether a window is resizable * Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity() to affect the window transparency * Added SDL_SetWindowModalFor() to set a window as modal for another window * Added support for AUDIO_U16LSB and AUDIO_U16MSB to SDL_MixAudioFormat() * Fixed flipped images when reading back from target textures when using the OpenGL renderer * Fixed texture color modulation with SDL_BLENDMODE_NONE when using the OpenGL renderer * Fixed bug where the alpha value of colorkeys was ignored when blitting in some cases Linux: * Added support for the Fcitx IME * Added a window event SDL_WINDOWEVENT_TAKE_FOCUS when a window manager asks the SDL window whether it wants to take focus. * Refresh rates are now rounded instead of truncated, e.g. 59.94 Hz is rounded up to 60 Hz instead of 59. * Added initial support for touchscreens on Raspberry Pi

    2016-03-17 - - Make building more verbose

    2016-03-10 - - Enable udev support