31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
# Template file for 'embree'
|
|
pkgname=embree
|
|
version=4.3.3
|
|
revision=1
|
|
archs="aarch64* x86_64*"
|
|
build_style=cmake
|
|
configure_args="-DTBB_ROOT=/usr -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF
|
|
-DEMBREE_TUTORIALS=OFF -DCMAKE_BUILD_TYPE=Release"
|
|
hostmakedepends="ispc"
|
|
makedepends="libfreeglut-devel libXmu-devel tbb-devel MesaLib-devel libpng-devel
|
|
libopenexr-devel libjpeg-turbo-devel libmagick-devel glfw-devel"
|
|
short_desc="High Performance Ray Tracing Kernels"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="Apache-2.0"
|
|
homepage="https://embree.github.io/"
|
|
changelog="https://raw.githubusercontent.com/embree/embree/master/CHANGELOG.md"
|
|
distfiles="https://github.com/embree/embree/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=8a3bc3c3e21aa209d9861a28f8ba93b2f82ed0dc93341dddac09f1f03c36ef2d
|
|
|
|
embree-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share/man/man3
|
|
vmove usr/share/doc
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|