From db1b30a11d794a143dcbcbf2c95537a10e0689e7 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 3 May 2023 19:17:12 +0000 Subject: [PATCH] community/openimageio to 2.4.10.0-2 --- community/openimageio/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/community/openimageio/PKGBUILD b/community/openimageio/PKGBUILD index cff0e9a4f..808692a99 100644 --- a/community/openimageio/PKGBUILD +++ b/community/openimageio/PKGBUILD @@ -7,7 +7,7 @@ pkgname=openimageio pkgver=2.4.10.0 -pkgrel=1 +pkgrel=2 pkgdesc="A library for reading and writing images, including classes, utilities, and applications" arch=('x86_64') url="http://www.openimageio.org/" @@ -31,11 +31,12 @@ prepare() { build() { cd oiio-$pkgver + local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') cmake \ -Bbuild \ -GNinja \ -DUSE_PYTHON=ON \ - -DPYTHON_VERSION=3.10 \ + -DPYTHON_VERSION=$python_version \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DOIIO_BUILD_TESTS=ON \