diff --git a/SDL2-2.0.3.tar.gz b/SDL2-2.0.3.tar.gz deleted file mode 100644 index 40d14ad..0000000 --- a/SDL2-2.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5a69a6abf80bcce713fa873607735fe712f44276a7f048d60a61bb2f6b3c90c -size 3871267 diff --git a/SDL2-2.0.3.tar.gz.sig b/SDL2-2.0.3.tar.gz.sig deleted file mode 100644 index cb50a2e..0000000 Binary files a/SDL2-2.0.3.tar.gz.sig and /dev/null differ diff --git a/SDL2-2.0.4.tar.gz b/SDL2-2.0.4.tar.gz new file mode 100644 index 0000000..7da0980 --- /dev/null +++ b/SDL2-2.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da55e540bf6331824153805d58b590a29c39d2d506c6d02fa409aedeab21174b +size 4136230 diff --git a/SDL2-2.0.4.tar.gz.sig b/SDL2-2.0.4.tar.gz.sig new file mode 100644 index 0000000..08ffa78 Binary files /dev/null and b/SDL2-2.0.4.tar.gz.sig differ diff --git a/SDL2.changes b/SDL2.changes index 13167c0..7e69ea5 100644 --- a/SDL2.changes +++ b/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 diff --git a/SDL2.spec b/SDL2.spec index 4e084bd..39e54e1 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: SDL2 %define lname libSDL2-2_0-0 -Version: 2.0.3 +Version: 2.0.4 Release: 0 Summary: Simple DirectMedia Layer Library License: Zlib @@ -31,6 +31,7 @@ Source2: http://libsdl.org/release/%name-%version.tar.gz.sig Source3: %name.keyring Source4: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: cmake BuildRequires: dos2unix BuildRequires: gcc-c++ BuildRequires: nasm @@ -40,6 +41,7 @@ BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glu) +BuildRequires: pkgconfig(ibus-1.0) %if 0%{?suse_version} > 1120 BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(glesv1_cm) @@ -64,6 +66,7 @@ BuildRequires: pkgconfig(xi) %ifarch ppc ppc64 BuildRequires: libspe2-devel %endif +BuildRequires: pkgconfig(wayland-server) %description 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/ %_datadir/aclocal/sdl2.m4 %_libdir/pkgconfig/sdl2.pc +%_libdir/cmake/SDL2/ %changelog