Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2021 00:34:47 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: 5c6c1cc2abb6 - main - graphics/devil: make compatible with OpenEXR/Imath 3.0
Message-ID:  <202104120034.13C0Ylju092780@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=5c6c1cc2abb6d1901ae5f290238bd46396bfb62f

commit 5c6c1cc2abb6d1901ae5f290238bd46396bfb62f
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2021-04-11 22:29:36 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2021-04-12 00:33:51 +0000

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

diff --git a/graphics/devil/Makefile b/graphics/devil/Makefile
index 380044037ee7..7ee07947db2b 100644
--- a/graphics/devil/Makefile
+++ b/graphics/devil/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	devil
 PORTVERSION=	1.7.8
-PORTREVISION=	25
+PORTREVISION=	26
 PORTEPOCH=	1
 CATEGORIES=	graphics
 MASTER_SITES=	SF/openil/DevIL/${PORTVERSION}
@@ -11,6 +11,8 @@ DISTNAME=	DevIL-${PORTVERSION}
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Full featured cross-platform image library
 
+LICENSE=	LGPL21
+
 USES=		alias autoreconf gmake libtool localbase pkgconfig
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-ILU --enable-ILUT \
@@ -54,7 +56,7 @@ PNG_CONFIGURE_ENABLE=	png
 PNG_CONFIGURE_OFF=	libpng_app=no
 TIFF_LIB_DEPENDS=	libtiff.so:graphics/tiff
 TIFF_CONFIGURE_ENABLE=	tiff
-EXR_LIB_DEPENDS=	libIlmImf.so:graphics/openexr
+EXR_LIB_DEPENDS=	libOpenEXR.so:graphics/openexr libImath.so:math/Imath
 EXR_CONFIGURE_ENABLE=	exr
 #SQUISH_BUILD_DEPENDS=	${LOCALBASE}/lib/libsquish.a:graphics/squish
 #SQUISH_CONFIGURE_WITH=	libsquish
@@ -74,6 +76,9 @@ post-patch:
 		${WRKSRC}/data/Makefile.am
 	@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' \
 		${WRKSRC}/src-ILU/ilur/ilur.c
+	${REINPLACE_CMD} -e 's/Imf::Int64/uint64_t/g' \
+		${WRKSRC}/src-IL/src/il_exr.cpp \
+		${WRKSRC}/src-IL/include/il_exr.h
 
 post-install:
 	@${RMDIR} ${STAGEDIR}${DATADIR}/examples



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