Update to dustrac-1.13.
Release notes: https://github.com/juzzlin/DustRacing2D/releases/tag/1.13.0 Looks ok to landry@ From David Carlier; thanks!
This commit is contained in:
parent
a67764eaaf
commit
170cb109eb
@ -1,10 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2017/07/27 09:55:44 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2017/09/05 11:00:02 bentley Exp $
|
||||
|
||||
COMMENT = traditional top-down car racing game
|
||||
|
||||
V = 1.12.0
|
||||
DISTNAME = dustrac-$V
|
||||
REVISION = 1
|
||||
PKGNAME = dustrac-${GH_TAGNAME}
|
||||
|
||||
GH_ACCOUNT = juzzlin
|
||||
GH_PROJECT = DustRacing2D
|
||||
GH_TAGNAME = 1.13.0
|
||||
|
||||
CATEGORIES = games
|
||||
|
||||
@ -13,12 +15,10 @@ HOMEPAGE = https://juzzlin.github.io/DustRacing2D/
|
||||
# GPLv3+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += GL GLU X11 c m openal pthread vorbisfile
|
||||
WANTLIB += GL GLU c m openal pthread vorbisfile
|
||||
WANTLIB += Qt5Core Qt5Gui Qt5OpenGL Qt5Widgets Qt5Xml
|
||||
WANTLIB += ${COMPILER_LIBCXX}
|
||||
|
||||
MASTER_SITES = https://github.com/juzzlin/DustRacing2D/releases/download/$V/
|
||||
|
||||
MODULES = devel/cmake \
|
||||
x11/qt5
|
||||
RUN_DEPENDS = devel/desktop-file-utils \
|
||||
@ -30,7 +30,6 @@ LIB_DEPENDS = audio/libvorbis \
|
||||
CONFIGURE_ARGS += -DReleaseBuild=ON \
|
||||
-DDATA_PATH=${PREFIX}/share/dustrac \
|
||||
-DDOC_PATH=${PREFIX}/share/dustrac \
|
||||
-DQOpenGLFunctions=OFF \
|
||||
-DNO_GLEW=OFF
|
||||
-DQOpenGLFunctions=OFF
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (dustrac-1.12.0.tar.gz) = 4CJOudXL94cxHa64oXaZF+Cu2cHPIUDz4HHdWijT3L8=
|
||||
SIZE (dustrac-1.12.0.tar.gz) = 18462901
|
||||
SHA256 (DustRacing2D-1.13.0.tar.gz) = DMOD71kPqzH7HYe7SyQc3+yfyPe4JCGl5ZSo/dbwvJY=
|
||||
SIZE (DustRacing2D-1.13.0.tar.gz) = 18466297
|
||||
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-src_editor_editorview_cpp,v 1.1 2017/05/22 13:48:39 espie Exp $
|
||||
|
||||
Index: src/editor/editorview.cpp
|
||||
--- src/editor/editorview.cpp.orig
|
||||
+++ src/editor/editorview.cpp
|
||||
@@ -35,6 +35,7 @@
|
||||
#include "tracktile.hpp"
|
||||
|
||||
#include <cassert>
|
||||
+#include <cstdlib>
|
||||
|
||||
EditorView::EditorView(EditorData & editorData, QWidget * parent)
|
||||
: QGraphicsView(parent)
|
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-src_game_MiniCore_Graphics_MCGLEW,v 1.1 2017/09/05 11:00:02 bentley Exp $
|
||||
|
||||
Fix undefined references to glBindVertexArray, etc.
|
||||
|
||||
Index: src/game/MiniCore/Graphics/MCGLEW
|
||||
--- src/game/MiniCore/Graphics/MCGLEW.orig
|
||||
+++ src/game/MiniCore/Graphics/MCGLEW
|
||||
@@ -7,7 +7,9 @@
|
||||
#include <windows.h>
|
||||
#include <wingdi.h>
|
||||
#endif
|
||||
+ #define GL_GLEXT_PROTOTYPES
|
||||
#include <GL/gl.h>
|
||||
+ #include <GL/glext.h>
|
||||
#else
|
||||
#include <GLES/gl.h>
|
||||
#endif
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2017/01/15 13:50:53 landry Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2017/09/05 11:00:02 bentley Exp $
|
||||
@bin bin/dustrac-editor
|
||||
@bin bin/dustrac-game
|
||||
share/appdata/
|
||||
@ -9,7 +9,7 @@ share/dustrac/
|
||||
share/dustrac/AUTHORS
|
||||
share/dustrac/CHANGELOG
|
||||
share/dustrac/COPYING
|
||||
share/dustrac/README
|
||||
share/dustrac/README.md
|
||||
share/dustrac/editorModels.conf
|
||||
share/dustrac/fonts/
|
||||
share/dustrac/fonts.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user