void-packages/srcpkgs/openimagedenoise/template

30 lines
794 B
Bash

# Template file for 'openimagedenoise'
pkgname=openimagedenoise
version=1.3.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=88367b2bbea82d1df45d65141c36b6d86491bc6b397dc70beb3a05dda566f31c
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
}
}