* update imath to 3.1.12-1

This commit is contained in:
Alexander Baldeck 2024-09-29 08:23:24 +02:00
parent ed9b6cde4e
commit e43fafd1d7
3 changed files with 36 additions and 6 deletions

23
imath/.SRCINFO Normal file
View File

@ -0,0 +1,23 @@
pkgbase = imath
pkgdesc = A C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics
pkgver = 3.1.12
pkgrel = 1
url = https://www.openexr.com/
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = BSD-3-Clause
makedepends = boost
makedepends = cmake
makedepends = git
makedepends = python
depends = gcc-libs
depends = glibc
optdepends = boost-libs: python bindings
optdepends = python: python bindings
source = git+https://github.com/AcademySoftwareFoundation/Imath#tag=v3.1.12
sha256sums = 42b95856f39fd27cb30e26ef0e77ec5ad6b37c83ec9c2571914a7c9f0397daa0
pkgname = imath

6
imath/.nvchecker.toml Normal file
View File

@ -0,0 +1,6 @@
[imath]
source = 'github'
github = 'AcademySoftwareFoundation/Imath'
use_max_tag = true
prefix = 'v'
exclude_regex = '.*rc.*'

View File

@ -2,8 +2,8 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org> # Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=imath pkgname=imath
pkgver=3.1.11 pkgver=3.1.12
pkgrel=2 pkgrel=1
pkgdesc='A C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics' pkgdesc='A C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics'
url='https://www.openexr.com/' url='https://www.openexr.com/'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -14,12 +14,13 @@ optdepends=('boost-libs: python bindings'
'python: python bindings') 'python: python bindings')
makedepends=(boost makedepends=(boost
cmake cmake
git
python) python)
source=(https://github.com/AcademySoftwareFoundation/Imath/archive/v$pkgver/$pkgname-$pkgver.tar.gz) source=(git+https://github.com/AcademySoftwareFoundation/Imath#tag=v$pkgver)
sha256sums=('9057849585e49b8b85abe7cc1e76e22963b01bfdc3b6d83eac90c499cd760063') sha256sums=('42b95856f39fd27cb30e26ef0e77ec5ad6b37c83ec9c2571914a7c9f0397daa0')
build() { build() {
cmake -B build -S Imath-$pkgver \ cmake -B build -S Imath \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON=ON -DPYTHON=ON
cmake --build build cmake --build build
@ -27,5 +28,5 @@ build() {
package() { package() {
DESTDIR="$pkgdir" cmake --install build DESTDIR="$pkgdir" cmake --install build
install -Dm644 Imath-$pkgver/LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname install -Dm644 Imath/LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname
} }