void-packages/srcpkgs/openimagedenoise/template
2021-08-08 18:04:03 -03:00

29 lines
794 B
Bash

# Template file for 'openimagedenoise'
pkgname=openimagedenoise
version=1.4.1
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=9088966685a78adf24b8de075d66e4c0019bd7b2b9d29c6e45aaf35d294e3f6f
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
}
}