git: 6f90d0ecf552 - main - games/libretro-play: Update to 0.48

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Wed, 12 Jan 2022 11:40:20 UTC
The branch main has been updated by ygy:

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

commit 6f90d0ecf5527ebf743c4669f55cbab88340ee0e
Author:     Ivan Rozhuk <rozhuk.im@gmail.com>
AuthorDate: 2022-01-12 11:40:05 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2022-01-12 11:40:05 +0000

    games/libretro-play: Update to 0.48
    
    PR:             261124
---
 games/libretro-play/Makefile                       | 19 +++++++++--------
 games/libretro-play/distinfo                       | 24 ++++++++++++----------
 ...eps_Dependencies_ghc__filesystem_CMakeLists.txt | 17 ++++++++-------
 3 files changed, 34 insertions(+), 26 deletions(-)

diff --git a/games/libretro-play/Makefile b/games/libretro-play/Makefile
index 5cca85194bd6..1adb732a7c5d 100644
--- a/games/libretro-play/Makefile
+++ b/games/libretro-play/Makefile
@@ -1,8 +1,7 @@
 # Created by: Rozhuk Ivan <rozhuk.im@gmail.com>
 
 PORTNAME=	play
-PORTVERSION=	0.38.0.20210320
-PORTREVISION=	3
+PORTVERSION=	0.48
 CATEGORIES=	games
 PKGNAMEPREFIX=	libretro-
 
@@ -24,20 +23,23 @@ USE_CXXSTD=	c++17
 USE_GITHUB=	yes
 GH_ACCOUNT=	jpd002 \
 		jpd002:codegen \
+		jpd002:libchdr \
 		jpd002:framework \
 		jpd002:dependencies \
 		gulrak:ghc_filesystem
 GH_PROJECT=	Play- \
 		Play--CodeGen:codegen \
+		libchdr:libchdr \
 		Play--Framework:framework \
 		Play-Dependencies:dependencies \
 		filesystem:ghc_filesystem
-GH_TAGNAME=	3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4 \
-		10068b1fd39efa88fbfb2fe14e820eae552fb2a1:codegen \
-		65baebea9ca9e7ce0631e71c8ede33f4e3d25a15:framework \
-		e3e6669ecd40598b4e4adc1bc9297c6967f4c929:dependencies \
-		3605e869150032ffdd9eae3db93e12f8711a0c82:ghc_filesystem
+GH_TAGNAME=	448bac159733c6799a451ac75a18ce04aff5e223:codegen \
+		532a3f60f75eec3454ff4e52cad8862afc40e65f:libchdr \
+		faa4c23a2e96ba42b6ff1438bf33f111295c55cf:framework \
+		636810ead6f1a3c8ee8006a3b9a698a81a0efbf6:dependencies \
+		2a8b380f8d4e77b389c42a194ab9c70d8e3a0f1e:ghc_filesystem
 GH_SUBDIR=	deps/CodeGen:codegen \
+		deps/libchdr:libchdr \
 		deps/Framework:framework \
 		deps/Dependencies:dependencies \
 		deps/Dependencies/ghc_filesystem:ghc_filesystem
@@ -52,7 +54,8 @@ CMAKE_OFF=	BUILD_AOT_CACHE \
 		USE_AOT_CACHE \
 		ENABLE_AMAZON_S3
 CMAKE_ARGS=	-DGIT_TAG=${GH_TAGNAME_DEFAULT} \
-		-DGIT_DESCRIBE_RESULT=0
+		-DGIT_DESCRIBE_RESULT=0 \
+		-DOpenGL_GL_PREFERENCE="GLVND"
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|execute_process(COMMAND git.*||g' \
diff --git a/games/libretro-play/distinfo b/games/libretro-play/distinfo
index 81181d91a525..06f7ed26d4bb 100644
--- a/games/libretro-play/distinfo
+++ b/games/libretro-play/distinfo
@@ -1,11 +1,13 @@
-TIMESTAMP = 1616456974
-SHA256 (jpd002-Play--0.38.0.20210320-3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4_GH0.tar.gz) = 824fa7b103a0f09af9dd90ca2c657189f3fa286dc7f66875b5c974763deae04a
-SIZE (jpd002-Play--0.38.0.20210320-3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4_GH0.tar.gz) = 1808710
-SHA256 (jpd002-Play--CodeGen-10068b1fd39efa88fbfb2fe14e820eae552fb2a1_GH0.tar.gz) = 6a510e462d64e94d9763bf9c2ad63f79c2d57b8811a573ddf03f039d2069ff99
-SIZE (jpd002-Play--CodeGen-10068b1fd39efa88fbfb2fe14e820eae552fb2a1_GH0.tar.gz) = 264738
-SHA256 (jpd002-Play--Framework-65baebea9ca9e7ce0631e71c8ede33f4e3d25a15_GH0.tar.gz) = 3d3d63a57aa1631682fea7377fcb6494692e5ba569a06b32db78dc8fc4f53eb3
-SIZE (jpd002-Play--Framework-65baebea9ca9e7ce0631e71c8ede33f4e3d25a15_GH0.tar.gz) = 177426
-SHA256 (jpd002-Play-Dependencies-e3e6669ecd40598b4e4adc1bc9297c6967f4c929_GH0.tar.gz) = d8d3c165f82ffc090ea9dfbdc15f61dacd6d8dfc773d0393ce6ed35140ba84cf
-SIZE (jpd002-Play-Dependencies-e3e6669ecd40598b4e4adc1bc9297c6967f4c929_GH0.tar.gz) = 4948450
-SHA256 (gulrak-filesystem-3605e869150032ffdd9eae3db93e12f8711a0c82_GH0.tar.gz) = ee85f27d11fc446ea7b742b91b531e53dac5f2a86e30d2dc0eee86dc0f4b4e70
-SIZE (gulrak-filesystem-3605e869150032ffdd9eae3db93e12f8711a0c82_GH0.tar.gz) = 162569
+TIMESTAMP = 1641918423
+SHA256 (jpd002-Play--0.48_GH0.tar.gz) = 503f5cd7fd2245422dbd9c336fe25c69cb364a802da5ba23122acba8629a23d8
+SIZE (jpd002-Play--0.48_GH0.tar.gz) = 1804767
+SHA256 (jpd002-Play--CodeGen-448bac159733c6799a451ac75a18ce04aff5e223_GH0.tar.gz) = b214266d00988c9ccd177c91491e66e016f3303722dbe48787db404a8fabced8
+SIZE (jpd002-Play--CodeGen-448bac159733c6799a451ac75a18ce04aff5e223_GH0.tar.gz) = 273617
+SHA256 (jpd002-libchdr-532a3f60f75eec3454ff4e52cad8862afc40e65f_GH0.tar.gz) = ee01abc5b2169051b10bc3ef3ae80b2fb7e62eea45bf985bf2ee02506028d2bd
+SIZE (jpd002-libchdr-532a3f60f75eec3454ff4e52cad8862afc40e65f_GH0.tar.gz) = 414882
+SHA256 (jpd002-Play--Framework-faa4c23a2e96ba42b6ff1438bf33f111295c55cf_GH0.tar.gz) = efa4d63ae5db0f1def123e98329a1738f46475b0be1f2f1b3c2ae24fc9591da3
+SIZE (jpd002-Play--Framework-faa4c23a2e96ba42b6ff1438bf33f111295c55cf_GH0.tar.gz) = 183359
+SHA256 (jpd002-Play-Dependencies-636810ead6f1a3c8ee8006a3b9a698a81a0efbf6_GH0.tar.gz) = 7da3442ab63ad60b4cb39f24c2c1d2fbcda836a7f7d8e107d4287f905f23a87c
+SIZE (jpd002-Play-Dependencies-636810ead6f1a3c8ee8006a3b9a698a81a0efbf6_GH0.tar.gz) = 4948480
+SHA256 (gulrak-filesystem-2a8b380f8d4e77b389c42a194ab9c70d8e3a0f1e_GH0.tar.gz) = e11db30e695764cb19daf5058a9997c933c5ebdb3e29c697898258cbded8d65f
+SIZE (gulrak-filesystem-2a8b380f8d4e77b389c42a194ab9c70d8e3a0f1e_GH0.tar.gz) = 173611
diff --git a/games/libretro-play/files/patch-deps_Dependencies_ghc__filesystem_CMakeLists.txt b/games/libretro-play/files/patch-deps_Dependencies_ghc__filesystem_CMakeLists.txt
index 0aedfcc49d92..c96fe201abb0 100644
--- a/games/libretro-play/files/patch-deps_Dependencies_ghc__filesystem_CMakeLists.txt
+++ b/games/libretro-play/files/patch-deps_Dependencies_ghc__filesystem_CMakeLists.txt
@@ -1,13 +1,16 @@
 --- deps/Dependencies/ghc_filesystem/CMakeLists.txt.orig	2020-03-30 22:01:31 UTC
 +++ deps/Dependencies/ghc_filesystem/CMakeLists.txt
-@@ -14,8 +14,8 @@ cmake_dependent_option(GHC_FILESYSTEM_WITH_INSTALL
-     "CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR" OFF)
+@@ -22,13 +22,6 @@
+     set(GHC_FILESYSTEM_TEST_COMPILE_FEATURES ${CMAKE_CXX_COMPILE_FEATURES})
+ endif()
  
- if(NOT DEFINED CMAKE_CXX_STANDARD)
+-if(NOT DEFINED CMAKE_CXX_STANDARD)
 -    set(CMAKE_CXX_STANDARD 11)
 -    set(CMAKE_CXX_STANDARD_REQUIRED ON)
-+    
-+    
-     set(CMAKE_CXX_EXTENSIONS OFF)
- endif()
+-    if(NOT CYGWIN)
+-        set(CMAKE_CXX_EXTENSIONS OFF)
+-    endif()
+-endif()
  if(CMAKE_CXX_STANDARD LESS 11)
+     message(FATAL_ERROR "CMAKE_CXX_STANDARD is less than 11, ghc::filesystem only works with C++11 and above.")
+ endif()