forked from jengelh/SDL2
Accepting request 355298 from games
- update to version 2.0.4 OBS-URL: https://build.opensuse.org/request/show/355298 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL2?expand=0&rev=11
This commit is contained in:
commit
81f0cda03e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a5a69a6abf80bcce713fa873607735fe712f44276a7f048d60a61bb2f6b3c90c
|
|
||||||
size 3871267
|
|
Binary file not shown.
3
SDL2-2.0.4.tar.gz
Normal file
3
SDL2-2.0.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:da55e540bf6331824153805d58b590a29c39d2d506c6d02fa409aedeab21174b
|
||||||
|
size 4136230
|
BIN
SDL2-2.0.4.tar.gz.sig
Normal file
BIN
SDL2-2.0.4.tar.gz.sig
Normal file
Binary file not shown.
53
SDL2.changes
53
SDL2.changes
@ -1,3 +1,56 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 10 15:27:58 UTC 2016 - mailaender@opensuse.org
|
||||||
|
|
||||||
|
- update to version 2.0.4
|
||||||
|
General:
|
||||||
|
* Added support for web applications using Emscripten, see
|
||||||
|
docs/README-emscripten.md for more information
|
||||||
|
* Added support for web applications using Native Client (NaCl), see
|
||||||
|
docs/README-nacl.md for more information
|
||||||
|
* Added an API to queue audio instead of using the audio callback:
|
||||||
|
SDL_QueueAudio(), SDL_GetQueuedAudioSize(), SDL_ClearQueuedAudio()
|
||||||
|
* Added events for audio device hot plug support:
|
||||||
|
SDL_AUDIODEVICEADDED, SDL_AUDIODEVICEREMOVED
|
||||||
|
* Added SDL_PointInRect()
|
||||||
|
* Added SDL_HasAVX2() to detect CPUs with AVX2 support
|
||||||
|
* Added SDL_SetWindowHitTest() to let apps treat parts of their SDL window
|
||||||
|
like traditional window decorations (drag areas, resize areas)
|
||||||
|
* Added SDL_GetGrabbedWindow() to get the window that currently has input
|
||||||
|
grab, if any
|
||||||
|
* Added SDL_RenderIsClipEnabled() to tell whether clipping is currently
|
||||||
|
enabled in a renderer
|
||||||
|
* Added SDL_CaptureMouse() to capture the mouse to get events while the
|
||||||
|
mouse is not in your window
|
||||||
|
* Added SDL_WarpMouseGlobal() to warp the mouse cursor in global screen
|
||||||
|
space
|
||||||
|
* Added SDL_GetGlobalMouseState() to get the current mouse state outside of
|
||||||
|
an SDL window* Added a direction field to mouse wheel events to tell
|
||||||
|
whether they are flipped (natural) or not
|
||||||
|
* Added GL_CONTEXT_RELEASE_BEHAVIOR GL attribute (maps to
|
||||||
|
[WGL|GLX]_ARB_context_flush_control extension)
|
||||||
|
* Added EGL_KHR_create_context support to allow OpenGL ES version selection
|
||||||
|
on some platforms* Added NV12 and NV21 YUV texture support for OpenGL and
|
||||||
|
OpenGL ES 2.0 renderers
|
||||||
|
* Added a Vivante video driver that is used on various SoC platforms
|
||||||
|
* Added an event SDL_RENDER_DEVICE_RESET that is sent from the D3D
|
||||||
|
renderers when the D3D device is lost, and from Android's event loop when
|
||||||
|
the GLES context had to be recreated
|
||||||
|
* Added a hint SDL_HINT_NO_SIGNAL_HANDLERS to disable SDL's built in signal
|
||||||
|
handling* Added a hint SDL_HINT_THREAD_STACK_SIZE to set the stack size of
|
||||||
|
SDL's threads
|
||||||
|
* Added SDL_sqrtf(), SDL_tan(), and SDL_tanf() to the stdlib routines
|
||||||
|
* Improved support for WAV and BMP files with unusual chunks in them
|
||||||
|
* Renamed SDL_assert_data to SDL_AssertData and SDL_assert_state to
|
||||||
|
SDL_AssertState
|
||||||
|
* Added a hint SDL_HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN to prevent
|
||||||
|
window interaction while cursor is hidden
|
||||||
|
* Added SDL_GetDisplayDPI() to get the DPI information for a display* Added
|
||||||
|
SDL_JoystickCurrentPowerLevel() to get the battery level of a joystick
|
||||||
|
* Added SDL_JoystickFromInstanceID(), as a helper function, to get the
|
||||||
|
SDL_Joystick* that an event is referring to.
|
||||||
|
* Added SDL_GameControllerFromInstanceID(), as a helper function, to get
|
||||||
|
the SDL_GameController* that an event is referring to.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 12 16:20:53 UTC 2015 - schwab@suse.de
|
Mon Jan 12 16:20:53 UTC 2015 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package SDL2
|
# spec file for package SDL2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
Name: SDL2
|
Name: SDL2
|
||||||
%define lname libSDL2-2_0-0
|
%define lname libSDL2-2_0-0
|
||||||
Version: 2.0.3
|
Version: 2.0.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Simple DirectMedia Layer Library
|
Summary: Simple DirectMedia Layer Library
|
||||||
License: Zlib
|
License: Zlib
|
||||||
@ -31,6 +31,7 @@ Source2: http://libsdl.org/release/%name-%version.tar.gz.sig
|
|||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
Source4: baselibs.conf
|
Source4: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: cmake
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: nasm
|
BuildRequires: nasm
|
||||||
@ -40,6 +41,7 @@ BuildRequires: pkgconfig(dbus-1)
|
|||||||
BuildRequires: pkgconfig(gl)
|
BuildRequires: pkgconfig(gl)
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(glu)
|
BuildRequires: pkgconfig(glu)
|
||||||
|
BuildRequires: pkgconfig(ibus-1.0)
|
||||||
%if 0%{?suse_version} > 1120
|
%if 0%{?suse_version} > 1120
|
||||||
BuildRequires: pkgconfig(egl)
|
BuildRequires: pkgconfig(egl)
|
||||||
BuildRequires: pkgconfig(glesv1_cm)
|
BuildRequires: pkgconfig(glesv1_cm)
|
||||||
@ -64,6 +66,7 @@ BuildRequires: pkgconfig(xi)
|
|||||||
%ifarch ppc ppc64
|
%ifarch ppc ppc64
|
||||||
BuildRequires: libspe2-devel
|
BuildRequires: libspe2-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: pkgconfig(wayland-server)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is the "Simple DirectMedia Layer" library. It provides a generic
|
This is the "Simple DirectMedia Layer" library. It provides a generic
|
||||||
@ -140,5 +143,6 @@ find "%buildroot/%_libdir" -type f -name "*.a" ! -name "libSDL2main.a" -delete
|
|||||||
%_includedir/SDL2/
|
%_includedir/SDL2/
|
||||||
%_datadir/aclocal/sdl2.m4
|
%_datadir/aclocal/sdl2.m4
|
||||||
%_libdir/pkgconfig/sdl2.pc
|
%_libdir/pkgconfig/sdl2.pc
|
||||||
|
%_libdir/cmake/SDL2/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user