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="1" SOURCE_URI="https://github.com/embree/embree/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="546e981b7542639a29d5d7655e16d5750986c57ad553795ec24b80f11cb8994d" PATCHES="embree-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" embree$secondaryArchSuffix = $portVersion lib:libembree$secondaryArchSuffix = 2.17.0 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 devel:libembree$secondaryArchSuffix = 2.17.0 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:gcc$secondaryArchSuffix cmd:cmake cmd:make cmd:pkg_config$secondaryArchSuffix cmd:sed cmd:grep " 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 }