community/openimageio to 2.3.19.0-3

This commit is contained in:
Kevin Mihelich 2022-09-19 01:27:42 +00:00
parent b09e4a14e2
commit 686e989464

View file

@ -7,7 +7,7 @@
pkgname=openimageio
pkgver=2.3.19.0
pkgrel=1
pkgrel=3
pkgdesc="A library for reading and writing images, including classes, utilities, and applications"
arch=('x86_64')
url="http://www.openimageio.org/"
@ -15,7 +15,7 @@ license=('custom')
depends=('openexr' 'boost-libs' 'openjpeg2' 'glew' 'libtiff' 'opencolorio' 'libpng' 'libraw' 'libwebp'
'fmt' 'pugixml' 'pybind11' 'libheif' 'hdf5' 'freetype2')
# TODO: Consider adding these deps: 'openvdb' 'ffmpeg' 'ptex' 'opencv'
makedepends=('cmake' 'qt5-base' 'python' 'boost' 'mesa' 'fontconfig' 'libxrender' 'ninja' 'robin-map')
makedepends=('cmake' 'qt5-base' 'python' 'boost' 'mesa' 'fontconfig' 'libxrender' 'ninja' 'robin-map' 'git')
optdepends=('qt5-base: iv image viewer'
'python: bindings support')
source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenImageIO/oiio/archive/refs/tags/v$pkgver.tar.gz"
@ -33,6 +33,9 @@ prepare() {
build() {
cd oiio-$pkgver
# FIXME: BUILD_FMT_FORCE=ON is used below to bundle fmt 8 so OSL builds
# TODO: test without this and remove it if OSL (1.12?) works with fmt 9
cmake \
-Bbuild \
-GNinja \
@ -42,6 +45,7 @@ build() {
-DCMAKE_INSTALL_LIBDIR=lib \
-DOIIO_BUILD_TESTS=ON \
-DOIIO_BUILD_TOOLS=ON \
-DBUILD_FMT_FORCE=ON \
-DBUILD_MISSING_FMT=OFF \
-DUSE_EXTERNAL_PUGIXML=ON \
-DSTOP_ON_WARNING=OFF \