Update openimageio to 2.2.11.1

-minor bump to first shared lib due to some export additions.
 no changes in second shared lib.
-10 tests fail out of 54, atleast 3 due to some dependencies
 not being turned on.
-USE_DICOM is not recognized anymore so I've replaced with DMCTK_FOUND
 USE_OPENVDB=OFF since it is picked up now but is not required by blender.

Update diff from Dimitri Karamazov, maintainer, input from sthen@
This commit is contained in:
rsadowski 2021-03-03 06:38:19 +00:00
parent f9c4c2a9a8
commit 2bad0760cb
3 changed files with 14 additions and 24 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.51 2021/02/23 19:39:26 sthen Exp $
# $OpenBSD: Makefile,v 1.52 2021/03/03 06:38:19 rsadowski Exp $
BROKEN-i386 = clang segfault compiling imagebufalgo_pixelmath.cpp
BROKEN-powerpc = clang segfault compiling imagebufalgo_pixelmath.cpp
@ -8,13 +8,11 @@ COMMENT = library for reading and writing images
GH_ACCOUNT = OpenImageIO
GH_PROJECT = oiio
GH_TAGNAME = Release-$V
V = 2.2.10.0
ROBIN_VER = 0.6.2
V = 2.2.11.1
DISTNAME = openimageio-${V}
REVISION = 0
SHARED_LIBS += OpenImageIO 8.0 # 2.2.10
SHARED_LIBS += OpenImageIO_Util 4.0 # 2.2.10
SHARED_LIBS += OpenImageIO 9.0 # 2.2.11
SHARED_LIBS += OpenImageIO_Util 5.0 # 2.2.11
CATEGORIES = graphics devel
@ -34,11 +32,6 @@ WANTLIB += boost_filesystem-mt boost_system-mt boost_thread-mt
WANTLIB += bz2 c freetype gif intl jpeg m openjp2 png pugixml
WANTLIB += raw_r swscale tiff util webp webpdemux z
MASTER_SITES0 = https://github.com/Tessil/robin-map/
DISTFILES = ${DISTNAME}.tar.gz \
robin-map-{archive/v}${ROBIN_VER}.tar.gz:0
MODULES = devel/cmake \
lang/python \
x11/qt5
@ -46,8 +39,9 @@ MODULES = devel/cmake \
COMPILER = base-clang ports-gcc
BUILD_DEPENDS = devel/fmt \
textproc/txt2man \
devel/py-pybind11${MODPY_FLAVOR}
devel/py-pybind11${MODPY_FLAVOR} \
devel/robin-map \
textproc/txt2man
LIB_DEPENDS = devel/boost \
graphics/ffmpeg \
@ -62,11 +56,13 @@ LIB_DEPENDS = devel/boost \
textproc/pugixml
CONFIGURE_ARGS += -DCMAKE_INSTALL_MANDIR="man/man1" \
-DCMAKE_LIBRARY_PATH="${WRKBUILD}/lib:${CMAKE_LIBRARY_PATH}" \
-DSTOP_ON_WARNING=OFF \
-DUSE_CCACHE=OFF \
-DUSE_DICOM=OFF \
-DDCMTK_FOUND=OFF \
-DUSE_EXTERNAL_PUGIXML=ON \
-DUSE_OPENCV=OFF \
-DUSE_OPENVDB=OFF \
-DUSE_HDF5=OFF \
-DUSE_LIBHEIF=OFF \
-Dpybind11_DIR=${MODPY_SITEPKG}/pybind11/share/cmake/pybind11/
@ -77,10 +73,6 @@ CONFIGURE_ENV += LDFLAGS="${LDFLAGS} -latomic"
WANTLIB += atomic
.endif
post-extract:
mkdir ${WRKSRC}/ext
cp -r ${WRKDIR}/robin-map-${ROBIN_VER} ${WRKSRC}/ext/robin-map
post-install:
find ${PREFIX} -name '*.orig' -delete

View File

@ -1,4 +1,2 @@
SHA256 (openimageio-2.2.10.0.tar.gz) = 28Dj6XGEl9n3HqAfsd6Lh0SXda2dvOpNJTjZxSu+HVo=
SHA256 (robin-map-0.6.2.tar.gz) = wI7Esb8chesNZDIkSmqJhiIp2hy4NPP5D7qNw12MjvE=
SIZE (openimageio-2.2.10.0.tar.gz) = 29215970
SIZE (robin-map-0.6.2.tar.gz) = 63782
SHA256 (openimageio-2.2.11.1.tar.gz) = EgFw6FF9iRH1Kw+1bxTrVqrYjt1yzJ5LLjXHQCUpO30=
SIZE (openimageio-2.2.11.1.tar.gz) = 29250377

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.11 2021/01/05 20:53:18 jca Exp $
@comment $OpenBSD: PLIST,v 1.12 2021/03/03 06:38:19 rsadowski Exp $
@conflict idiff-*
@bin bin/iconvert
@bin bin/idiff
@ -70,7 +70,7 @@ lib/cmake/OpenImageIO/OpenImageIOTargets.cmake
@lib lib/libOpenImageIO.so.${LIBOpenImageIO_VERSION}
@lib lib/libOpenImageIO_Util.so.${LIBOpenImageIO_Util_VERSION}
lib/pkgconfig/OpenImageIO.pc
lib/python${MODPY_VERSION}/site-packages/OpenImageIO.so.8.0
lib/python${MODPY_VERSION}/site-packages/OpenImageIO.${MODPY_PYC_MAGIC_TAG}so.9.0
@man man/man1/iconvert.1
@man man/man1/idiff.1
@man man/man1/igrep.1