summaryrefslogtreecommitdiff
path: root/devel/SDL2
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-03-02 07:49:58 +0000
committeradam <adam@pkgsrc.org>2018-03-02 07:49:58 +0000
commita7f679c07d3ef8c7b05a196577df944e509f230b (patch)
treee5ddad88c93deae0540915bd6a253985e1f726e0 /devel/SDL2
parent73017f23c3147353f5f0f76302e5e8f6b12b0239 (diff)
downloadpkgsrc-a7f679c07d3ef8c7b05a196577df944e509f230b.tar.gz
SDL2: updated to 2.0.8
2.0.8: General: * Added SDL_fmod() and SDL_log10() * Each of the SDL math functions now has the corresponding float version * Added SDL_SetYUVConversionMode() and SDL_GetYUVConversionMode() to control the formula used when converting to and from YUV colorspace. The options are JPEG, BT.601, and BT.709 Windows: * Implemented WASAPI support on Windows UWP and removed the deprecated XAudio2 implementation * Added resampling support on WASAPI on Windows 7 and above Windows UWP: * Added SDL_WinRTGetDeviceFamily() to find out what type of device your application is running on Mac OS X: * Added support for the Vulkan SDK for Mac: https://www.lunarg.com/lunarg-releases-vulkan-sdk-1-0-69-0-for-mac/ * Added support for OpenGL ES using ANGLE when it's available Mac OS X / iOS / tvOS: * Added a Metal 2D render implementation * Added SDL_RenderGetMetalLayer() and SDL_RenderGetMetalCommandEncoder() to insert your own drawing into SDL rendering when using the Metal implementation iOS: * Added the hint SDL_HINT_IOS_HIDE_HOME_INDICATOR to control whether the home indicator bar on iPhone X should be hidden. This defaults to dimming the indicator for fullscreen applications and showing the indicator for windowed applications. iOS / Android: * Added the hint SDL_HINT_RETURN_KEY_HIDES_IME to control whether the return key on the software keyboard should hide the keyboard or send a key event (the default) Android: * SDL now supports building with Android Studio and Gradle by default, and the old Ant project is available in android-project-ant * SDL now requires the API 19 SDK to build, but can still target devices down to API 14 (Android 4.0.1) * Added SDL_IsAndroidTV() to tell whether the application is running on Android TV Android / tvOS: * Added the hint SDL_HINT_TV_REMOTE_AS_JOYSTICK to control whether TV remotes should be listed as joystick devices (the default) or send keyboard events. Linux: * Added the hint SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR to control whether the X server should skip the compositor for the SDL application. This defaults to "1" * Added the hint SDL_HINT_VIDEO_DOUBLE_BUFFER to control whether the Raspberry Pi and KMSDRM video drivers should use double or triple buffering (the default)
Diffstat (limited to 'devel/SDL2')
-rw-r--r--devel/SDL2/Makefile5
-rw-r--r--devel/SDL2/distinfo11
-rw-r--r--devel/SDL2/patches/patch-src_video_SDL__egl.c23
3 files changed, 7 insertions, 32 deletions
diff --git a/devel/SDL2/Makefile b/devel/SDL2/Makefile
index 513a5cac57a..3268ae07bd7 100644
--- a/devel/SDL2/Makefile
+++ b/devel/SDL2/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2018/02/27 23:56:08 khorben Exp $
+# $NetBSD: Makefile,v 1.29 2018/03/02 07:49:58 adam Exp $
-DISTNAME= SDL2-2.0.7
-PKGREVISION= 2
+DISTNAME= SDL2-2.0.8
CATEGORIES= devel
MASTER_SITES= http://www.libsdl.org/release/
diff --git a/devel/SDL2/distinfo b/devel/SDL2/distinfo
index 280083711fd..ff8361fbe99 100644
--- a/devel/SDL2/distinfo
+++ b/devel/SDL2/distinfo
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.28 2017/12/25 00:18:39 ryoon Exp $
+$NetBSD: distinfo,v 1.29 2018/03/02 07:49:58 adam Exp $
-SHA1 (SDL2-2.0.7.tar.gz) = 0a530ccdab99cbfe906dba912049e26e3c7219d6
-RMD160 (SDL2-2.0.7.tar.gz) = 454b5be25528c43751f4e21d76a1ca18450b8bb4
-SHA512 (SDL2-2.0.7.tar.gz) = eed5477843086a0e66552eb197a5c4929134522bc366d873732361ea0df5fb841ef7e2b1913e21d1bae69e6fd3152ee630492e615c58cbe903e7d6e47b587410
-Size (SDL2-2.0.7.tar.gz) = 4432499 bytes
+SHA1 (SDL2-2.0.8.tar.gz) = 959ec6ded277821995d2e3cafd973f6ab9f48ab7
+RMD160 (SDL2-2.0.8.tar.gz) = 131abebf4e693df09b7ee09cba89809b539f7fe5
+SHA512 (SDL2-2.0.8.tar.gz) = 673c6058b8692a36b4a3594456b10ef6051efe79e4fb644421fc5c76b11fd68b895840a2c8b72413418c378733e2993d33f19767d0d7ed101eda6310bd70c869
+Size (SDL2-2.0.8.tar.gz) = 4909017 bytes
SHA1 (patch-configure) = 5637a66f8890586026034f5324829e61c94ac5be
SHA1 (patch-src_audio_netbsd_SDL__netbsdaudio.c) = 7a1f32ea7029f8dc99aecfaead7c68f2fd6cb230
SHA1 (patch-src_joystick_bsd_SDL__sysjoystick.c) = 152b5df76a91c7e7acde126b1464fdd464cf1ba2
-SHA1 (patch-src_video_SDL__egl.c) = eea0cb838e34066cd80373c0becc9eecbc8b1570
SHA1 (patch-src_video_x11_SDL__x11opengl.c) = 70b63021c12c52760c0811c673b259844bdfcdc0
diff --git a/devel/SDL2/patches/patch-src_video_SDL__egl.c b/devel/SDL2/patches/patch-src_video_SDL__egl.c
deleted file mode 100644
index 691bd35e36f..00000000000
--- a/devel/SDL2/patches/patch-src_video_SDL__egl.c
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-src_video_SDL__egl.c,v 1.5 2017/09/26 13:10:56 adam Exp $
-
---- src/video/SDL_egl.c.orig 2017-09-22 18:51:01.000000000 +0000
-+++ src/video/SDL_egl.c
-@@ -44,12 +44,12 @@
-
- #if SDL_VIDEO_DRIVER_RPI
- /* Raspbian places the OpenGL ES/EGL binaries in a non standard path */
--#define DEFAULT_EGL "/opt/vc/lib/libbrcmEGL.so"
--#define DEFAULT_OGL_ES2 "/opt/vc/lib/libbrcmGLESv2.so"
--#define ALT_EGL "/opt/vc/lib/libEGL.so"
--#define ALT_OGL_ES2 "/opt/vc/lib/libGLESv2.so"
--#define DEFAULT_OGL_ES_PVR "/opt/vc/lib/libGLES_CM.so"
--#define DEFAULT_OGL_ES "/opt/vc/lib/libGLESv1_CM.so"
-+#define DEFAULT_EGL "/lib/libbrcmEGL.so"
-+#define DEFAULT_OGL_ES2 "/lib/libbrcmGLESv2.so"
-+#define ALT_EGL "/lib/libEGL.so"
-+#define ALT_OGL_ES2 "/lib/libGLESv2.so"
-+#define DEFAULT_OGL_ES_PVR "/lib/libGLES_CM.so"
-+#define DEFAULT_OGL_ES "/lib/libGLESv1_CM.so"
-
- #elif SDL_VIDEO_DRIVER_ANDROID || SDL_VIDEO_DRIVER_VIVANTE
- /* Android */