git: b9ddce09b150 - main - games/powder-toy: update 98.2.365 → 99.0.377

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Sun, 29 Dec 2024 00:47:53 UTC
The branch main has been updated by amdmi3:

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

commit b9ddce09b1502e857d9416963cbbc11e535ff67c
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2024-12-25 14:02:35 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2024-12-29 00:39:37 +0000

    games/powder-toy: update 98.2.365 → 99.0.377
---
 games/powder-toy/Makefile                          |  5 ++---
 games/powder-toy/distinfo                          |  6 +++---
 games/powder-toy/files/patch-resources_meson.build | 10 +++++-----
 3 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/games/powder-toy/Makefile b/games/powder-toy/Makefile
index 16d8f4389284..78c11ab35b52 100644
--- a/games/powder-toy/Makefile
+++ b/games/powder-toy/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	powder-toy
 DISTVERSIONPREFIX=	v
-DISTVERSION=	98.2.365
-PORTREVISION=	2
+DISTVERSION=	99.0.377
 CATEGORIES=	games
 
 MAINTAINER=	amdmi3@FreeBSD.org
@@ -39,7 +38,7 @@ SSE_MESON_ON=		-Dx86_sse=auto
 SSE_MESON_OFF=		-Dx86_sse=none
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' ${WRKSRC}/meson.build
+	@${REINPLACE_CMD} -e "s|'python3'|'${PYTHON_CMD}'|" ${WRKSRC}/meson.build
 
 do-install:
 	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/powder-toy ${STAGEDIR}${PREFIX}/bin/
diff --git a/games/powder-toy/distinfo b/games/powder-toy/distinfo
index 8d90915e2075..b0fa90995c93 100644
--- a/games/powder-toy/distinfo
+++ b/games/powder-toy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712344040
-SHA256 (The-Powder-Toy-The-Powder-Toy-v98.2.365_GH0.tar.gz) = 21900b6b022535d0e56126b023538cc4f44b64feceafb5640492618a42a60080
-SIZE (The-Powder-Toy-The-Powder-Toy-v98.2.365_GH0.tar.gz) = 777726
+TIMESTAMP = 1735134407
+SHA256 (The-Powder-Toy-The-Powder-Toy-v99.0.377_GH0.tar.gz) = 5484c4254f01852051686ae17738420827ad0847388018f0b96abda221bc1c3a
+SIZE (The-Powder-Toy-The-Powder-Toy-v99.0.377_GH0.tar.gz) = 795278
diff --git a/games/powder-toy/files/patch-resources_meson.build b/games/powder-toy/files/patch-resources_meson.build
index 8d6c0d5d3829..86e9f6720ece 100644
--- a/games/powder-toy/files/patch-resources_meson.build
+++ b/games/powder-toy/files/patch-resources_meson.build
@@ -1,11 +1,11 @@
---- resources/meson.build.orig	2023-01-04 02:02:45 UTC
+--- resources/meson.build.orig	2024-12-25 03:50:36 UTC
 +++ resources/meson.build
-@@ -68,7 +68,7 @@ elif host_platform == 'darwin'
+@@ -98,7 +98,7 @@ elif host_platform == 'darwin'
  		output: 'Info.plist',
  		configuration: conf_data,
  	)
 -elif host_platform == 'linux'
 +else
- 	data_files += to_array.process(rendered_icons['icon_exe'], extra_args: 'icon_exe_png')
- 	data_files += to_array.process(rendered_icons['icon_cps'], extra_args: 'icon_cps_png')
- 	data_files += to_array.process('save.xml', extra_args: 'save_xml')
+ 	embedded_files += [
+ 		[ 'icon_exe_png', rendered_icons['icon_exe'] ],
+ 		[ 'icon_cps_png', rendered_icons['icon_cps'] ],