git: eb20d81b09ad - main - emulators/ppsspp: update to 1.16

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 09 Sep 2023 16:15:14 UTC
The branch main has been updated by jbeich:

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

commit eb20d81b09ad3374a565d2b203e7fe2647948419
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-09-09 13:14:20 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-09-09 16:13:58 +0000

    emulators/ppsspp: update to 1.16
    
    Changes:        https://github.com/hrydgard/ppsspp/releases/tag/v1.16
    Reported by:    GitHub (watch releases)
---
 emulators/libretro-ppsspp/Makefile |  2 +-
 emulators/ppsspp-qt5/Makefile      |  2 +-
 emulators/ppsspp/Makefile          | 15 +++++++++++----
 emulators/ppsspp/distinfo          | 18 +++++++++++++-----
 4 files changed, 26 insertions(+), 11 deletions(-)

diff --git a/emulators/libretro-ppsspp/Makefile b/emulators/libretro-ppsspp/Makefile
index 0b8a371c9109..59effea19ca9 100644
--- a/emulators/libretro-ppsspp/Makefile
+++ b/emulators/libretro-ppsspp/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 PKGNAMEPREFIX=	libretro-
 
 MASTERDIR=	${.CURDIR}/../ppsspp
diff --git a/emulators/ppsspp-qt5/Makefile b/emulators/ppsspp-qt5/Makefile
index 41539a191451..2b5cf472f7e3 100644
--- a/emulators/ppsspp-qt5/Makefile
+++ b/emulators/ppsspp-qt5/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	1
+PORTREVISION=	0
 PKGNAMESUFFIX=	-qt5
 
 MASTERDIR=	${.CURDIR}/../ppsspp
diff --git a/emulators/ppsspp/Makefile b/emulators/ppsspp/Makefile
index a837555530de..eabf788967c2 100644
--- a/emulators/ppsspp/Makefile
+++ b/emulators/ppsspp/Makefile
@@ -1,13 +1,17 @@
 PORTNAME=	ppsspp
 DISTVERSIONPREFIX=	v
-DISTVERSION?=	1.15.4
-PORTREVISION?=	2
+DISTVERSION?=	1.16
+PORTREVISION?=	0
 CATEGORIES=	emulators
 # XXX Get from Debian once #697821 lands
 MASTER_SITES=	https://bazaar.launchpad.net/~sergio-br2/${PORTNAME}/debian-sdl/download/5/${PORTNAME}.1-20140802045408-dd26dik367ztj5xg-8/:manpage
 DISTFILES=	${PORTNAME}.1:manpage
 EXTRACT_ONLY=	${DISTFILES:N*\:manpage:C/:.*//}
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	9472e7e15268.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/18114
+PATCHFILES+=	0cbca92b27e8.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/18115
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	PSP emulator in C++ with dynarec JIT for x86, ARM, MIPS
 WWW=		https://www.ppsspp.org/
@@ -29,11 +33,13 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	hrydgard
 GH_TUPLE?=	hrydgard:glslang:8.13.3743-948-gb34f619e:glslang/ext/glslang \
 		hrydgard:miniupnp:miniupnpd_2_1-502-g3a87be3:miniupnp/ext/miniupnp \
-		google:cpu_features:v0.7.0-60-g75ec988:cpu_features/ext/cpu_features \
+		google:cpu_features:v0.8.0-27-gfd4ffc1:cpu_features/ext/cpu_features \
 		unknownbrackets:ppsspp-debugger:9776332:debugger/assets/debugger \
 		KhronosGroup:SPIRV-Cross:sdk-1.3.239.0:SPIRV/ext/SPIRV-Cross \
 		Kingcom:armips:v0.11.0-188-g7bd1ec9:armips/ext/armips \
-		Kingcom:filesystem:v1.3.2-12-g3f1c185:filesystem/ext/armips/ext/filesystem
+		Kingcom:filesystem:v1.3.2-12-g3f1c185:filesystem/ext/armips/ext/filesystem \
+		RetroAchievements:rcheevos:v10.7.1-17-g813163c:rcheevos/ext/rcheevos \
+		Tencent:rapidjson:v1.1.0-415-g73063f50:rapidjson/ext/rapidjson
 
 CONFLICTS_INSTALL=	${PORTNAME}-*
 
@@ -43,6 +49,7 @@ EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
 USE_GL=		glew opengl
 CMAKE_ON=	${FFMPEG LIBZIP SNAPPY ZSTD:L:S/^/USE_SYSTEM_/} USE_WAYLAND_WSI USE_VULKAN_DISPLAY_KHR
 CMAKE_OFF=	USE_DISCORD
+LDFLAGS+=	-Wl,--as-needed # ICE/SM/X11/Xext, Qt5Network
 SUB_FILES=	pkg-message
 PORTDATA=	assets
 
diff --git a/emulators/ppsspp/distinfo b/emulators/ppsspp/distinfo
index 7c1a3f958497..0cf20ebe7e97 100644
--- a/emulators/ppsspp/distinfo
+++ b/emulators/ppsspp/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1684765609
+TIMESTAMP = 1694265260
 SHA256 (ppsspp.1) = 64a7cca4c3a5fc6ad5b63399edef9056b0c85ea68fed00fb7e97f4b2724e503b
 SIZE (ppsspp.1) = 1598
-SHA256 (hrydgard-ppsspp-v1.15.4_GH0.tar.gz) = 863c1343967061f623154b4afa0b0847898287af87c62ae6d223aeeb2c0885de
-SIZE (hrydgard-ppsspp-v1.15.4_GH0.tar.gz) = 43459477
+SHA256 (hrydgard-ppsspp-v1.16_GH0.tar.gz) = 89e708c7d4106f110ee0f36bf35c04b05ecd84860c7cfb57c0afd493247ee607
+SIZE (hrydgard-ppsspp-v1.16_GH0.tar.gz) = 41491974
 SHA256 (hrydgard-glslang-8.13.3743-948-gb34f619e_GH0.tar.gz) = 8f002c902a5bc5a9d3c7e58b82ba2a6845ee08a01b756eaf4afefff806d109c7
 SIZE (hrydgard-glslang-8.13.3743-948-gb34f619e_GH0.tar.gz) = 3689872
 SHA256 (hrydgard-miniupnp-miniupnpd_2_1-502-g3a87be3_GH0.tar.gz) = 3aefaee9eb86e5f44267aa9e8d37b46d2be8f1c72879cebefa365690a9348190
 SIZE (hrydgard-miniupnp-miniupnpd_2_1-502-g3a87be3_GH0.tar.gz) = 448853
-SHA256 (google-cpu_features-v0.7.0-60-g75ec988_GH0.tar.gz) = 6bf96c7c07fec41863b8744913896e326dc84c762984e2e1835ce2fd64fbb473
-SIZE (google-cpu_features-v0.7.0-60-g75ec988_GH0.tar.gz) = 102340
+SHA256 (google-cpu_features-v0.8.0-27-gfd4ffc1_GH0.tar.gz) = 0bcb1a537b8fc184b9df9ddde9d15868efe7f651139ea84d3e20ac9900a43c60
+SIZE (google-cpu_features-v0.8.0-27-gfd4ffc1_GH0.tar.gz) = 109044
 SHA256 (unknownbrackets-ppsspp-debugger-9776332_GH0.tar.gz) = adc88664cb127b7797b03ffe07274096ac8ac037f143bf636b6208084c47e4d7
 SIZE (unknownbrackets-ppsspp-debugger-9776332_GH0.tar.gz) = 810213
 SHA256 (KhronosGroup-SPIRV-Cross-sdk-1.3.239.0_GH0.tar.gz) = a1695022880e7ef3c2d407647f79876045dc2a3ed012753adc71ead5cc5178ba
@@ -17,3 +17,11 @@ SHA256 (Kingcom-armips-v0.11.0-188-g7bd1ec9_GH0.tar.gz) = 577ec512e9f400c94f018b
 SIZE (Kingcom-armips-v0.11.0-188-g7bd1ec9_GH0.tar.gz) = 222958
 SHA256 (Kingcom-filesystem-v1.3.2-12-g3f1c185_GH0.tar.gz) = 9fa5a690e341bea1935a7f6b256e1bbd864abee988f834f10307f646dc38e604
 SIZE (Kingcom-filesystem-v1.3.2-12-g3f1c185_GH0.tar.gz) = 163401
+SHA256 (RetroAchievements-rcheevos-v10.7.1-17-g813163c_GH0.tar.gz) = 1f06786133fea04b71ad22f9244c30a5cc922a3eac6c39472084f25644591054
+SIZE (RetroAchievements-rcheevos-v10.7.1-17-g813163c_GH0.tar.gz) = 603677
+SHA256 (Tencent-rapidjson-v1.1.0-415-g73063f50_GH0.tar.gz) = 45e801225dd7a8d09bde7e5a2dc52c18d630f07bbbec7587017ca19bac9446fe
+SIZE (Tencent-rapidjson-v1.1.0-415-g73063f50_GH0.tar.gz) = 1054127
+SHA256 (9472e7e15268.patch) = 66bb9c060fb55aa6e52db6c076a1d35d19ec5b7d7aa4c748dd2232c0f8576b9a
+SIZE (9472e7e15268.patch) = 1315
+SHA256 (0cbca92b27e8.patch) = 31d7a78f8052eadf1816c9d4dbe7b54a17fa3637b9c15e05c0e19b91df29369c
+SIZE (0cbca92b27e8.patch) = 726