void-packages/srcpkgs/embree/template
2022-01-28 17:55:33 +01:00

25 lines
887 B
Bash

# Template file for 'embree'
pkgname=embree
version=3.13.2
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 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=dcda827e5b7a606c29d00c1339f1ef00f7fa6867346bc46a2318e8f0a601c6f9
embree-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}