Hello ports@
Here's an update of luanti to 5.18.0
Changelog:
https://docs.luanti.org/about/changelog/#5170--5180
Built and tested on 8.0-current/amd64.
Played for a few hours each day for the past few days on X11/stumpwm
with no major issues on my end. My long-time singleplayer worlds
migrated without a hitch.
Thanks,
--
iz (she/her)
> I say mundane things
> so the uninteresting
> just might get noticed.
izder456 (dot) neocities (dot) org
diff --git a/games/luanti/Makefile b/games/luanti/Makefile
index d5cb55cf4..81cc1072e 100644
--- a/games/luanti/Makefile
+++ b/games/luanti/Makefile
@@ -2,7 +2,7 @@ DPB_PROPERTIES = parallel
COMMENT = infinite-world block sandbox game
-DIST_TUPLE += github luanti-org luanti 5.17.0 .
+DIST_TUPLE += github luanti-org luanti 5.18.0 .
CATEGORIES = games x11
diff --git a/games/luanti/distinfo b/games/luanti/distinfo
index bcb7f2bb1..316610a75 100644
--- a/games/luanti/distinfo
+++ b/games/luanti/distinfo
@@ -1,2 +1,2 @@
-SHA256 (luanti-org-luanti-5.17.0.tar.gz) = UufdMVrg5cOGiiMjHmkVeM1pS8ylr2J/xXwD8yvchG8=
-SIZE (luanti-org-luanti-5.17.0.tar.gz) = 12672872
+SHA256 (luanti-org-luanti-5.18.0.tar.gz) = OE8er+sru3ae61sgzqNTltrM0EsT3yI0RXMQDz6NPM0=
+SIZE (luanti-org-luanti-5.18.0.tar.gz) = 15988199
diff --git a/games/luanti/patches/patch-src_CMakeLists_txt b/games/luanti/patches/patch-src_CMakeLists_txt
index 4f8798ca6..3c8b53443 100644
--- a/games/luanti/patches/patch-src_CMakeLists_txt
+++ b/games/luanti/patches/patch-src_CMakeLists_txt
@@ -1,16 +1,16 @@
Index: src/CMakeLists.txt
--- src/CMakeLists.txt.orig
+++ src/CMakeLists.txt
-@@ -356,7 +356,7 @@ endif()
+@@ -364,7 +364,7 @@ endif()
# Note that find_library does not reliably find it so we have to resort to this.
# Also, passing -latomic is not always the same as adding atomic to the library list.
include(CheckCSourceCompiles)
--if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
-+if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" AND NOT AVOID_LINKING_ATOMIC)
+-if(NOT MSVC)
++if(NOT MSVC AND NOT AVOID_LINKING_ATOMIC)
set(CMAKE_REQUIRED_LIBRARIES "-latomic")
check_c_source_compiles("int main(){}" HAVE_LINK_ATOMIC)
set(CMAKE_REQUIRED_LIBRARIES "")
-@@ -994,7 +994,7 @@ else()
+@@ -991,7 +991,7 @@ else()
endif()
endif()
diff --git a/games/luanti/pkg/PLIST b/games/luanti/pkg/PLIST
index c0ff3be53..b317ac190 100644
--- a/games/luanti/pkg/PLIST
+++ b/games/luanti/pkg/PLIST
@@ -111,6 +111,7 @@ share/locale/tok/LC_MESSAGES/luanti.mo
share/locale/tr/LC_MESSAGES/luanti.mo
share/locale/tt/LC_MESSAGES/luanti.mo
share/locale/uk/LC_MESSAGES/luanti.mo
+share/locale/uz/LC_MESSAGES/luanti.mo
share/locale/vi/LC_MESSAGES/luanti.mo
share/locale/zh_CN/LC_MESSAGES/luanti.mo
share/locale/zh_TW/LC_MESSAGES/luanti.mo