Index: head/games/dustrac/Makefile =================================================================== --- head/games/dustrac/Makefile (revision 507594) +++ head/games/dustrac/Makefile (revision 507595) @@ -1,38 +1,39 @@ # $FreeBSD$ PORTNAME= dustrac -PORTVERSION= 1.11.0 -PORTREVISION= 7 +PORTVERSION= 2.0.3 CATEGORIES= games -MAINTAINER= ports@FreeBSD.org +MAINTAINER= amdmi3@FreeBSD.org COMMENT= 2D top-view racing game +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libvorbisfile.so:audio/libvorbis -USES= compiler:c++11-lib cmake openal pkgconfig qt:5 -USE_GL= glu -USE_QT= core opengl xml widgets \ +USE_GITHUB= yes +GH_ACCOUNT= juzzlin +GH_PROJECT= DustRacing2D + +USES= compiler:c++11-lib cmake gl openal pkgconfig qt:5 +USE_GL= gl glu +USE_QT= core gui opengl xml widgets testlib \ buildtools_build linguisttools_build qmake_build CMAKE_ARGS= -DReleaseBuild=on \ -DDATA_PATH=${DATADIR} \ -DDOC_PATH=${DOCSDIR} LDFLAGS+= -L${LOCALBASE}/lib -USE_GITHUB= yes -GH_ACCOUNT= juzzlin -GH_PROJECT= DustRacing2D +PORTDATA= * +PORTDOCS= * OPTIONS_DEFINE= DOCS STRIP_FILES= bin/dustrac-game \ bin/dustrac-editor -post-patch: - ${REINPLACE_CMD} -e '/add_subdirectory(UnitTests)/d' \ - ${WRKSRC}/src/game/MiniCore/CMakeLists.txt - post-install: - ${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dustrac-* .include Index: head/games/dustrac/distinfo =================================================================== --- head/games/dustrac/distinfo (revision 507594) +++ head/games/dustrac/distinfo (revision 507595) @@ -1,2 +1,3 @@ -SHA256 (juzzlin-DustRacing2D-1.11.0_GH0.tar.gz) = 48512ce979d4c4945dd6b9b4832da88619113477a53f0b7e7edee832f5a582ec -SIZE (juzzlin-DustRacing2D-1.11.0_GH0.tar.gz) = 27506587 +TIMESTAMP = 1563219146 +SHA256 (juzzlin-DustRacing2D-2.0.3_GH0.tar.gz) = cbf73fc1c446d4068222c51d7fd67bd90dcce2651ba2aa2ae8aecb2dc8ee0873 +SIZE (juzzlin-DustRacing2D-2.0.3_GH0.tar.gz) = 17338605 Index: head/games/dustrac/files/patch-src__editor__editorview.cpp =================================================================== --- head/games/dustrac/files/patch-src__editor__editorview.cpp (revision 507594) +++ head/games/dustrac/files/patch-src__editor__editorview.cpp (nonexistent) @@ -1,10 +0,0 @@ ---- src/editor/editorview.cpp.orig 2015-04-28 17:34:19 UTC -+++ src/editor/editorview.cpp -@@ -35,6 +35,7 @@ - #include "tracktile.hpp" - - #include -+#include - - EditorView::EditorView(EditorData & editorData, QWidget * parent) - : QGraphicsView(parent) Property changes on: head/games/dustrac/files/patch-src__editor__editorview.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/dustrac/files/patch-src__game__fadeanimation.cpp =================================================================== --- head/games/dustrac/files/patch-src__game__fadeanimation.cpp (revision 507594) +++ head/games/dustrac/files/patch-src__game__fadeanimation.cpp (nonexistent) @@ -1,20 +0,0 @@ ---- ./src/game/fadeanimation.cpp.orig 2014-03-09 12:40:35.000000000 +0000 -+++ ./src/game/fadeanimation.cpp 2014-04-05 13:27:41.052483713 +0000 -@@ -81,7 +81,7 @@ - #ifdef Q_OS_ANDROID - emit fadeValueChanged(fmin(m_fadeValue, 1.0)); - #else -- emit fadeValueChanged(std::fmin(m_fadeValue, 1.0)); -+ emit fadeValueChanged(fmin(m_fadeValue, 1.0)); - #endif - } - else if (!m_fadeIn && m_fadeValue > 0.0) -@@ -90,7 +90,7 @@ - #ifdef Q_OS_ANDROID - emit fadeValueChanged(fmax(m_fadeValue, 0.0)); - #else -- emit fadeValueChanged(std::fmax(m_fadeValue, 0.0)); -+ emit fadeValueChanged(fmax(m_fadeValue, 0.0)); - #endif - } - else if (m_postDelayMSec) Property changes on: head/games/dustrac/files/patch-src__game__fadeanimation.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/dustrac/files/patch-CMakeLists.txt =================================================================== --- head/games/dustrac/files/patch-CMakeLists.txt (nonexistent) +++ head/games/dustrac/files/patch-CMakeLists.txt (revision 507595) @@ -0,0 +1,28 @@ +--- CMakeLists.txt.orig 2019-07-09 21:02:22 UTC ++++ CMakeLists.txt +@@ -90,16 +90,6 @@ elseif(WIN32) + 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) + endif() +@@ -124,7 +114,7 @@ find_package(OpenGL REQUIRED) + if(${CMAKE_VERSION} VERSION_LESS "3.11.0") + set(DUSTRAC_OPENGL_LIBS ${OPENGL_gl_LIBRARY}) + else() +- set(DUSTRAC_OPENGL_LIBS OpenGL::OpenGL) ++ set(DUSTRAC_OPENGL_LIBS OpenGL::GL) + endif() + + # OpenAL for sounds. OpenAL directory can be given by -DOPENALDIR=... Property changes on: head/games/dustrac/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/dustrac/files/patch-src_game_MiniCore_CMakeLists.txt =================================================================== --- head/games/dustrac/files/patch-src_game_MiniCore_CMakeLists.txt (nonexistent) +++ head/games/dustrac/files/patch-src_game_MiniCore_CMakeLists.txt (revision 507595) @@ -0,0 +1,11 @@ +--- ./src/game/MiniCore/CMakeLists.txt.orig 2019-07-09 21:02:22 UTC ++++ ./src/game/MiniCore/CMakeLists.txt +@@ -60,7 +60,7 @@ find_package(OpenGL REQUIRED) + if(${CMAKE_VERSION} VERSION_LESS "3.11.0") + set(MINICORE_OPENGL_LIBS ${OPENGL_gl_LIBRARY}) + else() +- set(MINICORE_OPENGL_LIBS OpenGL::OpenGL) ++ set(MINICORE_OPENGL_LIBS OpenGL::GL) + endif() + + # Enable CMake's unit test framework Property changes on: head/games/dustrac/files/patch-src_game_MiniCore_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/dustrac/pkg-plist =================================================================== --- head/games/dustrac/pkg-plist (revision 507594) +++ head/games/dustrac/pkg-plist (revision 507595) @@ -1,135 +1,9 @@ bin/dustrac-editor bin/dustrac-game share/applications/dustrac-editor.desktop share/applications/dustrac-game.desktop -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/README -%%DATADIR%%/editorModels.conf -%%DATADIR%%/fonts.conf -%%DATADIR%%/fonts/UbuntuMono-B.ttf -%%DATADIR%%/fonts/UbuntuMono-R.ttf -%%DATADIR%%/images/about.png -%%DATADIR%%/images/asphalt.png -%%DATADIR%%/images/brake.png -%%DATADIR%%/images/bridge.png -%%DATADIR%%/images/bridgeEditor.png -%%DATADIR%%/images/bridgeObject.png -%%DATADIR%%/images/bridgePreview.png -%%DATADIR%%/images/bushArea.png -%%DATADIR%%/images/carBlack.png -%%DATADIR%%/images/carBlue.png -%%DATADIR%%/images/carBrown.png -%%DATADIR%%/images/carCyan.png -%%DATADIR%%/images/carDarkGreen.png -%%DATADIR%%/images/carDarkRed.png -%%DATADIR%%/images/carGreen.png -%%DATADIR%%/images/carGrey.png -%%DATADIR%%/images/carNormalMap.png -%%DATADIR%%/images/carOrange.png -%%DATADIR%%/images/carPink.png -%%DATADIR%%/images/carRed.png -%%DATADIR%%/images/carViolet.png -%%DATADIR%%/images/carYellow.png -%%DATADIR%%/images/checkeredFlag.png -%%DATADIR%%/images/clear.png -%%DATADIR%%/images/corner.png -%%DATADIR%%/images/corner45Left.png -%%DATADIR%%/images/corner45LeftPreview.png -%%DATADIR%%/images/corner45Right.png -%%DATADIR%%/images/corner45RightPreview.png -%%DATADIR%%/images/cornerPreview.png -%%DATADIR%%/images/crashOverlay.png -%%DATADIR%%/images/creditsHelpBack.png -%%DATADIR%%/images/cross.png -%%DATADIR%%/images/cursor.png -%%DATADIR%%/images/cursor2.png -%%DATADIR%%/images/dustRacing2DBanner.png -%%DATADIR%%/images/finish.png -%%DATADIR%%/images/finishPreview.png -%%DATADIR%%/images/frontTire.png -%%DATADIR%%/images/grandstand.png -%%DATADIR%%/images/grandstandEditor.png -%%DATADIR%%/images/grass.png -%%DATADIR%%/images/grassEditor.png -%%DATADIR%%/images/grid.png -%%DATADIR%%/images/intro.png -%%DATADIR%%/images/leaf.png -%%DATADIR%%/images/left.png -%%DATADIR%%/images/lock.png -%%DATADIR%%/images/logo.png -%%DATADIR%%/images/mainMenuBack.png -%%DATADIR%%/images/mud.png -%%DATADIR%%/images/pit.png -%%DATADIR%%/images/plant.png -%%DATADIR%%/images/right.png -%%DATADIR%%/images/rock.png -%%DATADIR%%/images/sand.png -%%DATADIR%%/images/sandAreaBig.png -%%DATADIR%%/images/sandAreaCurve.png -%%DATADIR%%/images/sandEditor.png -%%DATADIR%%/images/sandGrassCorner.png -%%DATADIR%%/images/sandGrassCorner2.png -%%DATADIR%%/images/sandGrassCorner2Editor.png -%%DATADIR%%/images/sandGrassCornerEditor.png -%%DATADIR%%/images/sandGrassStraight.png -%%DATADIR%%/images/sandGrassStraightEditor.png -%%DATADIR%%/images/settingsBack.png -%%DATADIR%%/images/skid.png -%%DATADIR%%/images/sky.png -%%DATADIR%%/images/smoke.png -%%DATADIR%%/images/sparkle.png -%%DATADIR%%/images/star.png -%%DATADIR%%/images/starGlow.png -%%DATADIR%%/images/startLightGlow.png -%%DATADIR%%/images/startLightOff.png -%%DATADIR%%/images/startLightOffCorner.png -%%DATADIR%%/images/startLightOn.png -%%DATADIR%%/images/startLightOnCorner.png -%%DATADIR%%/images/steel.jpg -%%DATADIR%%/images/straight.png -%%DATADIR%%/images/straight45Female.png -%%DATADIR%%/images/straight45FemalePreview.png -%%DATADIR%%/images/straight45Male.png -%%DATADIR%%/images/straight45MalePreview.png -%%DATADIR%%/images/straightPreview.png -%%DATADIR%%/images/tire.png -%%DATADIR%%/images/tireStatusIndicatorBody.png -%%DATADIR%%/images/tireStatusIndicatorTires.png -%%DATADIR%%/images/trackSelectionBack.png -%%DATADIR%%/images/tree.png -%%DATADIR%%/images/wood.png -%%DATADIR%%/levels/curvastone.trk -%%DATADIR%%/levels/infinity.trk -%%DATADIR%%/levels/monza.trk -%%DATADIR%%/levels/ring.trk -%%DATADIR%%/levels/straight.trk -%%DATADIR%%/levels/suzuka.trk -%%DATADIR%%/levels/triangle.trk -%%DATADIR%%/levels/twister.trk -%%DATADIR%%/meshes.conf -%%DATADIR%%/models/cube.obj -%%DATADIR%%/sounds/bell.ogg -%%DATADIR%%/sounds/carEngine.ogg -%%DATADIR%%/sounds/carHit.ogg -%%DATADIR%%/sounds/carHit2.ogg -%%DATADIR%%/sounds/carHit3.ogg -%%DATADIR%%/sounds/cheering.ogg -%%DATADIR%%/sounds/menuBoom.ogg -%%DATADIR%%/sounds/menuClick.ogg -%%DATADIR%%/sounds/pit.ogg -%%DATADIR%%/sounds/skid.ogg -%%DATADIR%%/surfaces.conf -%%DATADIR%%/translations/dustrac-editor_cs.qm -%%DATADIR%%/translations/dustrac-editor_fi.qm -%%DATADIR%%/translations/dustrac-editor_fr.qm -%%DATADIR%%/translations/dustrac-editor_it.qm -%%DATADIR%%/translations/dustrac-game_cs.qm -%%DATADIR%%/translations/dustrac-game_fi.qm -%%DATADIR%%/translations/dustrac-game_fr.qm -%%DATADIR%%/translations/dustrac-game_it.qm share/icons/hicolor/64x64/apps/dustrac-editor.png share/icons/hicolor/64x64/apps/dustrac-game.png +share/metainfo/dustrac.appdata.xml share/pixmaps/dustrac-editor.png share/pixmaps/dustrac-game.png