git: e70dad9524c9 - main - graphics/filament: Update 1.30.0 -> 1.31.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Jan 2023 00:19:34 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e70dad9524c9f2c471590ef961c882f3fec2ce8a
commit e70dad9524c9f2c471590ef961c882f3fec2ce8a
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-11 15:44:11 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-12 00:19:21 +0000
graphics/filament: Update 1.30.0 -> 1.31.0
Reported by: portscout
---
graphics/filament/Makefile | 7 +++++--
graphics/filament/distinfo | 6 +++---
graphics/filament/pkg-plist | 1 +
3 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/graphics/filament/Makefile b/graphics/filament/Makefile
index d45cc7c4a99b..aa0191b6c854 100644
--- a/graphics/filament/Makefile
+++ b/graphics/filament/Makefile
@@ -1,6 +1,6 @@
PORTNAME= filament
DISTVERSIONPREFIX= v
-DISTVERSION= 1.30.0
+DISTVERSION= 1.31.0
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org
@@ -16,7 +16,7 @@ BROKEN_i386= compilation breaks: register r11 is only available in 64-bit mode
BUILD_DEPENDS= bash:shells/bash \
evdev-proto>0:devel/evdev-proto
-USES= cmake compiler:c++17-lang localbase:ldflags sdl shebangfix xorg
+USES= cmake compiler:c++17-lang localbase:ldflags python:build sdl shebangfix xorg
USE_SDL= sdl2
USE_XORG= x11
@@ -29,6 +29,7 @@ SHEBANG_FILES= build/launch-c.in build/launch-cxx.in
CMAKE_OFF= USE_STATIC_LIBCXX FILAMENT_ENABLE_JAVA
CMAKE_ARGS+= -DDIST_DIR="." # prevent subdirectory for libraries
CMAKE_ARGS+= -DUSE_CCACHE:BOOL=${CCACHE_ENABLED:tu}
+CMAKE_ARGS+= -DPython3_EXECUTABLE=${PYTHON_CMD}
LDFLAGS+= -lexecinfo -lSDL2
@@ -38,6 +39,8 @@ OPTIONS_SUB= yes
SAMPLES_DESC= Build samples
SAMPLES_CMAKE_OFF= -DFILAMENT_SKIP_SAMPLES=ON
+# gltf_viewer is broken with the Vulkan backend, see https://github.com/google/filament/issues/6445
+
post-patch:
@${REINPLACE_CMD} -e 's|"/proc/self/exe"|"/proc/curproc/file"|' ${WRKSRC}/libs/utils/src/linux/Path.cpp
diff --git a/graphics/filament/distinfo b/graphics/filament/distinfo
index c9f3e7df252a..93ffdd3db15b 100644
--- a/graphics/filament/distinfo
+++ b/graphics/filament/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1671585293
-SHA256 (google-filament-v1.30.0_GH0.tar.gz) = 3f2b67d6f7a2b00e377c46853f31418256c54f9847e7c57a201302a06ee71ecb
-SIZE (google-filament-v1.30.0_GH0.tar.gz) = 496801233
+TIMESTAMP = 1673478130
+SHA256 (google-filament-v1.31.0_GH0.tar.gz) = 564021c018bbb855e9e202eac72065feee3cd6eed82ef33ad9005f50100fd302
+SIZE (google-filament-v1.31.0_GH0.tar.gz) = 496240193
diff --git a/graphics/filament/pkg-plist b/graphics/filament/pkg-plist
index fab31de33d2a..996475dd8d1e 100644
--- a/graphics/filament/pkg-plist
+++ b/graphics/filament/pkg-plist
@@ -42,6 +42,7 @@ include/filament/BufferObject.h
include/filament/Camera.h
include/filament/Color.h
include/filament/ColorGrading.h
+include/filament/ColorSpace.h
include/filament/DebugRegistry.h
include/filament/Engine.h
include/filament/Exposure.h