community/openimageio to 2.3.19.0-4

This commit is contained in:
Kevin Mihelich 2022-10-06 12:45:18 +00:00
parent 1f522a5aaf
commit 9f97d05aa7

View file

@ -7,15 +7,15 @@
pkgname=openimageio
pkgver=2.3.19.0
pkgrel=3
pkgrel=4
pkgdesc="A library for reading and writing images, including classes, utilities, and applications"
arch=('x86_64')
url="http://www.openimageio.org/"
license=('custom')
depends=('openexr' 'boost-libs' 'openjpeg2' 'glew' 'libtiff' 'opencolorio' 'libpng' 'libraw' 'libwebp'
'fmt' 'pugixml' 'pybind11' 'libheif' 'hdf5' 'freetype2')
'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' 'git')
makedepends=('cmake' 'qt5-base' 'python' 'boost' 'mesa' 'fontconfig' 'libxrender' 'ninja' 'robin-map' 'fmt')
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,9 +33,6 @@ 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 \
@ -45,7 +42,6 @@ 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 \