git: 37ab57cc4366 - main - devel/sdl3: update 3.1.2 → 3.1.6

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Sat, 02 Nov 2024 16:20:11 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=37ab57cc4366d2796a2b9788360c1eaa5f521187

commit 37ab57cc4366d2796a2b9788360c1eaa5f521187
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2024-10-24 20:37:21 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2024-11-02 16:15:39 +0000

    devel/sdl3: update 3.1.2 → 3.1.6
---
 devel/sdl3/Makefile  | 6 ++++--
 devel/sdl3/distinfo  | 6 +++---
 devel/sdl3/pkg-plist | 5 +++--
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/devel/sdl3/Makefile b/devel/sdl3/Makefile
index 9f644efcb25a..6a2d5feaaa7e 100644
--- a/devel/sdl3/Makefile
+++ b/devel/sdl3/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sdl3
-DISTVERSION=	3.1.2
+DISTVERSIONPREFIX=	preview-
+DISTVERSION=	3.1.6
 CATEGORIES=	devel
 
 MAINTAINER=	amdmi3@FreeBSD.org
@@ -14,11 +15,12 @@ USES=		cmake iconv pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	libsdl-org
 GH_PROJECT=	SDL
-GH_TAGNAME=	9a4fc81
 CMAKE_OFF=	SDL_RPATH
 CMAKE_ON=	CMAKE_DISABLE_FIND_PACKAGE_Git
 USE_LDCONFIG=	yes
 
+PLIST_SUB=	LIBVERSION=${DISTVERSION:C/[0-9]+/0/1}
+
 PORTSCOUT=	limitw:1,even
 
 OPTIONS_DEFINE=		CSD DBUS FCITX IBUS JOYSTICK HIDAPI \
diff --git a/devel/sdl3/distinfo b/devel/sdl3/distinfo
index 5dff1e3a4bfb..d8bc05dd3e65 100644
--- a/devel/sdl3/distinfo
+++ b/devel/sdl3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1717772637
-SHA256 (libsdl-org-SDL-3.1.2-9a4fc81_GH0.tar.gz) = 238a7920b1cd053cee9f28f185abd6e82a6a1dfc72669aa3400625c0582ecaf5
-SIZE (libsdl-org-SDL-3.1.2-9a4fc81_GH0.tar.gz) = 6929806
+TIMESTAMP = 1730558995
+SHA256 (libsdl-org-SDL-preview-3.1.6_GH0.tar.gz) = 5da5e265c150b954d007bf1465b155d9df1d0d52f10115a49bb918dc8fe2826a
+SIZE (libsdl-org-SDL-preview-3.1.6_GH0.tar.gz) = 7773892
diff --git a/devel/sdl3/pkg-plist b/devel/sdl3/pkg-plist
index b42b5c6669f8..c842a313f5ec 100644
--- a/devel/sdl3/pkg-plist
+++ b/devel/sdl3/pkg-plist
@@ -17,6 +17,7 @@ include/SDL3/SDL_error.h
 include/SDL3/SDL_events.h
 include/SDL3/SDL_filesystem.h
 include/SDL3/SDL_gamepad.h
+include/SDL3/SDL_gpu.h
 include/SDL3/SDL_guid.h
 include/SDL3/SDL_haptic.h
 include/SDL3/SDL_hidapi.h
@@ -51,6 +52,7 @@ include/SDL3/SDL_pixels.h
 include/SDL3/SDL_platform.h
 include/SDL3/SDL_platform_defines.h
 include/SDL3/SDL_power.h
+include/SDL3/SDL_process.h
 include/SDL3/SDL_properties.h
 include/SDL3/SDL_rect.h
 include/SDL3/SDL_render.h
@@ -72,7 +74,6 @@ include/SDL3/SDL_test_harness.h
 include/SDL3/SDL_test_log.h
 include/SDL3/SDL_test_md5.h
 include/SDL3/SDL_test_memory.h
-include/SDL3/SDL_test_random.h
 include/SDL3/SDL_thread.h
 include/SDL3/SDL_time.h
 include/SDL3/SDL_timer.h
@@ -89,6 +90,6 @@ lib/cmake/SDL3/SDL3testTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/SDL3/SDL3testTargets.cmake
 lib/libSDL3.so
 lib/libSDL3.so.0
-lib/libSDL3.so.0.1.2
+lib/libSDL3.so.%%LIBVERSION%%
 lib/libSDL3_test.a
 libdata/pkgconfig/sdl3.pc