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 \