From 8f710e217fd02b8b082cc8d94a611730dcbbc0aa Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Wed, 15 Mar 2023 16:07:37 +0000 Subject: [PATCH] imath: update to 3.1.7. --- common/shlibs | 2 +- srcpkgs/imath/template | 19 ++++++++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/common/shlibs b/common/shlibs index 847f5daec09..9f7035b62cb 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4233,7 +4233,7 @@ libdspy-1.so.1 d-spy-1.4.0_1 libpanel-1.so.1 libpanel-1.0.1_1 libqrtr.so.1 qrtr-ns-1.0_1 libbpf.so.1 libbpf-1.0.0_1 -libImath-3_1.so.29 imath-3.1.5_1 +libImath-3_1.so.30 imath-3.1.7_1 libIex-3_1.so.30 libopenexr-3.1.5_1 libIlmThread-3_1.so.30 libopenexr-3.1.5_1 libOpenEXR-3_1.so.30 libopenexr-3.1.5_1 diff --git a/srcpkgs/imath/template b/srcpkgs/imath/template index 892e103b02d..6570b51fbf6 100644 --- a/srcpkgs/imath/template +++ b/srcpkgs/imath/template @@ -1,7 +1,7 @@ # Template file for 'imath' pkgname=imath -version=3.1.6 -revision=3 +version=3.1.7 +revision=1 build_style=cmake configure_args="-DPYTHON=ON" hostmakedepends="python3-numpy" @@ -9,14 +9,20 @@ makedepends="boost-devel python3-devel python3-numpy" short_desc="C++/Python library for 2D/3D vector/matrix/math operations" maintainer="André Cerqueira " license="BSD-3-Clause" -homepage="https://www.openexr.com/" +homepage="https://imath.readthedocs.io/" changelog="https://raw.githubusercontent.com/AcademySoftwareFoundation/Imath/main/CHANGES.md" -distfiles="https://github.com/AcademySoftwareFoundation/Imath/archive/v${version}/${pkgname}-${version}.tar.gz" -checksum=ea5592230f5ab917bea3ceab266cf38eb4aa4a523078d46eac0f5a89c52304db +distfiles="https://github.com/AcademySoftwareFoundation/Imath/archive/v${version}/imath-${version}.tar.gz" +checksum=bff1fa140f4af0e7f02c6cb78d41b9a7d5508e6bcdfda3a583e35460eb6d4b47 + +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DBUILD_TESTING=ON" +else + configure_args+=" -DBUILD_TESTING=OFF" +fi if [ "$XBPS_MACHINE" = "i686" ] then - make_check=no # Test Fails in i868 + make_check=no # Test Fails in i686 # See upstream: https://github.com/AcademySoftwareFoundation/Imath/issues/151 fi @@ -44,7 +50,6 @@ imath-python3-devel_package() { } } - imath-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"