[arch-commits] Commit in openimageio/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Sep 4 15:39:43 UTC 2020


    Date: Friday, September 4, 2020 @ 15:39:42
  Author: svenstaro
Revision: 698517

upgpkg: openimageio 2.1.19.0-2: Use external deps (FS#67824)

Modified:
  openimageio/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-04 15:15:48 UTC (rev 698516)
+++ PKGBUILD	2020-09-04 15:39:42 UTC (rev 698517)
@@ -3,18 +3,28 @@
 
 pkgname=openimageio
 pkgver=2.1.19.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/"
 license=('custom')
-depends=('openexr' 'boost-libs' 'openjpeg2' 'glew' 'libtiff' 'opencolorio' 'intel-tbb' 'libpng' 'libraw' 'libwebp')
-makedepends=('cmake' 'qt5-base' 'python' 'boost' 'mesa' 'git' 'freetype2' 'fontconfig' 'libxrender' 'ninja')
+depends=('openexr' 'boost-libs' 'openjpeg2' 'glew' 'libtiff' 'opencolorio' 'intel-tbb' 'libpng' 'libraw' 'libwebp'
+         'fmt' 'pugixml' 'pybind11')
+# TODO: Consider adding these deps: 'openvdb' 'ffmpeg' 'ptex' 'libheif' 'hdf5' 'opencv'
+makedepends=('cmake' 'qt5-base' 'python' 'boost' 'mesa' 'freetype2' 'fontconfig' 'libxrender' 'ninja' 'robin-map')
 optdepends=('qt5-base: iv image viewer'
             'python: bindings support')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenImageIO/oiio/archive/Release-$pkgver.tar.gz")
-sha512sums=('5bb7d0198e77bdd5821829bce7ed02be54316fa4ef1e87225eb0ab1108fe6b8163a3ea40549ca7e9d5ef2e7b8b0459bb30be3a761c6f17a558b3cb71eb888787')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenImageIO/oiio/archive/Release-$pkgver.tar.gz"
+        https://patch-diff.githubusercontent.com/raw/OpenImageIO/oiio/pull/2698.patch)
+sha512sums=('5bb7d0198e77bdd5821829bce7ed02be54316fa4ef1e87225eb0ab1108fe6b8163a3ea40549ca7e9d5ef2e7b8b0459bb30be3a761c6f17a558b3cb71eb888787'
+            'c42c5a0098a39072c6b32dbdcc8752e697cbf9d41e5d94b343dd4484e747c88a0682a4138a5463e1412929bc1586c148e543776228227f9f1de6ab3b6ab14912')
 
+prepare() {
+  cd oiio-Release-$pkgver
+
+  patch -Np1 -i "$srcdir"/2698.patch
+}
+
 build() {
   cd oiio-Release-$pkgver
 
@@ -27,7 +37,8 @@
       -DCMAKE_INSTALL_LIBDIR=lib \
       -DOIIO_BUILD_TESTS=ON \
       -DOIIO_BUILD_TOOLS=ON \
-      -DSTOP_ON_WARNING=OFF
+      -DBUILD_MISSING_FMT=OFF \
+      -DUSE_EXTERNAL_PUGIXML=ON
   ninja -C build
 }
 



More information about the arch-commits mailing list