mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/openimageio to 2.4.10.0-2
This commit is contained in:
parent
1a80a37378
commit
db1b30a11d
1 changed files with 3 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue