30 lines
856 B
Bash
30 lines
856 B
Bash
# Template file for 'openimagedenoise'
|
|
pkgname=openimagedenoise
|
|
version=1.4.3
|
|
revision=1
|
|
archs="x86_64*"
|
|
build_style=cmake
|
|
hostmakedepends="ispc python3"
|
|
makedepends="tbb-devel openimageio-devel"
|
|
short_desc="Intel(R) Open Image Denoise library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://openimagedenoise.github.io"
|
|
changelog="https://github.com/OpenImageDenoise/oidn/blob/master/CHANGELOG.md"
|
|
distfiles="https://github.com/OpenImageDenoise/oidn/releases/download/v${version}/oidn-${version}.src.tar.gz"
|
|
checksum=3276e252297ebad67a999298d8f0c30cfb221e166b166ae5c955d88b94ad062a
|
|
|
|
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
|
|
}
|
|
}
|