git: a046bd6c8feb - main - games/mizuma: Update to 2023.04

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 13 May 2024 21:21:49 UTC
The branch main has been updated by fuz:

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

commit a046bd6c8feb85fc1f6150a94e199083b7b3d676
Author:     Alexander Vereeken <Alexander88207@protonmail.com>
AuthorDate: 2024-04-12 21:31:43 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-05-13 21:19:58 +0000

    games/mizuma: Update to 2023.04
    
    Changes:
    
    - Removed "Run a foreign executable in a selected prefix"
    as it is now included in winetricks.
    
    - Added the Move function that moves the downloaded app file
    into the installation prefix.
    
    - Improved detection if someone is trying to run it as root.
    
    Changes to the port:
    
    - Depend on wine8 as the updated regular Wine port
    doesn't have an patch for WoW64 functionality.
    
    Changelog: https://codeberg.org/Alexander88207/Mizutamari/releases/tag/2024.04
    
    PR:             278337
    Approved by:    Submitter is maintainer
---
 games/mizuma/Makefile           |  6 +++---
 games/mizuma/distinfo           |  6 +++---
 games/mizuma/files/patch-Mizuma | 14 ++++++++++++++
 3 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/games/mizuma/Makefile b/games/mizuma/Makefile
index 46e04f408bac..4f8051f9df26 100644
--- a/games/mizuma/Makefile
+++ b/games/mizuma/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mizuma
-DISTVERSION=	2024.01
-CATEGORIES=	games emulators 
+DISTVERSION=	2024.04
+CATEGORIES=	games emulators
 MASTER_SITES=	https://codeberg.org/Alexander88207/Mizutamari/archive/${PORTVERSION}${EXTRACT_SUFX}?dummy=/
 
 MAINTAINER=	Alexander88207@protonmail.com
@@ -16,7 +16,7 @@ ONLY_FOR_ARCHS_REASON=	Wine only runs on x86 architecture
 RUN_DEPENDS=	7zz:archivers/7-zip \
 		bash:shells/bash \
 		vulkaninfo:graphics/vulkan-tools \
-		wine:emulators/wine \
+		wine:emulators/wine8 \
 		wine-mono>0:emulators/wine-mono \
 		winetricks:emulators/winetricks \
 		xdg-open:devel/xdg-utils \
diff --git a/games/mizuma/distinfo b/games/mizuma/distinfo
index c95842e30707..b3fd11131700 100644
--- a/games/mizuma/distinfo
+++ b/games/mizuma/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1705748798
-SHA256 (mizuma-2024.01.tar.gz) = a82efc4b139fb1dace0347566e8a63711b07c536ca15521af733d00d07673ee3
-SIZE (mizuma-2024.01.tar.gz) = 194278
+TIMESTAMP = 1712950590
+SHA256 (mizuma-2024.04.tar.gz) = 3fbd66140b5879b726c00189573b9c1506f5b8fa57383b14c9d6c814ded68166
+SIZE (mizuma-2024.04.tar.gz) = 218668
diff --git a/games/mizuma/files/patch-Mizuma b/games/mizuma/files/patch-Mizuma
new file mode 100644
index 000000000000..8b297cd1a43f
--- /dev/null
+++ b/games/mizuma/files/patch-Mizuma
@@ -0,0 +1,14 @@
+--- Mizuma.orig	2024-04-12 19:39:20 UTC
++++ Mizuma
+@@ -336,9 +336,9 @@ if [ $online -eq 0 ]; then
+ nc -z 1.1.1.1 80  >/dev/null 2>&1
+ online=$?
+ if [ $online -eq 0 ]; then
+-if [ ! -f "$HOME/.i386-wine-pkg/usr/local/libdata/ldconfig/wine" ]; then
++if [ ! -f "$HOME/.i386-wine-pkg/usr/local/libdata/ldconfig/wine8" ]; then
+ echo -e "\e[3;5;0;96mSetting up 32-Bit libraries ...\e[30;48;5;82m\e[0m"
+-/usr/local/share/wine/pkg32.sh install -y wine mesa-dri | zenity --auto-close --percentage=15 --progress --title="$NAME - 32-Bit maintenance" --text="Installing 32-Bit libraries"
++/usr/local/share/wine/pkg32.sh install -y wine8 mesa-dri | zenity --auto-close --percentage=15 --progress --title="$NAME - 32-Bit maintenance" --text="Installing 32-Bit libraries"
+ MesaDEV=$(pkg info mesa-devel)
+ if [[ $MesaDEV == *"Name           : mesa-devel"* ]]; then
+ MD=$(question "It looks like that you have installed mesa-devel, do you like to install mesa-devel for the Wine 32-Bit part too?")