1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

math/Imath: update to v3.1.12

Upstream reports:
* Support for compiling half.h with hip-runtime-amd
* Fix improper versioning in cmake and pkgconf configuration files.

Switch to downloading (from Github) the version for which upstream
provides Sigstore certifications.
This commit is contained in:
Matthias Andree 2024-09-10 21:26:56 +02:00
parent 3b105b15ce
commit 2144cf61ff
2 changed files with 11 additions and 9 deletions

View File

@ -1,10 +1,14 @@
# Based on the graphics/ilmbase port that was done by: nork@FreeBSD.org
PORTNAME= Imath
PORTVERSION= 3.1.11
DISTVERSIONPREFIX= v
PORTREVISION= 0
PORTVERSION= 3.1.12
CATEGORIES= math devel graphics
MASTER_SITES= https://github.com/AcademySoftwareFoundation/${PORTNAME}/releases/download/v${PORTVERSION}/ \
LOCAL/mandree/
# to verify: 'make makesum' and download .sigstore.json to working directory, then:
# sigstore verify github --cert-identity \
# https://github.com/AcademySoftwareFoundation/Imath/.github/workflows/release-sign.yml@refs/tags/v3.1.12 \
# /usr/ports/distfiles/Imath-3.1.12.tar.gz --bundle Imath-3.1.12.tar.gz.sigstore.json
MAINTAINER= mandree@FreeBSD.org
COMMENT= C++/Python lib of 2D/3D vector, matrix, math ops for computer graphics
@ -14,8 +18,6 @@ LICENSE= BSD3CLAUSE
USES= cmake compiler:c++14-lang pathfix pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= AcademySoftwareFoundation
USE_LDCONFIG= yes
CMAKE_ARGS+= -DCMAKE_DEBUG_POSTFIX= \
@ -44,7 +46,7 @@ PYTHON_CMAKE_BOOL= PYTHON
_MAJORVER= 3_1
_VER= 29
_MINVER= 10
_MINVER= 11
_PLVER= 0
post-patch:

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1709239386
SHA256 (AcademySoftwareFoundation-Imath-v3.1.11_GH0.tar.gz) = 9057849585e49b8b85abe7cc1e76e22963b01bfdc3b6d83eac90c499cd760063
SIZE (AcademySoftwareFoundation-Imath-v3.1.11_GH0.tar.gz) = 596585
TIMESTAMP = 1725995802
SHA256 (Imath-3.1.12.tar.gz) = cb8ca9ca77ac4338ebbee911fc90c886011ac5b00088630bacf8ef6c6e522f0a
SIZE (Imath-3.1.12.tar.gz) = 593114