1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/graphics/oidn/Makefile
Yuri Victorovich f352cb3ae9 graphics/oidn: Update 0.9.0 -> 1.0.0
Reported by:	portscout
2019-08-02 20:19:24 +00:00

32 lines
812 B
Makefile

# $FreeBSD$
PORTNAME= oidn
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org
COMMENT= Intel(R) Open Image Denoise library
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_i386= Intel(R) MKL-DNN supports 64 bit platforms only (oidn contains a custom version of mkl-dnn, see math/mkl-dnn)
LIB_DEPENDS= libtbb.so:devel/tbb
USES= cmake:noninja compiler:c++11-lang python:build
USE_GITHUB= yes
GH_ACCOUNT= OpenImageDenoise
GH_TUPLE= OpenImageDenoise:oidn-weights:cd8e2ce:w/weights \
OpenImageDenoise:mkl-dnn:6241ac7:m/mkl-dnn
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
CMAKE_ARGS+= -DTBB_ROOT:STRING=${LOCALBASE} -DTBB_INCLUDE_DIR:STRING=${LOCALBASE}/include -DPYTHON_EXECUTABLE:STRING=${PYTHON_CMD}
DOCSDIR= share/doc/${GH_ACCOUNT}
.include <bsd.port.mk>