diff --git a/games/wyrmgus/Makefile b/games/wyrmgus/Makefile index fec2257dbb1b..842c2042a4ca 100644 --- a/games/wyrmgus/Makefile +++ b/games/wyrmgus/Makefile @@ -1,49 +1,49 @@ # Created by: Travis Poppe PORTNAME= wyrmgus -PORTVERSION= 4.1.4 +PORTVERSION= 5.0.1 DISTVERSIONPREFIX= v -PORTREVISION= 1 CATEGORIES= games devel MAINTAINER= amdmi3@FreeBSD.org COMMENT= Modified Stratagus engine for Wyrmsun LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtolua++-${LUA_VER}.so:lang/tolua++ BUILD_DEPENDS= ${LOCALBASE}/include/boost/tokenizer.hpp:devel/boost-libs USE_GITHUB= yes GH_ACCOUNT= Andrettin GH_PROJECT= Wyrmgus USES= cmake compiler:c++17-lang lua:51 pkgconfig sdl sqlite qt:5 xorg -USE_QT= core gui widgets multimedia location declarative network \ +USE_QT= core gui widgets multimedia location \ + quickcontrols quickcontrols2 graphicaleffects \ qmake_build buildtools_build USE_XORG= x11 -USE_SDL= sdl mixer +USE_SDL= sdl2 mixer2 CMAKE_ARGS= -DGAMEDIR:STRING="bin" \ -DTOLUA++_APP:STRING="tolua++-${LUA_VER}" \ -DTOLUA++_INCLUDE_DIR:STRING="${LUA_INCDIR}" \ -DTOLUA++_LIBRARY:STRING="${LUA_LIBDIR}/libtolua++.so" \ -DENABLE_USEGAMEDIR:BOOL=OFF PORTDOCS= * PLIST_FILES= bin/${PORTNAME} \ share/pixmaps/wyrmsun.ico OPTIONS_DEFINE= OPENGL DOCS OPTIONS_DEFAULT=OPENGL OPENGL_USES= gl OPENGL_USE= GL=gl,glu OPENGL_CMAKE_ON= -DWITH_RENDERER="OpenGL" OPENGL_CMAKE_OFF= -DWITH_RENDERER="NativeSDL" post-install: ${INSTALL_DATA} ${WRKSRC}/src/win32/wyrmsun.ico ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/games/wyrmgus/distinfo b/games/wyrmgus/distinfo index cb3f0ae2d69d..453d9c713ec7 100644 --- a/games/wyrmgus/distinfo +++ b/games/wyrmgus/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1614275655 -SHA256 (Andrettin-Wyrmgus-v4.1.4_GH0.tar.gz) = 583616cf9d744739c1a160d81d13905cefa3c1dd30c1c5d2cfa8da8ad7a5cd4e -SIZE (Andrettin-Wyrmgus-v4.1.4_GH0.tar.gz) = 1561342 +TIMESTAMP = 1629717520 +SHA256 (Andrettin-Wyrmgus-v5.0.1_GH0.tar.gz) = a149e6d6f80471ee017f1182b68c4a22256da220fc569a68a3cc9cc950a28141 +SIZE (Andrettin-Wyrmgus-v5.0.1_GH0.tar.gz) = 1567090 diff --git a/games/wyrmgus/files/patch-src_util_path__util.h b/games/wyrmgus/files/patch-src_util_path__util.h new file mode 100644 index 000000000000..5617bf8aa85e --- /dev/null +++ b/games/wyrmgus/files/patch-src_util_path__util.h @@ -0,0 +1,13 @@ +std::filesystem::path::u8string may return std::string depending on standard + +--- src/util/path_util.h.orig 2021-08-22 18:46:24 UTC ++++ src/util/path_util.h +@@ -31,7 +31,7 @@ namespace wyrmgus::path { + inline std::string to_string(const std::filesystem::path &path) + { + //convert a path to a UTF-8 encoded string +- const std::u8string u8str = path.u8string(); ++ const auto u8str = path.u8string(); + return std::string(u8str.begin(), u8str.end()); + } +