git: 8b7c7121994a - main - emulators/yuzu: update to s20240126

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 27 Jan 2024 00:52:40 UTC
The branch main has been updated by jbeich:

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

commit 8b7c7121994a7346a2517f8152a6edb671bc87c6
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-01-26 15:23:08 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-01-27 00:50:23 +0000

    emulators/yuzu: update to s20240126
    
    Changes:        https://github.com/yuzu-emu/yuzu/compare/a76f6a2775...bd8635e26a
---
 emulators/yuzu/Makefile              |  4 ++--
 emulators/yuzu/distinfo              |  6 +++---
 emulators/yuzu/files/patch-simpleini | 36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 41 insertions(+), 5 deletions(-)

diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile
index 04d87d4e0269..62776cfa1797 100644
--- a/emulators/yuzu/Makefile
+++ b/emulators/yuzu/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	yuzu
-PORTVERSION=	s20240123
+PORTVERSION=	s20240126
 CATEGORIES=	emulators wayland
 .if make(makesum)
 MASTER_SITES=	https://api.yuzu-emu.org/gamedb/?dummy=/:gamedb
@@ -46,7 +46,7 @@ qt6_OPTIONS_EXCLUDE=	QT5
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	yuzu-emu
-GH_TAGNAME=	a76f6a2775
+GH_TAGNAME=	bd8635e26a
 GH_TUPLE=	yuzu-emu:mbedtls:v2.16.9-115-g8c88150ca:mbedtls/externals/mbedtls \
 		yuzu-emu:sirit:ab75463:sirit/externals/sirit \
 		GPUOpen-LibrariesAndSDKs:VulkanMemoryAllocator:v3.0.1-114-g2f382df:VulkanMemoryAllocator/externals/VulkanMemoryAllocator \
diff --git a/emulators/yuzu/distinfo b/emulators/yuzu/distinfo
index aecc94835c51..e80fdf456aee 100644
--- a/emulators/yuzu/distinfo
+++ b/emulators/yuzu/distinfo
@@ -1,8 +1,8 @@
-TIMESTAMP = 1706034701
+TIMESTAMP = 1706282588
 SHA256 (yuzu-s20230424/compatibility_list.json) = 382db629d6b060af722a27dfa9cd6bb60ac16a7544c58322f63aa1be4c0c0fac
 SIZE (yuzu-s20230424/compatibility_list.json) = 1801327
-SHA256 (yuzu-emu-yuzu-s20240123-a76f6a2775_GH0.tar.gz) = 8ad942f9fe0ebb3382c6eb9d554856b0e59fd36359f290659330ea48821b9324
-SIZE (yuzu-emu-yuzu-s20240123-a76f6a2775_GH0.tar.gz) = 6849488
+SHA256 (yuzu-emu-yuzu-s20240126-bd8635e26a_GH0.tar.gz) = 063130385b8ca7a060f85095e7dff5533acfa55bf22b1b071ac63cb7482247fd
+SIZE (yuzu-emu-yuzu-s20240126-bd8635e26a_GH0.tar.gz) = 6896053
 SHA256 (yuzu-emu-mbedtls-v2.16.9-115-g8c88150ca_GH0.tar.gz) = 8cd6d075b4da0ad5fb995eb37390e2e6088be8d41ab1cdfc7e7e4256bd991450
 SIZE (yuzu-emu-mbedtls-v2.16.9-115-g8c88150ca_GH0.tar.gz) = 2679189
 SHA256 (yuzu-emu-sirit-ab75463_GH0.tar.gz) = 6b61e265be182b7a78075fc1b98ccf80fd33008343205dd0e22a10a439c45319
diff --git a/emulators/yuzu/files/patch-simpleini b/emulators/yuzu/files/patch-simpleini
new file mode 100644
index 000000000000..3193801e9f05
--- /dev/null
+++ b/emulators/yuzu/files/patch-simpleini
@@ -0,0 +1,36 @@
+Temporarily revert https://github.com/yuzu-emu/yuzu/commit/645961613fd5
+until devel/simpleini installs CMake config and/or pkg-config files.
+
+--- CMakeModules/FindSimpleIni.cmake.orig	2024-01-26 15:23:08 UTC
++++ CMakeModules/FindSimpleIni.cmake
+@@ -2,20 +2,18 @@
+ #
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ 
++find_path(SimpleIni_INCLUDE_DIR SimpleIni.h)
++
+ include(FindPackageHandleStandardArgs)
++find_package_handle_standard_args(SimpleIni
++    REQUIRED_VARS SimpleIni_INCLUDE_DIR
++)
+ 
+-find_package(SimpleIni QUIET CONFIG)
+-if (SimpleIni_CONSIDERED_CONFIGS)
+-    find_package_handle_standard_args(SimpleIni CONFIG_MODE)
+-else()
+-    find_package(PkgConfig QUIET)
+-    pkg_search_module(SIMPLEINI QUIET IMPORTED_TARGET simpleini)
+-    find_package_handle_standard_args(SimpleIni
+-        REQUIRED_VARS SIMPLEINI_INCLUDEDIR
+-        VERSION_VAR SIMPLEINI_VERSION
++if (SimpleIni_FOUND AND NOT TARGET SimpleIni::SimpleIni)
++    add_library(SimpleIni::SimpleIni INTERFACE IMPORTED)
++    set_target_properties(SimpleIni::SimpleIni PROPERTIES
++        INTERFACE_INCLUDE_DIRECTORIES "${SimpleIni_INCLUDE_DIR}"
+     )
+ endif()
+ 
+-if (SimpleIni_FOUND AND NOT TARGET SimpleIni::SimpleIni)
+-    add_library(SimpleIni::SimpleIni ALIAS PkgConfig::SIMPLEINI)
+-endif()
++mark_as_advanced(SimpleIni_INCLUDE_DIR)