SUMMARY="High Performance Ray Tracing Kernels" DESCRIPTION="Embree is a collection of high-performance ray tracing kernels, \ developed at Intel. The target user of Embree are graphics application \ engineers that want to improve the performance of their application by \ leveraging the optimized ray tracing kernels of Embree. The kernels \ are optimized for photo-realistic rendering on the latest Intel (R) \ processors with support for SSE, AVX, AVX2, and AVX-512. Embree \ supports runtime code selection to choose the traversal and build \ algorithms that best matches the instruction set of your CPU" HOMEPAGE="https://embree.github.io" COPYRIGHT="2013-2017 Intel Corporation" LICENSE="Apache v2" REVISION="3" SOURCE_URI="https://github.com/embree/embree/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="29b78b13728f81ced69ad24edb0bfe3f5e0298b83648371636394c9ecbc08752" PATCHES="embree-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" embree$secondaryArchSuffix = $portVersion lib:libembree$secondaryArchSuffix = 2.17.6 compat >= 2 " REQUIRES=" haiku$secondaryArchSuffix lib:libgl$secondaryArchSuffix lib:libglu$secondaryArchSuffix lib:libjpeg$secondaryArchSuffix lib:libMagick++_7.Q16HDRI$secondaryArchSuffix lib:libpng16$secondaryArchSuffix " PROVIDES_devel=" embree${secondaryArchSuffix}_devel = $portVersion cmd:embree2$secondaryArchSuffix devel:libembree$secondaryArchSuffix = 2.17.6 compat >= 2 " REQUIRES_devel=" embree$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libgl$secondaryArchSuffix devel:libglu$secondaryArchSuffix devel:libjpeg$secondaryArchSuffix devel:libMagick++_7.Q16HDRI$secondaryArchSuffix devel:libpng16$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:cmake cmd:gcc$secondaryArchSuffix cmd:grep cmd:make cmd:pkg_config$secondaryArchSuffix cmd:sed " BUILD() { mkdir -p haiku_build cd haiku_build cmake $cmakeDirArgs \ -DEMBREE_ISPC_SUPPORT=OFF \ -DEMBREE_TASKING_SYSTEM=OFF \ .. make $jobArgs } INSTALL() { cd haiku_build make install prepareInstalledDevelLib libembree fixPkgconfig # devel package packageEntries devel \ $developDir \ $binDir \ $libDir/cmake }