Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2021 00:34:21 GMT
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 136cf0c62d8b - main - graphics/jpeg-xl: make compatible with OpenEXR/Imath 3.0
Message-ID:  <202104120034.13C0YLVF092267@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=136cf0c62d8bbf420ca40d06a905819e80b95edf

commit 136cf0c62d8bbf420ca40d06a905819e80b95edf
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2021-04-11 00:11:57 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2021-04-12 00:33:39 +0000

    graphics/jpeg-xl: make compatible with OpenEXR/Imath 3.0
---
 graphics/jpeg-xl/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/graphics/jpeg-xl/Makefile b/graphics/jpeg-xl/Makefile
index 9bcfd5ed8538..bcaedd837d5b 100644
--- a/graphics/jpeg-xl/Makefile
+++ b/graphics/jpeg-xl/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	jpeg-xl
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.3.7
+PORTREVISION=	1
 CATEGORIES=	graphics
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -57,8 +58,8 @@ MANPAGES_BUILD_DEPENDS=	a2x:textproc/asciidoc
 MANPAGES_USES=		python:build
 MANPAGES_CMAKE_BOOL_OFF=CMAKE_DISABLE_FIND_PACKAGE_Python
 
-OPENEXR_LIB_DEPENDS=	libHalf.so:graphics/ilmbase \
-			libIlmImf.so:graphics/openexr
+OPENEXR_LIB_DEPENDS=	libImath.so:math/Imath \
+			libOpenEXR.so:graphics/openexr
 OPENEXR_CMAKE_BOOL=	JPEGXL_ENABLE_OPENEXR
 
 PIXBUF_USES=		gnome
@@ -75,6 +76,8 @@ TEST_TEST_TARGET=	test
 post-patch:
 	@${REINPLACE_CMD} 's,/usr,${LOCALBASE},' \
 		${WRKSRC}/plugins/gdk-pixbuf/jxl.thumbnailer
+	${REINPLACE_CMD} 's,OpenEXR::Int64,uint64_t,' \
+		${WRKSRC}/lib/extras/codec_exr.cc
 
 # pkg_check_modules doesn't support CMAKE_DISABLE_*
 post-patch-GIMP-off:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104120034.13C0YLVF092267>