30 lines
794 B
Bash
30 lines
794 B
Bash
# Template file for 'openimagedenoise'
|
|
pkgname=openimagedenoise
|
|
version=1.4.2
|
|
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=e70d27ce24b41364782376c1b3b4f074f77310ccfe5f8ffec4a13a347e48a0ea
|
|
|
|
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
|
|
}
|
|
}
|