1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Update `graphics/embree' to the latest version 3.8.0 (unfortunately,

the new API is not backward compatible with the version 2 API; this
  was required to remove various deprecated API functions that had
  accumulated over time, fix suboptimal design decisions and mistakes,
  clean up inconsistent naming, increase flexibility, etc.
- Install tutorials as port examples; install documentation files into
  the standard location instead of overriding the default DOCSDIR
- Drop no longer used `graphics/ImageMagick' dependency: BMP, GIF, PNG,
  TGA, and TIFF formats are handled by the OpenImageIO now, but it is
  somewhat heavy dependency and is disabled upstream by default, so do
  the same (au contraire, JPEG and PNG are enabled unconditionally as
  being backed by very common and light packages)

PR:	239314 (based on)
This commit is contained in:
Alexey Dokuchaev 2020-02-10 17:26:56 +00:00
parent 82340fc6a3
commit 7c7b3169a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=525724
5 changed files with 263 additions and 120 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= embree
PORTVERSION= 2.17.6
PORTVERSION= 3.8.0
DISTVERSIONPREFIX= v
CATEGORIES= graphics
@ -14,42 +14,43 @@ LICENSE= APACHE20
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= heavy use of SSE instructions
USES= cmake compiler:env gl xorg
USE_GL= gl glu glut
USE_XORG= xi xmu
USES= cmake pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
CMAKE_ARGS= -DEMBREE_TASKING_SYSTEM:STRING=INTERNAL
CMAKE_ARGS= -DEMBREE_TASKING_SYSTEM:STRING=INTERNAL \
-DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}2
PLIST_SUB+= VERSION=${DISTVERSION}
OPTIONS_DEFINE= DOCS IMAGEMAGICK ISPC JPEG PNG
OPTIONS_DEFINE= DOCS EXAMPLES ISPC
OPTIONS_SUB= yes
IMAGEMAGICK_DESC= BMP, GIF, PNG, TGA, TIFF image formats support
IMAGEMAGICK_LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick6
IMAGEMAGICK_CMAKE_ON= -DEMBREE_TUTORIALS_IMAGE_MAGICK:BOOL=ON
ISPC_DESC= ISPC applications support
ISPC_BUILD_DEPENDS= ispc:devel/ispc
ISPC_CMAKE_OFF= -DEMBREE_ISPC_SUPPORT:BOOL=OFF
JPEG_USES= jpeg
JPEG_CMAKE_OFF= -DEMBREE_TUTORIALS_LIBJPEG:BOOL=OFF
PNG_LIB_DEPENDS= libpng.so:graphics/png
PNG_CMAKE_OFF= -DEMBREE_TUTORIALS_LIBPNG:BOOL=OFF
EXAMPLES_LIB_DEPENDS= libglfw.so:graphics/glfw \
libpng.so:graphics/png
EXAMPLES_USES= gl jpeg xorg
EXAMPLES_USE= GL=gl,glu,glut XORG=x11,xau,xcb,xdmcp
EXAMPLES_CMAKE_OFF= -DEMBREE_TUTORIALS:BOOL=OFF
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's,#else,#elif defined(MAP_HUGETLB),' \
${WRKSRC}/common/sys/alloc.cpp
# Old versions of Clang (e.g. on FreeBSD 10.x) do not support `-z' options
.if ${COMPILER_VERSION} < 35
@${REINPLACE_CMD} -e '/ -z /d' ${WRKSRC}/common/cmake/clang.cmake
# Disable parts that use _mm_cvtsi128_si64() which is not defined on i386
.if ${ARCH} == i386
CMAKE_ARGS+= -DEMBREE_ISA_AVX512SKX:BOOL=OFF
.endif
post-patch:
@${REINPLACE_CMD} -e \
'/SET(CMAKE_INSTALL_BINDIR/s,\$$.*),${EXAMPLESDIR}),' \
${WRKSRC}/common/cmake/package.cmake
@${REINPLACE_CMD} -e 's,Win32,${OPSYS},gi' \
${WRKSRC}/common/simd/vint4_sse2.h
@${REINPLACE_CMD} -e 's,#else,#elif defined(MAP_HUGETLB),' \
${WRKSRC}/common/sys/alloc.cpp
@${ECHO_CMD} > ${WRKSRC}/tutorials/common/common.isph
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1540531359
SHA256 (embree-embree-v2.17.6_GH0.tar.gz) = 29b78b13728f81ced69ad24edb0bfe3f5e0298b83648371636394c9ecbc08752
SIZE (embree-embree-v2.17.6_GH0.tar.gz) = 2111252
TIMESTAMP = 1580803269
SHA256 (embree-embree-v3.8.0_GH0.tar.gz) = ae42c08fe05672942083c0b272bfa6915b209eb8c76ae53c8948e2f1f7491e68
SIZE (embree-embree-v3.8.0_GH0.tar.gz) = 5780945

View File

@ -1,99 +1,239 @@
bin/embree2/buildbench
bin/embree2/bvh_access
bin/embree2/bvh_builder
bin/embree2/convert
bin/embree2/curve_geometry
%%ISPC%%bin/embree2/curve_geometry_ispc
bin/embree2/displacement_geometry
%%ISPC%%bin/embree2/displacement_geometry_ispc
bin/embree2/dynamic_scene
%%ISPC%%bin/embree2/dynamic_scene_ispc
bin/embree2/hair_geometry
%%ISPC%%bin/embree2/hair_geometry_ispc
bin/embree2/instanced_geometry
%%ISPC%%bin/embree2/instanced_geometry_ispc
bin/embree2/interpolation
%%ISPC%%bin/embree2/interpolation_ispc
bin/embree2/intersection_filter
%%ISPC%%bin/embree2/intersection_filter_ispc
bin/embree2/lazy_geometry
%%ISPC%%bin/embree2/lazy_geometry_ispc
bin/embree2/models/cornell_box.ecs
bin/embree2/models/cornell_box.mtl
bin/embree2/models/cornell_box.obj
bin/embree2/models/cornell_box.xml
bin/embree2/models/cornell_box.xml.bin
bin/embree2/models/curve0.xml
bin/embree2/models/curve1.xml
bin/embree2/models/cylinder.ecs
bin/embree2/models/cylinder.xml
bin/embree2/models/hair0.ecs
bin/embree2/models/hair0.xml
bin/embree2/models/linesegments.ecs
bin/embree2/models/linesegments.xml
bin/embree2/models/subdiv0.ecs
bin/embree2/models/subdiv0.xml
bin/embree2/models/subdiv1.ecs
bin/embree2/models/subdiv1.xml
bin/embree2/models/subdiv3.ecs
bin/embree2/models/subdiv3.xml
bin/embree2/models/subdiv4.ecs
bin/embree2/models/subdiv4.xml
bin/embree2/models/subdiv5.ecs
bin/embree2/models/subdiv5.xml
bin/embree2/models/subdiv6.ecs
bin/embree2/models/subdiv6.xml
bin/embree2/models/subdiv7.ecs
bin/embree2/models/subdiv7.xml
bin/embree2/models/subdiv8.ecs
bin/embree2/models/subdiv8.xml
bin/embree2/models/subdiv9.ecs
bin/embree2/models/subdiv9.xml
bin/embree2/models/subdiv_no_boundary.ecs
bin/embree2/models/subdiv_no_boundary.xml
bin/embree2/models/subdiv_pin_all.ecs
bin/embree2/models/subdiv_pin_all.xml
bin/embree2/models/subdiv_pin_boundary.ecs
bin/embree2/models/subdiv_pin_boundary.xml
bin/embree2/models/subdiv_pin_corners.ecs
bin/embree2/models/subdiv_pin_corners.xml
bin/embree2/models/subdiv_smooth_boundary.ecs
bin/embree2/models/subdiv_smooth_boundary.xml
bin/embree2/motion_blur_geometry
%%ISPC%%bin/embree2/motion_blur_geometry_ispc
bin/embree2/pathtracer
%%ISPC%%bin/embree2/pathtracer_ispc
bin/embree2/subdivision_geometry
%%ISPC%%bin/embree2/subdivision_geometry_ispc
bin/embree2/triangle_geometry
%%ISPC%%bin/embree2/triangle_geometry_ispc
bin/embree2/user_geometry
%%ISPC%%bin/embree2/user_geometry_ispc
bin/embree2/verify
bin/embree2/viewer
%%ISPC%%bin/embree2/viewer_ispc
bin/embree2/viewer_anim
%%ISPC%%bin/embree2/viewer_anim_ispc
bin/embree2/viewer_stream
%%ISPC%%bin/embree2/viewer_stream_ispc
include/embree2/rtcore.h
include/embree2/rtcore.isph
include/embree2/rtcore_builder.h
include/embree2/rtcore_geometry.h
include/embree2/rtcore_geometry.isph
include/embree2/rtcore_geometry_user.h
include/embree2/rtcore_geometry_user.isph
include/embree2/rtcore_ray.h
include/embree2/rtcore_ray.isph
include/embree2/rtcore_scene.h
include/embree2/rtcore_scene.isph
include/embree2/rtcore_version.h
include/embree3/rtcore.h
include/embree3/rtcore.isph
include/embree3/rtcore_buffer.h
include/embree3/rtcore_buffer.isph
include/embree3/rtcore_builder.h
include/embree3/rtcore_common.h
include/embree3/rtcore_common.isph
include/embree3/rtcore_config.h
include/embree3/rtcore_device.h
include/embree3/rtcore_device.isph
include/embree3/rtcore_geometry.h
include/embree3/rtcore_geometry.isph
include/embree3/rtcore_quaternion.h
include/embree3/rtcore_quaternion.isph
include/embree3/rtcore_ray.h
include/embree3/rtcore_ray.isph
include/embree3/rtcore_scene.h
include/embree3/rtcore_scene.isph
lib/cmake/embree-%%VERSION%%/embree-config-version.cmake
lib/cmake/embree-%%VERSION%%/embree-config.cmake
lib/libembree.so
lib/libembree.so.2
lib/libembree.so.%%VERSION%%
lib/libembree3.so
lib/libembree3.so.3
lib/libembree3.so.%%VERSION%%
man/man3/RTCHit.3embree3.gz
man/man3/RTCHitN.3embree3.gz
man/man3/RTCQuaternionDecomposition.3embree3.gz
man/man3/RTCRay.3embree3.gz
man/man3/RTCRayHit.3embree3.gz
man/man3/RTCRayHitN.3embree3.gz
man/man3/RTCRayN.3embree3.gz
man/man3/RTC_GEOMETRY_TYPE_CURVE.3embree3.gz
man/man3/RTC_GEOMETRY_TYPE_GRID.3embree3.gz
man/man3/RTC_GEOMETRY_TYPE_INSTANCE.3embree3.gz
man/man3/RTC_GEOMETRY_TYPE_POINT.3embree3.gz
man/man3/RTC_GEOMETRY_TYPE_QUAD.3embree3.gz
man/man3/RTC_GEOMETRY_TYPE_SUBDIVISION.3embree3.gz
man/man3/RTC_GEOMETRY_TYPE_TRIANGLE.3embree3.gz
man/man3/RTC_GEOMETRY_TYPE_USER.3embree3.gz
man/man3/rtcAttachGeometry.3embree3.gz
man/man3/rtcAttachGeometryByID.3embree3.gz
man/man3/rtcBuildBVH.3embree3.gz
man/man3/rtcCommitGeometry.3embree3.gz
man/man3/rtcCommitScene.3embree3.gz
man/man3/rtcDetachGeometry.3embree3.gz
man/man3/rtcDisableGeometry.3embree3.gz
man/man3/rtcEnableGeometry.3embree3.gz
man/man3/rtcFilterIntersection.3embree3.gz
man/man3/rtcFilterOcclusion.3embree3.gz
man/man3/rtcGetBufferData.3embree3.gz
man/man3/rtcGetDeviceError.3embree3.gz
man/man3/rtcGetDeviceProperty.3embree3.gz
man/man3/rtcGetGeometry.3embree3.gz
man/man3/rtcGetGeometryBufferData.3embree3.gz
man/man3/rtcGetGeometryFace.3embree3.gz
man/man3/rtcGetGeometryFirstHalfEdge.3embree3.gz
man/man3/rtcGetGeometryNextHalfEdge.3embree3.gz
man/man3/rtcGetGeometryOppositeHalfEdge.3embree3.gz
man/man3/rtcGetGeometryPreviousHalfEdge.3embree3.gz
man/man3/rtcGetGeometryTransform.3embree3.gz
man/man3/rtcGetGeometryUserData.3embree3.gz
man/man3/rtcGetSceneBounds.3embree3.gz
man/man3/rtcGetSceneFlags.3embree3.gz
man/man3/rtcGetSceneLinearBounds.3embree3.gz
man/man3/rtcInitIntersectContext.3embree3.gz
man/man3/rtcInitPointQueryContext.3embree3.gz
man/man3/rtcInitPointQueryInstanceStack.3embree3.gz
man/man3/rtcInitQuaternionDecomposition.3embree3.gz
man/man3/rtcInterpolate.3embree3.gz
man/man3/rtcInterpolateN.3embree3.gz
man/man3/rtcIntersect1.3embree3.gz
man/man3/rtcIntersect1M.3embree3.gz
man/man3/rtcIntersect1Mp.3embree3.gz
man/man3/rtcIntersect4.3embree3.gz
man/man3/rtcIntersectNM.3embree3.gz
man/man3/rtcIntersectNp.3embree3.gz
man/man3/rtcJoinCommitScene.3embree3.gz
man/man3/rtcNewBVH.3embree3.gz
man/man3/rtcNewBuffer.3embree3.gz
man/man3/rtcNewDevice.3embree3.gz
man/man3/rtcNewGeometry.3embree3.gz
man/man3/rtcNewScene.3embree3.gz
man/man3/rtcNewSharedBuffer.3embree3.gz
man/man3/rtcOccluded1.3embree3.gz
man/man3/rtcOccluded1M.3embree3.gz
man/man3/rtcOccluded1Mp.3embree3.gz
man/man3/rtcOccluded4.3embree3.gz
man/man3/rtcOccludedNM.3embree3.gz
man/man3/rtcOccludedNp.3embree3.gz
man/man3/rtcPointQuery.3embree3.gz
man/man3/rtcPointQuery4.3embree3.gz
man/man3/rtcReleaseBVH.3embree3.gz
man/man3/rtcReleaseBuffer.3embree3.gz
man/man3/rtcReleaseDevice.3embree3.gz
man/man3/rtcReleaseGeometry.3embree3.gz
man/man3/rtcReleaseScene.3embree3.gz
man/man3/rtcRetainBVH.3embree3.gz
man/man3/rtcRetainBuffer.3embree3.gz
man/man3/rtcRetainDevice.3embree3.gz
man/man3/rtcRetainGeometry.3embree3.gz
man/man3/rtcRetainScene.3embree3.gz
man/man3/rtcSetDeviceErrorFunction.3embree3.gz
man/man3/rtcSetDeviceMemoryMonitorFunction.3embree3.gz
man/man3/rtcSetGeometryBoundsFunction.3embree3.gz
man/man3/rtcSetGeometryBuffer.3embree3.gz
man/man3/rtcSetGeometryBuildQuality.3embree3.gz
man/man3/rtcSetGeometryDisplacementFunction.3embree3.gz
man/man3/rtcSetGeometryInstancedScene.3embree3.gz
man/man3/rtcSetGeometryIntersectFilterFunction.3embree3.gz
man/man3/rtcSetGeometryIntersectFunction.3embree3.gz
man/man3/rtcSetGeometryMask.3embree3.gz
man/man3/rtcSetGeometryOccludedFilterFunction.3embree3.gz
man/man3/rtcSetGeometryOccludedFunction.3embree3.gz
man/man3/rtcSetGeometryPointQueryFunction.3embree3.gz
man/man3/rtcSetGeometrySubdivisionMode.3embree3.gz
man/man3/rtcSetGeometryTessellationRate.3embree3.gz
man/man3/rtcSetGeometryTimeRange.3embree3.gz
man/man3/rtcSetGeometryTimeStepCount.3embree3.gz
man/man3/rtcSetGeometryTopologyCount.3embree3.gz
man/man3/rtcSetGeometryTransform.3embree3.gz
man/man3/rtcSetGeometryTransformQuaternion.3embree3.gz
man/man3/rtcSetGeometryUserData.3embree3.gz
man/man3/rtcSetGeometryUserPrimitiveCount.3embree3.gz
man/man3/rtcSetGeometryVertexAttributeCount.3embree3.gz
man/man3/rtcSetGeometryVertexAttributeTopology.3embree3.gz
man/man3/rtcSetNewGeometryBuffer.3embree3.gz
man/man3/rtcSetSceneBuildQuality.3embree3.gz
man/man3/rtcSetSceneFlags.3embree3.gz
man/man3/rtcSetSceneProgressMonitorFunction.3embree3.gz
man/man3/rtcSetSharedGeometryBuffer.3embree3.gz
man/man3/rtcUpdateGeometryBuffer.3embree3.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.md
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/readme.pdf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/buildbench
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bvh_access
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bvh_builder
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/closest_point
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/closest_point_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/collide
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/convert
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/curve_geometry
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/curve_geometry_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/displacement_geometry
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/displacement_geometry_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynamic_scene
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynamic_scene_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/grid_geometry
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/grid_geometry_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hair_geometry
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hair_geometry_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/instanced_geometry
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/instanced_geometry_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpolation
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interpolation_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/intersection_filter
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/intersection_filter_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lazy_geometry
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lazy_geometry_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/minimal
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/cornell_box.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/cornell_box.mtl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/cornell_box.obj
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/cornell_box.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/cornell_box.xml.bin
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/cornell_box_mblur.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/cornell_box_mblur.xml.bin
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/curve0.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/curve1.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/cylinder.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/cylinder.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/hair0.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/hair0.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/hair1.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/linesegments.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/linesegments.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/mblur_time_range_curve.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/mblur_time_range_grid.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/mblur_time_range_line.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/mblur_time_range_quad.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/mblur_time_range_triangle.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/oriented_bspline_curve_twisted.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/oriented_curve0.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/oriented_curve1.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/oriented_curves.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/oriented_hermite_curve_twisted.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv0.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv0.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv1.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv1.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv3.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv3.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv4.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv4.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv5.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv5.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv6.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv6.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv7.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv7.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv8.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv8.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv9.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv9.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv_no_boundary.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv_no_boundary.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv_pin_all.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv_pin_all.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv_pin_boundary.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv_pin_boundary.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv_pin_corners.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv_pin_corners.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv_smooth_boundary.ecs
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/models/subdiv_smooth_boundary.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/motion_blur_geometry
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/motion_blur_geometry_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/multiscene_geometry
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/next_hit
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathtracer
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathtracer_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/point_geometry
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/point_geometry_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quaternion_motion_blur
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quaternion_motion_blur_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subdivision_geometry
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subdivision_geometry_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/triangle_geometry
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/triangle_geometry_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/user_geometry
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/user_geometry_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/verify
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/viewer
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/viewer_anim
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/viewer_anim_ispc
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/viewer_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/viewer_stream
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/viewer_stream_ispc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/voronoi
%%ISPC%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/voronoi_ispc

View File

@ -10,6 +10,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python wrapper for Embree
BROKEN= outdated version, incompatible with Embree 3 API
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

View File

@ -3,7 +3,7 @@
PORTNAME= yt
DISTVERSION= 3.5.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= math astro python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -25,7 +25,7 @@ USES= dos2unix localbase python
USE_PYTHON= distutils cython autoplist concurrent
OPTIONS_DEFINE= EMBREE
OPTIONS_DEFAULT= EMBREE
#OPTIONS_DEFAULT= EMBREE
EMBREE_DESC= Embree ray-tracing engine support
EMBREE_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyembree>0:graphics/py-pyembree@${PY_FLAVOR}