git: 136cf0c62d8b - main - graphics/jpeg-xl: make compatible with OpenEXR/Imath 3.0
Matthias Andree
mandree at FreeBSD.org
Mon Apr 12 00:34:21 UTC 2021
The branch main has been updated by mandree:
URL: https://cgit.FreeBSD.org/ports/commit/?id=136cf0c62d8bbf420ca40d06a905819e80b95edf
commit 136cf0c62d8bbf420ca40d06a905819e80b95edf
Author: Matthias Andree <mandree at FreeBSD.org>
AuthorDate: 2021-04-11 00:11:57 +0000
Commit: Matthias Andree <mandree at 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 at 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:
More information about the dev-commits-ports-all
mailing list