diff --git a/games/powder-toy/Makefile b/games/powder-toy/Makefile index b34c213ee1d0..5c83e3ff97f5 100644 --- a/games/powder-toy/Makefile +++ b/games/powder-toy/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= powder-toy -PORTVERSION= 94.1 -PORTREVISION= 1 +PORTVERSION= 95.0 DISTVERSIONPREFIX= v CATEGORIES= games @@ -29,8 +28,8 @@ SUB_FILES= ${PORTNAME}.sh PORTDOCS= README.md TODO -OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS SSE SSE3 OPENGL -OPTIONS_DEFAULT= OPTIMIZED_CFLAGS +OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS SSE SSE3 OPENGL HTTP +OPTIONS_DEFAULT= OPTIMIZED_CFLAGS HTTP OPTIONS_DEFAULT_amd64= SSE # upstream also uses -funsafe-loop-optimizations, but it's not supported by clang OPTIMIZED_CFLAGS_CXXFLAGS= -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer @@ -42,6 +41,9 @@ OPENGL_USES= gl OPENGL_USE= GL=gl,glu,glew OPENGL_MAKE_ARGS= --opengl --opengl-renderer OPENGL_BROKEN= Application dies with SIGBUS at startup +HTTP_DESC= Enable HTTP requests support +HTTP_LIB_DEPENDS= libcurl.so:ftp/curl +HTTP_MAKE_ARGS_OFF= --nohttp post-patch: @${REINPLACE_CMD} -e '/#include/ s|lua5.1/|lua51/|' ${WRKSRC}/src/lua/LuaCompat.h diff --git a/games/powder-toy/distinfo b/games/powder-toy/distinfo index a46b1350f9c6..aab3e62824a4 100644 --- a/games/powder-toy/distinfo +++ b/games/powder-toy/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1551187366 -SHA256 (ThePowderToy-The-Powder-Toy-v94.1_GH0.tar.gz) = 9770c0732c97e4e89a1e53330c969e9675595f78e6673c519c3724d6df591e72 -SIZE (ThePowderToy-The-Powder-Toy-v94.1_GH0.tar.gz) = 1254309 +TIMESTAMP = 1583263544 +SHA256 (ThePowderToy-The-Powder-Toy-v95.0_GH0.tar.gz) = f60c3dc93e4ceddeda92b768e75a2d218f8df3da4a569b7d7cb57fff5515e15b +SIZE (ThePowderToy-The-Powder-Toy-v95.0_GH0.tar.gz) = 1250743 diff --git a/games/powder-toy/files/patch-resources_powder.appdata.xml b/games/powder-toy/files/patch-resources_powder.appdata.xml index c1d2e314269d..b6bc4e2b6685 100644 --- a/games/powder-toy/files/patch-resources_powder.appdata.xml +++ b/games/powder-toy/files/patch-resources_powder.appdata.xml @@ -1,10 +1,11 @@ ---- resources/powder.appdata.xml.orig 2019-02-17 19:08:04 UTC +--- resources/powder.appdata.xml.orig 2020-02-27 03:38:53 UTC +++ resources/powder.appdata.xml -@@ -1,6 +1,6 @@ - - -- powder.desktop -+ powder-toy.desktop - CC0-1.0 - GPL-3.0 - Powder Toy +@@ -8,7 +8,7 @@ + + moderate + +- powder.desktop ++ powder-toy.desktop + +

+ The Powder Toy is a free physics sandbox game, which simulates air pressure and velocity, heat, gravity and a countless number of interactions between different substances! The game provides you with various building materials, liquids, gases and electronic components which can be used to construct complex machines, guns, bombs, realistic terrains and almost anything else. You can then mine them and watch cool explosions, add intricate wirings, play with little stickmen or operate your machine. You can browse and play thousands of different saves made by the community or upload your own - we welcome your creations!