games/mizuma: Update 2024.04 → 2024.09

Changelog:
- Restrict usage of ExtractTo to $ProjectPath.
- Fixed correct PCM device info when 10+ PCM devices are present.
- Delete also *.rar files when cleaning up cache.
https://codeberg.org/Alexander88207/Mizutamari/releases/tag/2024.09

Changes to the port:
- Changed runtime to regular wine as it is fully functional again.
- Add NO_ARCH - "no architecture specific files found" (port installs 2
  bash scripts only).
- Repalce '-' with '_' in options names.
- Pet portclippy.

PR:	281374
This commit is contained in:
Alexander Vereeken 2024-09-09 20:52:06 +03:00 committed by Vladimir Druzenko
parent 2b2f6f55ab
commit 5b3354a080
3 changed files with 17 additions and 30 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= mizuma
DISTVERSION= 2024.04
DISTVERSION= 2024.09
CATEGORIES= games emulators
MASTER_SITES= https://codeberg.org/Alexander88207/Mizutamari/archive/${PORTVERSION}${EXTRACT_SUFX}?dummy=/
@ -16,30 +16,31 @@ 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/wine8 \
wine:emulators/wine \
wine-mono>0:emulators/wine-mono \
winetricks:emulators/winetricks \
xdg-open:devel/xdg-utils \
zenity:x11/zenity
NO_ARCH= yes
NO_BUILD= yes
OPTIONS_SUB= yes
OPTIONS_DEFAULT= GLX-UTILS
OPTIONS_RADIO= GLXINFO
OPTIONS_RADIO_GLXINFO= GLX-UTILS MESA-DEMOS
GLX-UTILS_DESC= Use glxinfo from glx-utils
MESA-DEMOS_DESC= Use glxinfo from mesa-demos
GLX-UTILS_RUN_DEPENDS= glxinfo:graphics/glx-utils
MESA-DEMOS_RUN_DEPENDS= glxinfo:graphics/mesa-demos
WRKSRC= ${WRKDIR}/mizutamari
PLIST_FILES= bin/Mizuma \
share/Mizutamari/Tools/Framework
OPTIONS_DEFAULT= GLX_UTILS
OPTIONS_RADIO= GLXINFO
OPTIONS_RADIO_GLXINFO= GLX_UTILS MESA_DEMOS
OPTIONS_SUB= yes
GLX_UTILS_DESC= Use glxinfo from glx-utils
MESA_DEMOS_DESC= Use glxinfo from mesa-demos
GLX_UTILS_RUN_DEPENDS= glxinfo:graphics/glx-utils
MESA_DEMOS_RUN_DEPENDS= glxinfo:graphics/mesa-demos
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/Mizutamari/Tools
${INSTALL_SCRIPT} ${WRKSRC}/Mizuma ${STAGEDIR}${PREFIX}/bin

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1712950590
SHA256 (mizuma-2024.04.tar.gz) = 3fbd66140b5879b726c00189573b9c1506f5b8fa57383b14c9d6c814ded68166
SIZE (mizuma-2024.04.tar.gz) = 218668
TIMESTAMP = 1725829348
SHA256 (mizuma-2024.09.tar.gz) = ab36a0f6c32305904c65aa7d0bd7c773c2c0207b39b02dc9e86f958c5c457704
SIZE (mizuma-2024.09.tar.gz) = 220003

View file

@ -1,14 +0,0 @@
--- 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?")