void-packages/srcpkgs/embree/template
2021-04-03 10:13:04 +07:00

25 lines
803 B
Bash

# Template file for 'embree'
pkgname=embree
version=2.17.7
revision=2
archs="x86_64"
build_style=cmake
configure_args="-DTBB_ROOT=/usr -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF"
hostmakedepends="ispc"
makedepends="libfreeglut-devel libXmu-devel tbb-devel MesaLib-devel libpng-devel
libopenexr-devel libjpeg-turbo-devel libmagick-devel"
short_desc="High Performance Ray Tracing Kernels"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
homepage="https://embree.github.io/"
distfiles="https://github.com/$pkgname/$pkgname/archive/v$version.tar.gz"
checksum=c0694f287fa1fbb382aba3a895702e248d92f7e89c0e5f64aefee965482ec04c
patch_args=-Np1
embree-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}