26 lines
792 B
Bash
26 lines
792 B
Bash
# Template file for 'embree'
|
|
pkgname=embree
|
|
version=2.17.5
|
|
revision=1
|
|
only_for_archs="x86_64"
|
|
build_style=cmake
|
|
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=1a6fb2d1b32a10eb165c8bce6c61fc9a7671ca49fcd6a9cde512fbcfff49c1db
|
|
|
|
nopie=y
|
|
|
|
configure_args="-DTBB_ROOT=/usr -DENABLE_TUTORIALS=OFF"
|
|
|
|
embree-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|