summaryrefslogtreecommitdiff
path: root/graphics/f3d
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/f3d')
-rw-r--r--graphics/f3d/Makefile20
-rw-r--r--graphics/f3d/distinfo6
-rw-r--r--graphics/f3d/files/patch-plugins_assimp_CMakeLists.txt11
-rw-r--r--graphics/f3d/pkg-plist14
4 files changed, 22 insertions, 29 deletions
diff --git a/graphics/f3d/Makefile b/graphics/f3d/Makefile
index b5d60c73b92c..07ac4520f1b6 100644
--- a/graphics/f3d/Makefile
+++ b/graphics/f3d/Makefile
@@ -1,7 +1,7 @@
PORTNAME= f3d
DISTVERSIONPREFIX= v
-DISTVERSION= 3.1.0
-PORTREVISION= 4
+DISTVERSION= 3.2.0
+PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org
@@ -40,8 +40,8 @@ LDFLAGS+= -linotify
# dependency descroptions are in https://f3d.app/doc/dev/BUILD.html
OPTIONS_GROUP= MODULES PLUGINS
OPTIONS_GROUP_MODULES= EXTERNAL_RENDERING RAYTRACING
-OPTIONS_GROUP_PLUGINS= ALEMBIC ASSIMP DRACO EXODUS OCCT
-OPTIONS_DEFAULT= ALEMBIC ASSIMP DRACO EXODUS OCCT
+OPTIONS_GROUP_PLUGINS= ALEMBIC ASSIMP DRACO HDF OCCT VDB
+OPTIONS_DEFAULT= ALEMBIC ASSIMP DRACO HDF OCCT # VDB
OPTIONS_SUB= yes
MODULES_DESC= Build modules:
@@ -49,7 +49,7 @@ MODULES_DESC= Build modules:
ALEMBIC_DESC= Alembic plugin (for ABC files)
ALEMBIC_CMAKE_BOOL= F3D_PLUGIN_BUILD_ALEMBIC
ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic \
- libImath-3_1.so:math/Imath
+ libImath.so:math/Imath
ASSIMP_DESC= Assimp plugin (for FBX, OFF, DAE and DXF files)
ASSIMP_CMAKE_BOOL= F3D_PLUGIN_BUILD_ASSIMP
@@ -59,19 +59,23 @@ DRACO_DESC= Draco plugin
DRACO_CMAKE_BOOL= F3D_PLUGIN_BUILD_DRACO
DRACO_LIB_DEPENDS= libdraco.so:archivers/draco
-EXODUS_DESC= ExodusII plugin
-EXODUS_CMAKE_BOOL= F3D_PLUGIN_BUILD_EXODUS
-
EXTERNAL_RENDERING_DESC= External rendering module
EXTERNAL_RENDERING_CMAKE_BOOL= F3D_MODULE_EXTERNAL_RENDERING
EXTERNAL_RENDERING_BROKEN= Requires VTK::RenderingExternal enabled in VTK
+HDF_DESC= Support for VTKHDF (.vtkhdf), ExodusII (.ex2), and NetCDF (.nc) file formats
+HDF_CMAKE_BOOL= F3D_PLUGIN_BUILD_HDF
+
OCCT_DESC= OpenCASCADE plugin (for STEP and IGES files)
OCCT_USES= localbase:ldflags
OCCT_CMAKE_BOOL= F3D_PLUGIN_BUILD_OCCT
OCCT_LIB_DEPENDS= libTKBRep.so:cad/opencascade
OCCT_CMAKE_ON= -DOpenCASCADE_DIR=${LOCALBASE}/lib/cmake
+VDB_DESC= VDB plugin
+VDB_CMAKE_BOOL= F3D_PLUGIN_BUILD_VDB
+VDB_BROKEN= depends on the VTK module IOOpenVD that can't be enabled because OpenVDB doesn't install required cmake files, see https://github.com/AcademySoftwareFoundation/openvdb/issues/2058
+
RAYTRACING_DESC= Raytracing module
RAYTRACING_CMAKE_BOOL= F3D_MODULE_RAYTRACING
RAYTRACING_BROKEN= Requires VTK::RenderingRayTracing enabled in VTK
diff --git a/graphics/f3d/distinfo b/graphics/f3d/distinfo
index 531cd6078de7..4b7c92357910 100644
--- a/graphics/f3d/distinfo
+++ b/graphics/f3d/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1748893025
-SHA256 (f3d-app-f3d-v3.1.0_GH0.tar.gz) = 93ba23078133122e929d9c1e2946c86da1f08fe56b9ffae40ebfd8185e91380a
-SIZE (f3d-app-f3d-v3.1.0_GH0.tar.gz) = 61473994
+TIMESTAMP = 1752141480
+SHA256 (f3d-app-f3d-v3.2.0_GH0.tar.gz) = 2a3cff123821be41d99489e080a7153812e58a86598fa9f4988099660bf6a947
+SIZE (f3d-app-f3d-v3.2.0_GH0.tar.gz) = 68125944
diff --git a/graphics/f3d/files/patch-plugins_assimp_CMakeLists.txt b/graphics/f3d/files/patch-plugins_assimp_CMakeLists.txt
deleted file mode 100644
index 1119e588b41b..000000000000
--- a/graphics/f3d/files/patch-plugins_assimp_CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- plugins/assimp/CMakeLists.txt.orig 2025-06-02 22:44:41 UTC
-+++ plugins/assimp/CMakeLists.txt
-@@ -11,7 +11,7 @@ endif()
- include(f3dPlugin)
- endif()
-
--find_package(assimp 5.4.0 REQUIRED)
-+find_package(assimp REQUIRED)
-
- set(F3D_ASSIMP_VERSION "${assimp_VERSION}" CACHE INTERNAL "")
- message(STATUS "Plugin: assimp ${assimp_VERSION} found")
diff --git a/graphics/f3d/pkg-plist b/graphics/f3d/pkg-plist
index 9a973dfddcf4..77289080d9c5 100644
--- a/graphics/f3d/pkg-plist
+++ b/graphics/f3d/pkg-plist
@@ -25,12 +25,12 @@ lib/cmake/f3d/f3dTargets.cmake
lib/cmake/f3d/library-config.cmake
lib/libf3d.so
lib/libf3d.so.3
-lib/libf3d.so.3.1
+lib/libf3d.so.3.2
lib/libvtkext.so
%%ALEMBIC%%share/applications/f3d-plugin-alembic.desktop
%%ASSIMP%%share/applications/f3d-plugin-assimp.desktop
%%DRACO%%share/applications/f3d-plugin-draco.desktop
-%%EXODUS%%share/applications/f3d-plugin-exodus.desktop
+%%HDF%%share/applications/f3d-plugin-hdf.desktop
share/applications/f3d-plugin-native.desktop
%%OCCT%%share/applications/f3d-plugin-occt.desktop
share/applications/f3d.desktop
@@ -41,20 +41,20 @@ share/doc/F3D/THIRD_PARTY_LICENSES.md
%%ALEMBIC%%%%DATADIR%%/configs/config.d/10_alembic.json
%%ASSIMP%%%%DATADIR%%/configs/config.d/10_assimp.json
%%DRACO%%%%DATADIR%%/configs/config.d/10_draco.json
-%%EXODUS%%%%DATADIR%%/configs/config.d/10_exodus.json
+%%HDF%%%%DATADIR%%/configs/config.d/10_hdf.json
%%DATADIR%%/configs/config.d/10_native.json
%%OCCT%%%%DATADIR%%/configs/config.d/10_occt.json
%%DATADIR%%/configs/thumbnail.d/05_all.json
%%ALEMBIC%%%%DATADIR%%/configs/thumbnail.d/10_alembic.json
%%ASSIMP%%%%DATADIR%%/configs/thumbnail.d/10_assimp.json
%%DRACO%%%%DATADIR%%/configs/thumbnail.d/10_draco.json
-%%EXODUS%%%%DATADIR%%/configs/thumbnail.d/10_exodus.json
+%%HDF%%%%DATADIR%%/configs/thumbnail.d/10_hdf.json
%%DATADIR%%/configs/thumbnail.d/10_native.json
%%OCCT%%%%DATADIR%%/configs/thumbnail.d/10_occt.json
%%ALEMBIC%%%%DATADIR%%/plugins/alembic.json
%%ASSIMP%%%%DATADIR%%/plugins/assimp.json
%%DRACO%%%%DATADIR%%/plugins/draco.json
-%%EXODUS%%%%DATADIR%%/plugins/exodus.json
+%%HDF%%%%DATADIR%%/plugins/hdf.json
%%DATADIR%%/plugins/native.json
%%OCCT%%%%DATADIR%%/plugins/occt.json
share/fish/vendor_completions.d/f3d.fish
@@ -72,13 +72,13 @@ share/mime/packages/f3d-3d-image-formats.xml
%%ALEMBIC%%share/mime/packages/f3d-alembic-formats.xml
%%ASSIMP%%share/mime/packages/f3d-assimp-formats.xml
%%DRACO%%share/mime/packages/f3d-draco-formats.xml
-%%EXODUS%%share/mime/packages/f3d-exodus-formats.xml
%%OCCT%%share/mime/packages/f3d-occt-formats.xml
+%%HDF%%share/mime/packages/f3d-hdf-formats.xml
share/mime/packages/f3d-vtk-formats.xml
%%ALEMBIC%%share/thumbnailers/f3d-plugin-alembic.thumbnailer
%%ASSIMP%%share/thumbnailers/f3d-plugin-assimp.thumbnailer
%%DRACO%%share/thumbnailers/f3d-plugin-draco.thumbnailer
-%%EXODUS%%share/thumbnailers/f3d-plugin-exodus.thumbnailer
+%%HDF%%share/thumbnailers/f3d-plugin-hdf.thumbnailer
share/thumbnailers/f3d-plugin-native.thumbnailer
%%OCCT%%share/thumbnailers/f3d-plugin-occt.thumbnailer
share/zsh/site-functions/_f3d