git: 5dde67a0a6aa - main - graphics/openexr: update to bugfix release v3.2.4

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Sat, 30 Mar 2024 14:04:23 UTC
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5dde67a0a6aa4e939114868524321b9f16c38743

commit 5dde67a0a6aa4e939114868524321b9f16c38743
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-03-30 13:54:48 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-03-30 14:04:19 +0000

    graphics/openexr: update to bugfix release v3.2.4
    
    ChangeLog: https://github.com/AcademySoftwareFoundation/openexr/blob/main/CHANGES.md#version-324-march-26-2024
    ChangeLog: https://github.com/AcademySoftwareFoundation/openexr/blob/main/CHANGES.md#version-323-march-6-2024
    
    Switch from auto-generated tarballs to those that use sigstore,
    verify that -- see
    https://github.com/AcademySoftwareFoundation/openexr/blob/main/SECURITY.md#signed-releases
    and shuffle variables accordingly, including DISTFILES, EXTRACT_ONLY and NO_WRKSUBDIR updates.
---
 graphics/openexr/Makefile                             | 13 ++++++++-----
 graphics/openexr/distinfo                             |  6 +++---
 graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake | 11 -----------
 graphics/openexr/pkg-plist                            |  1 +
 4 files changed, 12 insertions(+), 19 deletions(-)

diff --git a/graphics/openexr/Makefile b/graphics/openexr/Makefile
index 792db5976518..4091adb1b3d8 100644
--- a/graphics/openexr/Makefile
+++ b/graphics/openexr/Makefile
@@ -1,11 +1,13 @@
 PORTNAME?=	openexr
-PORTVERSION=	3.2.2
-PORTREVISION?=	1
+PORTVERSION=	3.2.4
+PORTREVISION?=	0
 CATEGORIES=	graphics devel
 .if !defined(MASTERDIR)
 MASTER_SITES=	https://raw.githubusercontent.com/AcademySoftwareFoundation/openexr-images/v1.0/:testimages \
+		https://github.com/AcademySoftwareFoundation/openexr/releases/download/v${PORTVERSION}/:DEFAULT \
 		LOCAL/mandree/openexr/:DEFAULT \
 		LOCAL/mandree/openexr/:testimages
+DISTFILES=	${EXTRACT_ONLY}:DEFAULT
 DISTFILES+=	Beachball/multipart.0001.exr:testimages
 DISTFILES+=	Beachball/singlepart.0001.exr:testimages
 DISTFILES+=	Chromaticities/Rec709_YC.exr:testimages
@@ -22,9 +24,10 @@ DISTFILES+=	TestImages/GammaChart.exr:testimages
 DISTFILES+=	TestImages/GrayRampsHorizontal.exr:testimages
 DISTFILES+=	v2/LeftView/Balls.exr:testimages
 DISTFILES+=	v2/Stereo/Trunks.exr:testimages
+NO_WRKSUBDIR=	yes
 .endif
 DIST_SUBDIR=	${PORTNAME}
-EXTRACT_ONLY=	${DISTFILES:M*${EXTRACT_SUFX}}
+EXTRACT_ONLY=	openexr-v${PORTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	mandree@FreeBSD.org
 COMMENT=	High dynamic-range (HDR) image file format
@@ -39,8 +42,8 @@ LIB_DEPENDS?=	libImath-3_1.so.29:math/Imath \
 
 USES?=		cmake compiler:c++14-lang cpe pathfix pkgconfig
 
-USE_GITHUB=	yes
-GH_TUPLE=	AcademySoftwareFoundation:openexr:v${PORTVERSION}
+#USE_GITHUB=	yes
+#GH_TUPLE=	AcademySoftwareFoundation:openexr:v${PORTVERSION}
 
 USE_LDCONFIG=	yes
 
diff --git a/graphics/openexr/distinfo b/graphics/openexr/distinfo
index 71a67bef8178..e1c1babd65b2 100644
--- a/graphics/openexr/distinfo
+++ b/graphics/openexr/distinfo
@@ -1,4 +1,6 @@
-TIMESTAMP = 1707752683
+TIMESTAMP = 1711799214
+SHA256 (openexr/openexr-v3.2.4.tar.gz) = 0ad76308342bf8c08e55f5e53d685c4fc79f8a4e25924e6ab1d19d4f7e178d14
+SIZE (openexr/openexr-v3.2.4.tar.gz) = 18851022
 SHA256 (openexr/Beachball/multipart.0001.exr) = 0cd032069fbaa14a2766861fef9893ea66a6494ff64650725d3b26a500df774b
 SIZE (openexr/Beachball/multipart.0001.exr) = 2894260
 SHA256 (openexr/Beachball/singlepart.0001.exr) = 29719942ed3c095a8f8f111fc139fc4c28f446007f5bfce00177cae585b1a87a
@@ -31,5 +33,3 @@ SHA256 (openexr/v2/LeftView/Balls.exr) = 86503ff1b0a07372058127896d3858facf625e0
 SIZE (openexr/v2/LeftView/Balls.exr) = 5065464
 SHA256 (openexr/v2/Stereo/Trunks.exr) = 8a2f04e8d5b8ef1a5fd48198cf2059f1dd01129e4cccd7a4c96caf8c472676f7
 SIZE (openexr/v2/Stereo/Trunks.exr) = 3858752
-SHA256 (openexr/AcademySoftwareFoundation-openexr-3.2.2-v3.2.2_GH0.tar.gz) = 65de6459c245a4977ce4d7777e70b30d7ef48ec38e0cfb10205706ca50a8bf2e
-SIZE (openexr/AcademySoftwareFoundation-openexr-3.2.2-v3.2.2_GH0.tar.gz) = 18825996
diff --git a/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake b/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake
deleted file mode 100644
index f83fac22e357..000000000000
--- a/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake
+++ /dev/null
@@ -1,11 +0,0 @@
---- cmake/OpenEXRSetup.cmake.orig	2023-09-25 02:46:06 UTC
-+++ cmake/OpenEXRSetup.cmake
-@@ -215,7 +215,7 @@ if(NOT TARGET PkgConfig::deflate AND NOT deflate_FOUND
-   set(EXR_DEFLATE_LIB)
- else()
-   set(EXR_DEFLATE_INCLUDE_DIR)
--  set(EXR_DEFLATE_LIB ${deflate_LIBRARIES})
-+  set(EXR_DEFLATE_LIB ${deflate_LINK_LIBRARIES})
-   # set EXR_DEFATE_LDFLAGS for OpenEXR.pc.in for static build
-   if (BUILD_SHARED_LIBS)
-     set(EXR_DEFLATE_LDFLAGS "")
diff --git a/graphics/openexr/pkg-plist b/graphics/openexr/pkg-plist
index 43b0c3048a53..e5cfde970d20 100644
--- a/graphics/openexr/pkg-plist
+++ b/graphics/openexr/pkg-plist
@@ -4,6 +4,7 @@ bin/exrheader
 bin/exrinfo
 bin/exrmakepreview
 bin/exrmaketiled
+bin/exrmanifest
 bin/exrmultipart
 bin/exrmultiview
 bin/exrstdattr