1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

graphics/oidn: Update 1.2.3 -> 1.2.4

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2020-10-04 19:53:43 +00:00
parent 552ac94050
commit 823bf54edf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=551448
3 changed files with 21 additions and 16 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= oidn
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.3
DISTVERSION= 1.2.4
CATEGORIES= graphics
MASTER_SITES= http://freebsd.org/:weights # bogus URL to make the framework happy, the fetch uses Git URL below
DISTFILES= ${PORTNAME}-weights-${WEIGHTS_GIT_HASH}${EXTRACT_SUFX}:weights
@ -41,16 +41,21 @@ WEIGHTS_GIT_HASH= 08092e46a1961b13b70e48ad80fa19b452bd4c01
pre-fetch:
@if [ "${FORCE_FETCH_ALL}" = "true" ] || ! [ -f "${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-weights-${WEIGHTS_GIT_HASH}${EXTRACT_SUFX}" ]; then \
${MKDIR} ${DISTDIR}/${DIST_SUBDIR} && \
cd ${DISTDIR}/${DIST_SUBDIR} && \
${ECHO} "==> Fetching the oidn/weights subproject with large LFS files" && \
git config --global filter.lfs.smudge "git-lfs smudge -- %f" && \
git clone -q ${WEIGHTS_GIT_URL} ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} && \
(cd ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} && git reset -q --hard ${WEIGHTS_GIT_HASH} && ${RM} -r .git) && \
${FIND} ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} -and -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \
${FIND} ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} -print0 | LC_ALL=C ${SORT} -z | \
${TAR} czf ${PORTNAME}-weights-${WEIGHTS_GIT_HASH}${EXTRACT_SUFX} --format=bsdtar --gid 0 --uid 0 --options gzip:!timestamp --no-recursion --null -T - && \
${RM} -r ${PORTNAME}-weights-${WEIGHTS_GIT_HASH}; \
${MKDIR} ${DISTDIR}/${DIST_SUBDIR} && \
cd ${DISTDIR}/${DIST_SUBDIR} && \
${ECHO} "==> Fetching the oidn/weights subproject with large LFS files" && \
( \
${MKDIR} ${WRKDIR}; \
HOME=${WRKDIR}; \
git config --global filter.lfs.smudge "git-lfs smudge -- %f" && \
git clone -q ${WEIGHTS_GIT_URL} ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} && \
(cd ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} && git reset -q --hard ${WEIGHTS_GIT_HASH} && ${RM} -r .git) && \
${RM} -r ${WRKDIR} \
) && \
${FIND} ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} -and -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \
${FIND} ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} -print0 | LC_ALL=C ${SORT} -z | \
${TAR} czf ${PORTNAME}-weights-${WEIGHTS_GIT_HASH}${EXTRACT_SUFX} --format=bsdtar --gid 0 --uid 0 --options gzip:!timestamp --no-recursion --null -T - && \
${RM} -r ${PORTNAME}-weights-${WEIGHTS_GIT_HASH}; \
fi
post-extract:

View File

@ -1,7 +1,7 @@
TIMESTAMP = 1599950146
TIMESTAMP = 1601831264
SHA256 (oidn-weights-08092e46a1961b13b70e48ad80fa19b452bd4c01.tar.gz) = 51b6638f22b67581da7c2a877faa2f5d3062bb4e9b9214e5008cb25052748300
SIZE (oidn-weights-08092e46a1961b13b70e48ad80fa19b452bd4c01.tar.gz) = 37029289
SHA256 (OpenImageDenoise-oidn-v1.2.3_GH0.tar.gz) = 9ff7f7b5c442bd56be1ae89f8c45ae1972498b854f7175705ff520bb2c5cb25b
SIZE (OpenImageDenoise-oidn-v1.2.3_GH0.tar.gz) = 3410694
SHA256 (OpenImageDenoise-oidn-v1.2.4_GH0.tar.gz) = f847c244417e68ba46149663055f163188cc2ec62308fe040ec943df184a2c40
SIZE (OpenImageDenoise-oidn-v1.2.4_GH0.tar.gz) = 3412598
SHA256 (OpenImageDenoise-mkl-dnn-603620ba45185e7d91fe112b69287e7d86c64353_GH0.tar.gz) = 582a5e07027e0bd2b078c11c667bcb9ab06cc955263b95e292c50088ba0ea6ad
SIZE (OpenImageDenoise-mkl-dnn-603620ba45185e7d91fe112b69287e7d86c64353_GH0.tar.gz) = 5800370

View File

@ -1,12 +1,12 @@
bin/oidnBenchmark
bin/oidnDenoise
bin/oidnTest
include/OpenImageDenoise/config.h
include/OpenImageDenoise/oidn.h
include/OpenImageDenoise/oidn.hpp
include/OpenImageDenoise/version.h
lib/cmake/OpenImageDenoise/OpenImageDenoiseConfig-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/OpenImageDenoise/OpenImageDenoiseConfig.cmake
lib/cmake/OpenImageDenoise/OpenImageDenoiseConfigVersion.cmake
lib/libOpenImageDenoise.so
lib/libOpenImageDenoise.so.0
lib/libOpenImageDenoise.so.1.2.3
lib/libOpenImageDenoise.so.1.2.4