void-packages/srcpkgs/openimagedenoise/template
2021-05-21 02:12:13 -03:00

29 lines
794 B
Bash

# Template file for 'openimagedenoise'
pkgname=openimagedenoise
version=1.4.0
revision=1
archs="x86_64*"
wrksrc=oidn-${version}
build_style=cmake
hostmakedepends="ispc python3"
makedepends="tbb-devel openimageio-devel"
short_desc="Intel(R) Open Image Denoise library"
maintainer="teldra <teldra@rotce.de>"
license="Apache-2.0"
homepage="https://openimagedenoise.github.io"
distfiles="https://github.com/OpenImageDenoise/oidn/releases/download/v${version}/oidn-${version}.src.tar.gz"
checksum=3e7b85d344b3635719879c4444f061714e6e799895110bd5d78a357dc9b017db
do_check() {
build/oidnTest
}
openimagedenoise-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/cmake
}
}