diff --git a/graphics/filament/Makefile b/graphics/filament/Makefile index 848ce3c1ff22..9a4b203d1dc2 100644 --- a/graphics/filament/Makefile +++ b/graphics/filament/Makefile @@ -1,61 +1,61 @@ PORTNAME= filament DISTVERSIONPREFIX= v -DISTVERSION= 1.62.2 +DISTVERSION= 1.68.4 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Real-time physically based rendering engine WWW= https://google.github.io/filament/ \ https://github.com/google/filament LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv7= compilation breaks: unexpected token in operand, see https://github.com/google/filament/issues/6131 BROKEN_i386= compilation breaks: register r11 is only available in 64-bit mode BROKEN_powerpc= compilation breaks: invalid register name, see https://github.com/google/filament/issues/7552 BROKEN_powerpc64= compilation breaks: invalid register name, see https://github.com/google/filament/issues/7552 BROKEN_powerpc64le= compilation breaks: invalid register name, see https://github.com/google/filament/issues/7552 BUILD_DEPENDS= bash:shells/bash \ evdev-proto>0:devel/evdev-proto USES= cmake compiler:c++17-lang localbase:ldflags python:build sdl shebangfix xorg USE_SDL= sdl2 USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= google SHEBANG_FILES= build/launch-c.in build/launch-cxx.in #CMAKE_ON= BUILD_SHARED_LIBS # not yet supported, see https://github.com/google/filament/issues/1075 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 OPTIONS_DEFINE= SAMPLES 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 post-install: # remove unnecessary files @cd ${STAGEDIR}${PREFIX} && ${RM} -r README.md LICENSE docs # remove conflicting file, see https://github.com/google/filament/issues/5957 @${RM} ${STAGEDIR}${PREFIX}/lib/libzstd.a # remove files installed by the improperly bundled spirv-tools package, see https://github.com/google/filament/issues/8965 @${FIND} ${STAGEDIR}${PREFIX} -iname "*spirv*" -delete @${RM} -r ${STAGEDIR}${PREFIX}/include/spirv-tools # workaround for the find(1) -delete bug, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288277 - @${RMDIR} ${STAGEDIR}${PREFIX}/lib/cmake + #@${RMDIR} ${STAGEDIR}${PREFIX}/lib/cmake .include diff --git a/graphics/filament/distinfo b/graphics/filament/distinfo index 687b3f3972d7..d64103404e00 100644 --- a/graphics/filament/distinfo +++ b/graphics/filament/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754114300 -SHA256 (google-filament-v1.62.2_GH0.tar.gz) = 3ae746cb11fcb93a4cd494a5bbb86a8e2fc81075218593dad0ac0f3381be24e0 -SIZE (google-filament-v1.62.2_GH0.tar.gz) = 766597384 +TIMESTAMP = 1768585789 +SHA256 (google-filament-v1.68.4_GH0.tar.gz) = ae41de15b43d3e751ddbb87842cef862980d5b195225aea172443de1b0333bfb +SIZE (google-filament-v1.68.4_GH0.tar.gz) = 740360074 diff --git a/graphics/filament/pkg-plist b/graphics/filament/pkg-plist index 9351c86540cf..e150b415a786 100644 --- a/graphics/filament/pkg-plist +++ b/graphics/filament/pkg-plist @@ -1,221 +1,237 @@ %%SAMPLES%%bin/assets/fonts/Roboto-License.txt %%SAMPLES%%bin/assets/fonts/Roboto-Medium.ttf %%SAMPLES%%bin/assets/ibl/lightroom_14b/lightroom_14b_ibl.ktx %%SAMPLES%%bin/assets/ibl/lightroom_14b/lightroom_14b_skybox.ktx %%SAMPLES%%bin/assets/ibl/lightroom_14b/sh.txt bin/basisu bin/cmgen bin/filamesh bin/glslminifier %%SAMPLES%%bin/gltf_viewer bin/matc bin/matedit %%SAMPLES%%bin/material_sandbox bin/matinfo bin/mipgen bin/normal-blending bin/resgen bin/roughness-prefilter +bin/specgen bin/specular-color bin/uberz include/backend/AcquiredImage.h include/backend/BufferDescriptor.h -include/backend/BufferObjectStreamDescriptor.h include/backend/CallbackHandler.h include/backend/DescriptorSetOffsetArray.h include/backend/DriverApiForward.h include/backend/DriverEnums.h include/backend/Handle.h include/backend/PipelineState.h include/backend/PixelBufferDescriptor.h include/backend/Platform.h include/backend/PresentCallable.h include/backend/Program.h include/backend/README.md include/backend/SamplerDescriptor.h include/backend/TargetBufferInfo.h +include/backend/platforms/AndroidNdk.h include/backend/platforms/OpenGLPlatform.h include/backend/platforms/PlatformCocoaGL.h include/backend/platforms/PlatformCocoaTouchGL.h include/backend/platforms/PlatformEGL.h include/backend/platforms/PlatformEGLAndroid.h include/backend/platforms/PlatformEGLHeadless.h include/backend/platforms/PlatformGLX.h include/backend/platforms/PlatformMetal-ObjC.h include/backend/platforms/PlatformMetal.h include/backend/platforms/PlatformOSMesa.h include/backend/platforms/PlatformWGL.h include/backend/platforms/PlatformWebGL.h include/backend/platforms/VulkanPlatform.h include/backend/platforms/VulkanPlatformAndroid.h +include/backend/platforms/VulkanPlatformApple.h +include/backend/platforms/VulkanPlatformLinux.h +include/backend/platforms/VulkanPlatformWindows.h include/backend/platforms/WebGPUPlatform.h +include/backend/platforms/WebGPUPlatformAndroid.h +include/backend/platforms/WebGPUPlatformApple.h +include/backend/platforms/WebGPUPlatformLinux.h +include/backend/platforms/WebGPUPlatformWindows.h include/camutils/Bookmark.h include/camutils/Manipulator.h include/camutils/compiler.h include/filamat/Enums.h -include/filamat/IncludeCallback.h include/filamat/MaterialBuilder.h include/filamat/Package.h include/filament-generatePrefilterMipmap/generatePrefilterMipmap.h include/filament-iblprefilter/IBLPrefilterContext.h +include/filament-matp/Config.h +include/filament-matp/MaterialParser.h include/filament/Box.h 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 include/filament/Fence.h include/filament/FilamentAPI.h include/filament/Frustum.h include/filament/IndexBuffer.h include/filament/IndirectLight.h include/filament/InstanceBuffer.h include/filament/LightManager.h include/filament/Material.h include/filament/MaterialChunkType.h include/filament/MaterialEnums.h include/filament/MaterialInstance.h include/filament/MorphTargetBuffer.h include/filament/Options.h include/filament/RenderTarget.h include/filament/RenderableManager.h include/filament/Renderer.h include/filament/Scene.h include/filament/SkinningBuffer.h include/filament/Skybox.h include/filament/Stream.h include/filament/SwapChain.h +include/filament/Sync.h include/filament/Texture.h include/filament/TextureSampler.h include/filament/ToneMapper.h include/filament/TransformManager.h include/filament/VertexBuffer.h include/filament/View.h include/filament/Viewport.h include/filameshio/MeshReader.h include/geometry/SurfaceOrientation.h include/geometry/TangentSpaceMesh.h include/geometry/Transcoder.h include/gltfio/Animator.h include/gltfio/AssetLoader.h include/gltfio/FilamentAsset.h include/gltfio/FilamentInstance.h include/gltfio/MaterialProvider.h include/gltfio/NodeManager.h include/gltfio/ResourceLoader.h include/gltfio/TextureProvider.h include/gltfio/TrsTransformManager.h include/gltfio/materials/uberarchive.h include/gltfio/math.h include/ibl/Cubemap.h include/ibl/CubemapIBL.h include/ibl/CubemapSH.h include/ibl/CubemapUtils.h include/ibl/Image.h include/ibl/utilities.h include/image/ColorTransform.h include/image/ImageOps.h include/image/ImageSampler.h include/image/Ktx1Bundle.h include/image/LinearImage.h include/ktxreader/Ktx1Reader.h include/ktxreader/Ktx2Reader.h include/math/TMatHelpers.h include/math/TQuatHelpers.h include/math/TVecHelpers.h include/math/compiler.h include/math/fast.h include/math/half.h include/math/mat2.h include/math/mat3.h include/math/mat4.h include/math/mathfwd.h include/math/norm.h include/math/quat.h include/math/scalar.h include/math/vec2.h include/math/vec3.h include/math/vec4.h include/mathio/ostream.h include/mikktspace/mikktspace.h include/tsl/robin_growth_policy.h include/tsl/robin_hash.h include/tsl/robin_map.h include/tsl/robin_set.h include/uberz/ArchiveEnums.h include/uberz/ReadableArchive.h include/uberz/WritableArchive.h include/utils/Allocator.h include/utils/BitmaskEnum.h include/utils/CString.h include/utils/CallStack.h include/utils/Entity.h include/utils/EntityInstance.h include/utils/EntityManager.h include/utils/FixedCapacityVector.h +include/utils/Hash.h +include/utils/ImmutableCString.h +include/utils/InternPool.h include/utils/Invocable.h include/utils/Log.h include/utils/Logger.h +include/utils/MonotonicRingMap.h include/utils/Mutex.h include/utils/NameComponentManager.h include/utils/Panic.h include/utils/Path.h include/utils/PrivateImplementation-impl.h include/utils/PrivateImplementation.h +include/utils/RefCountedMap.h include/utils/SingleInstanceComponentManager.h include/utils/Slice.h include/utils/StaticString.h +include/utils/Status.h include/utils/StructureOfArrays.h include/utils/Systrace.h include/utils/algorithm.h include/utils/bitset.h include/utils/compiler.h include/utils/compressed_pair.h include/utils/debug.h include/utils/generic/Mutex.h include/utils/memalign.h include/utils/ostream.h include/utils/sstream.h include/utils/unwindows.h include/viewer/AutomationEngine.h include/viewer/AutomationSpec.h include/viewer/RemoteServer.h include/viewer/Settings.h include/viewer/ViewerGui.h lib/libabseil.a lib/libbackend.a lib/libbasis_transcoder.a lib/libbluegl.a lib/libbluevk.a lib/libcamutils.a lib/libcivetweb.a lib/libdracodec.a lib/libfilabridge.a lib/libfilaflat.a lib/libfilamat.a lib/libfilament-generatePrefilterMipmap.a lib/libfilament-iblprefilter.a lib/libfilament.a lib/libfilameshio.a lib/libgeometry.a lib/libgltfio.a lib/libgltfio_core.a lib/libibl-lite.a lib/libibl.a lib/libimage.a lib/libktxreader.a lib/libmatdbg.a +lib/libmatp.a lib/libmeshoptimizer.a lib/libmikktspace.a lib/libperfetto.a lib/libshaders.a lib/libsmol-v.a lib/libstb.a lib/libuberarchive.a lib/libuberzlib.a lib/libutils.a lib/libviewer.a -lib/libvkshaders.a