diff --git a/games/dustrac/Makefile b/games/dustrac/Makefile index 9e968afc2de6..57cc66d221a0 100644 --- a/games/dustrac/Makefile +++ b/games/dustrac/Makefile @@ -1,39 +1,38 @@ PORTNAME= dustrac -PORTVERSION= 2.1.1 -PORTREVISION= 1 +PORTVERSION= 2.2.0 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= 2D top-view racing game WWW= https://dustrac.sourceforge.net/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING +BUILD_DEPENDS= vulkan-headers>=0:graphics/vulkan-headers LIB_DEPENDS= libvorbisfile.so:audio/libvorbis RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans-Bold.ttf:x11-fonts/dejavu USE_GITHUB= yes GH_ACCOUNT= juzzlin GH_PROJECT= DustRacing2D -GH_TAGNAME= ae380b8 # includes crash fix -USES= compiler:c++11-lib cmake gl openal pkgconfig qt:5 +USES= compiler:c++11-lib cmake gl openal pkgconfig qt:6 USE_GL= gl glu -USE_QT= core gui opengl xml widgets testlib sql \ - buildtools:build linguisttools:build qmake:build -CMAKE_ARGS= -DReleaseBuild=on \ - -DSystemFonts=on \ - -DDATA_PATH=${DATADIR} \ +USE_QT= base tools:build +CMAKE_OFF= USE_CCACHE +CMAKE_ON= ReleaseBuild \ + SystemFonts +CMAKE_ARGS= -DDATA_PATH=${DATADIR} \ -DDOC_PATH=${DOCSDIR} LDFLAGS+= -L${LOCALBASE}/lib PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dustrac-editor .include diff --git a/games/dustrac/distinfo b/games/dustrac/distinfo index f63562c8ce3c..f59808a1e72b 100644 --- a/games/dustrac/distinfo +++ b/games/dustrac/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1619196464 -SHA256 (juzzlin-DustRacing2D-2.1.1-ae380b8_GH0.tar.gz) = a955ab1027fda2ca5dce55ed2c08e5a8dd8760e87a00210e810ff131bbbe2b77 -SIZE (juzzlin-DustRacing2D-2.1.1-ae380b8_GH0.tar.gz) = 17393096 +TIMESTAMP = 1769438667 +SHA256 (juzzlin-DustRacing2D-2.2.0_GH0.tar.gz) = 9a393675106d90b7c4fcf8e3280a1b80c0c35e90f03ce75742276b40d5495182 +SIZE (juzzlin-DustRacing2D-2.2.0_GH0.tar.gz) = 17388552 diff --git a/games/dustrac/files/patch-CMakeLists.txt b/games/dustrac/files/patch-CMakeLists.txt index 0a2aeb772dea..3fa097c4f936 100644 --- a/games/dustrac/files/patch-CMakeLists.txt +++ b/games/dustrac/files/patch-CMakeLists.txt @@ -1,18 +1,12 @@ ---- CMakeLists.txt.orig 2021-02-21 12:07:18 UTC +--- CMakeLists.txt.orig 2026-01-25 17:13:16 UTC +++ CMakeLists.txt -@@ -108,15 +108,6 @@ elseif(WIN32) +@@ -126,9 +126,6 @@ if(CMAKE_COMPILER_IS_GNUCXX OR MINGW OR ${CMAKE_CXX_CO endif() if(CMAKE_COMPILER_IS_GNUCXX OR MINGW OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") - add_compile_options("$<$:-W;-Wall;-O3;-pedantic;-fomit-frame-pointer>") - add_compile_options("$<$:-W;-Wall;-O0;-pedantic>") - -- # Automatically use ccache if found -- find_program(CCACHE_FOUND ccache) -- if(CCACHE_FOUND) -- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) -- set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) -- endif(CCACHE_FOUND) - - elseif(MSVC) - add_definitions(-DNOMINMAX) + if(USE_CCACHE) + # Automatically use ccache if found + find_program(CCACHE_FOUND ccache)