Date: Thursday, October 6, 2022 @ 06:21:00
  Author: foutrelis
Revision: 1321803

upgpkg: openimageio 2.3.19.0-4: switch back to fmt 9

OSL 12 builds fine with it. Also move fmt to build-time deps as it
doesn't appear to be required during runtime (oiio ships a copy of
the headers and doesn't link to the shared library).

Modified:
  openimageio/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-06 05:15:12 UTC (rev 1321802)
+++ PKGBUILD    2022-10-06 06:21:00 UTC (rev 1321803)
@@ -3,15 +3,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";)
@@ -20,9 +20,6 @@
 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 \
@@ -32,7 +29,6 @@
     -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

Reply via email to