Skip to content

Commit

Permalink
games/pioneer: update 20210723 → 20220203
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Feb 9, 2022
1 parent ede2d85 commit f2ff247
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 22 deletions.
23 changes: 4 additions & 19 deletions games/pioneer/Makefile
@@ -1,8 +1,7 @@
# Created by: lightside <lightside@gmx.com>

PORTNAME= pioneer
DISTVERSION= 20210723
PORTREVISION= 1
DISTVERSION= 20220203
CATEGORIES= games

MAINTAINER= amdmi3@FreeBSD.org
Expand All @@ -25,10 +24,8 @@ LICENSE_PERMS_DejaVu= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_IUP= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_SIL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

BROKEN_powerpc= fails to build: contrib/profiler/Profiler.h:158:51: inconsistent operand constraints in an 'asm'
BROKEN_powerpc64= fails to build: contrib/profiler/Profiler.h:158:51: inconsistent operand constraints in an 'asm'
BROKEN_powerpcspe= fails to build: contrib/profiler/Profiler.h:158:51: inconsistent operand constraints in an 'asm'
BROKEN_riscv64= fails to build: contrib/profiler/Profiler.h:158:28: inconsistent operand constraints in an 'asm'
# XXX: if you have similar error, try adding failing arch to USE_CHRONO condition in contrib/profiler/Profiler.h
BROKEN_xxx= fails to build: contrib/profiler/Profiler.h:158:51: inconsistent operand constraints in an 'asm'

LIB_DEPENDS= libassimp.so:multimedia/assimp \
libfreetype.so:print/freetype2 \
Expand All @@ -50,7 +47,7 @@ PORTDOCS= AUTHORS.txt Changelog.txt Modelviewer.txt Quickstart.txt \

SUB_FILES= pkg-message

OPTIONS_DEFINE= DOCS NOGPUJOBS PROFILER
OPTIONS_DEFINE= DOCS PROFILER

NOGPUJOBS_DESC= Disable EnableGPUJobs for config.ini by default
PROFILER_DESC= Build with internal profiler
Expand All @@ -64,18 +61,6 @@ post-patch:
/TIMESTAMP PROJECT_VERSION/s|.*|set(PROJECT_VERSION "${GH_TAGNAME}")|' \
${WRKSRC}/CMakeLists.txt

post-patch-NOGPUJOBS-on:
# Revert 41272a856d9072404efbfdb10f0e3c9e4f96bb4d commit, in case of
# GL_OUT_OF_MEMORY OpenGL error, when turning to gas giant planet
@${REINPLACE_CMD} -e '/EnableGPUJobs/s|1|0|' \
${WRKSRC}/src/GameConfig.cpp

post-patch-PROFILER-off:
@${REINPLACE_CMD} -i '.profiler' -e '/contrib\/profiler/d ; /profiler$$/d ; \
/target_link_libraries(savegamedump/s| profiler||' \
${WRKSRC}/CMakeLists.txt \
${WRKSRC}/src/core/CMakeLists.txt

post-install:
.for f in modelcompiler savegamedump
${MV} ${STAGEDIR}${PREFIX}/bin/${f} \
Expand Down
6 changes: 3 additions & 3 deletions games/pioneer/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1634828737
SHA256 (pioneerspacesim-pioneer-20210723_GH0.tar.gz) = 5f5d794d3095079e629980a6a3285d83b95b97e6c9b6058c73531cd06f8d082d
SIZE (pioneerspacesim-pioneer-20210723_GH0.tar.gz) = 413969783
TIMESTAMP = 1644231168
SHA256 (pioneerspacesim-pioneer-20220203_GH0.tar.gz) = 415b55bab7f011f7244348428e13006fa67a926b9be71f2c4ad24e92cfeb051c
SIZE (pioneerspacesim-pioneer-20220203_GH0.tar.gz) = 427362275
3 changes: 3 additions & 0 deletions games/pioneer/files/pkg-message.in
Expand Up @@ -8,6 +8,9 @@ different versions of Pioneer. The universe might not be the same in the next
version of Pioneer. Anything can change. The game is not finished.

Take a look at %%QUICKSTART_PATH%%/Quickstart.txt for more info.

If you encounter GL_OUT_OF_MEMORY error, try setting EnableGPUJobs to 0 in
your ~/.pioneer/config.ini
EOM
}
]

0 comments on commit f2ff247

Please sign in to comment.