void-packages/srcpkgs/openimagedenoise/template

26 lines
762 B
Bash

# Template file for 'openimagedenoise'
pkgname=openimagedenoise
version=1.2.4
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=948b070c780b5de0d983e7d5d37f6d9454932cc278913d9ee5b0bd047d23864a
openimagedenoise-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/cmake
}
}