git: 299ad2bafa85 - main - games/minetest: update 5.8.0 → 5.9.0

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Sat, 31 Aug 2024 02:24:04 UTC
The branch main has been updated by amdmi3:

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

commit 299ad2bafa85ec2582fe8c061a4f9799e059a0c9
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2024-08-12 13:30:04 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2024-08-31 02:18:23 +0000

    games/minetest: update 5.8.0 → 5.9.0
---
 games/minetest/Makefile                                 |  6 +-----
 games/minetest/distinfo                                 |  8 +++-----
 ...eviceLinux.cpp => patch-irr_src_CIrrDeviceLinux.cpp} |  6 ++++--
 games/minetest/files/patch-src_CMakeLists.txt           | 17 -----------------
 games/minetest/pkg-plist                                |  4 +++-
 5 files changed, 11 insertions(+), 30 deletions(-)

diff --git a/games/minetest/Makefile b/games/minetest/Makefile
index 1d73d911f5b9..4a832dee1c9b 100644
--- a/games/minetest/Makefile
+++ b/games/minetest/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	minetest
-PORTVERSION=	5.8.0
-PORTREVISION=	1
+PORTVERSION=	5.9.0
 CATEGORIES=	games
 
 MAINTAINER=	amdmi3@FreeBSD.org
@@ -16,9 +15,6 @@ LIB_DEPENDS=	libgmp.so:math/gmp \
 
 USES=		cmake compiler:c++17-lang cpe iconv:wchar_t sqlite
 USE_GITHUB=	yes
-# check https://github.com/minetest/minetest/releases for applicable irrlichmt version
-GH_TUPLE=	minetest:irrlicht:1.9.0mt13:irrlicht/lib/irrlichtmt
-
 CMAKE_ARGS=	-DCUSTOM_EXAMPLE_CONF_DIR="${PREFIX}/etc" \
 CMAKE_ON=	ENABLE_SYSTEM_JSONCPP
 CMAKE_OFF=	BUILD_DOCUMENTATION
diff --git a/games/minetest/distinfo b/games/minetest/distinfo
index 5995527e81f2..203c9caf5d49 100644
--- a/games/minetest/distinfo
+++ b/games/minetest/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1709305325
-SHA256 (minetest-minetest-5.8.0_GH0.tar.gz) = 610c85a24d77acdc3043a69d777bed9e6c00169406ca09df22ad490fe0d68c0c
-SIZE (minetest-minetest-5.8.0_GH0.tar.gz) = 10419348
-SHA256 (minetest-irrlicht-1.9.0mt13_GH0.tar.gz) = 2fde8e27144988210b9c0ff1e202905834d9d25aaa63ce452763fd7171096adc
-SIZE (minetest-irrlicht-1.9.0mt13_GH0.tar.gz) = 754056
+TIMESTAMP = 1723465022
+SHA256 (minetest-minetest-5.9.0_GH0.tar.gz) = 070bc292a0b7fc60d7ff0a14b364c8229c5cbe38296a80f948ea2c2591545a5c
+SIZE (minetest-minetest-5.9.0_GH0.tar.gz) = 11984514
diff --git a/games/minetest/files/patch-lib_irrlichtmt_source_Irrlicht_CIrrDeviceLinux.cpp b/games/minetest/files/patch-irr_src_CIrrDeviceLinux.cpp
similarity index 61%
rename from games/minetest/files/patch-lib_irrlichtmt_source_Irrlicht_CIrrDeviceLinux.cpp
rename to games/minetest/files/patch-irr_src_CIrrDeviceLinux.cpp
index 04adbc660dfb..0715079f6989 100644
--- a/games/minetest/files/patch-lib_irrlichtmt_source_Irrlicht_CIrrDeviceLinux.cpp
+++ b/games/minetest/files/patch-irr_src_CIrrDeviceLinux.cpp
@@ -1,5 +1,7 @@
---- lib/irrlichtmt/source/Irrlicht/CIrrDeviceLinux.cpp.orig	2023-10-27 15:48:29 UTC
-+++ lib/irrlichtmt/source/Irrlicht/CIrrDeviceLinux.cpp
+https://github.com/minetest/minetest/pull/14962
+
+--- irr/src/CIrrDeviceLinux.cpp.orig	2024-08-11 15:54:55 UTC
++++ irr/src/CIrrDeviceLinux.cpp
 @@ -45,6 +45,10 @@
  #include <X11/Xcursor/Xcursor.h>
  #endif
diff --git a/games/minetest/files/patch-src_CMakeLists.txt b/games/minetest/files/patch-src_CMakeLists.txt
deleted file mode 100644
index c9391d6c1612..000000000000
--- a/games/minetest/files/patch-src_CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Fix build with CMake >= 3.28.0. FREETYPE_LIBRARY has not officially been
-part of the user-facing interface of the FindFreetype module since CMake
-2.6.0 [1] and has only been coincidentally defined up until this point.
-
-[1] https://gitlab.kitware.com/cmake/cmake/-/commit/d18fb61c76c720ec5b1ac2cc4f30a5beaf071c33
-
---- src/CMakeLists.txt.orig	2023-04-08 16:04:52 UTC
-+++ src/CMakeLists.txt
-@@ -542,7 +542,7 @@ if(BUILD_CLIENT)
- 		${GMP_LIBRARY}
- 		${JSON_LIBRARY}
- 		${LUA_BIT_LIBRARY}
--		${FREETYPE_LIBRARY}
-+		${FREETYPE_LIBRARIES}
- 		${PLATFORM_LIBS}
- 	)
- 	if(NOT USE_LUAJIT)
diff --git a/games/minetest/pkg-plist b/games/minetest/pkg-plist
index d030f586da88..21d08db3e0c9 100644
--- a/games/minetest/pkg-plist
+++ b/games/minetest/pkg-plist
@@ -32,6 +32,7 @@ share/icons/hicolor/scalable/apps/minetest.svg
 %%CLIENT%%%%NLS%%share/locale/jv/LC_MESSAGES/minetest.mo
 %%CLIENT%%%%NLS%%share/locale/kk/LC_MESSAGES/minetest.mo
 %%CLIENT%%%%NLS%%share/locale/ko/LC_MESSAGES/minetest.mo
+%%CLIENT%%%%NLS%%share/locale/kv/LC_MESSAGES/minetest.mo
 %%CLIENT%%%%NLS%%share/locale/ky/LC_MESSAGES/minetest.mo
 %%CLIENT%%%%NLS%%share/locale/lt/LC_MESSAGES/minetest.mo
 %%CLIENT%%%%NLS%%share/locale/lv/LC_MESSAGES/minetest.mo
@@ -55,6 +56,7 @@ share/icons/hicolor/scalable/apps/minetest.svg
 %%CLIENT%%%%NLS%%share/locale/sr_Latn/LC_MESSAGES/minetest.mo
 %%CLIENT%%%%NLS%%share/locale/sv/LC_MESSAGES/minetest.mo
 %%CLIENT%%%%NLS%%share/locale/sw/LC_MESSAGES/minetest.mo
+%%CLIENT%%%%NLS%%share/locale/tok/LC_MESSAGES/minetest.mo
 %%CLIENT%%%%NLS%%share/locale/tr/LC_MESSAGES/minetest.mo
 %%CLIENT%%%%NLS%%share/locale/tt/LC_MESSAGES/minetest.mo
 %%CLIENT%%%%NLS%%share/locale/uk/LC_MESSAGES/minetest.mo
@@ -64,4 +66,4 @@ share/icons/hicolor/scalable/apps/minetest.svg
 %%CLIENT%%%%NLS%%share/locale/zh_TW/LC_MESSAGES/minetest.mo
 share/man/man6/minetest.6.gz
 share/man/man6/minetestserver.6.gz
-share/metainfo/net.minetest.minetest.appdata.xml
+share/metainfo/net.minetest.minetest.metainfo.xml