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

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Dec 22 05:47:48 UTC 2015


    Date: Tuesday, December 22, 2015 @ 06:47:47
  Author: svenstaro
Revision: 154134

upgpkg: openimageio 1.6.8-1

upstream release 1.6.8

Modified:
  openimageio/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++----------------------
 1 file changed, 11 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-22 03:36:20 UTC (rev 154133)
+++ PKGBUILD	2015-12-22 05:47:47 UTC (rev 154134)
@@ -3,33 +3,19 @@
 # Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
 
 pkgname=openimageio
-pkgver=1.4.16
-pkgrel=7
+pkgver=1.6.8
+pkgrel=1
 pkgdesc="A library for reading and writing images, including classes, utilities, and applications"
 arch=(i686 x86_64)
 url="http://www.openimageio.org/"
 license=('custom')
 depends=('openexr' 'boost-libs' 'jasper' 'glew' 'libtiff' 'opencolorio' 'intel-tbb')
-makedepends=('cmake' 'qt4' 'python2' 'boost' 'mesa' 'git')
+makedepends=('cmake' 'qt4' 'python2' 'boost' 'mesa' 'git' 'ffmpeg' 'libwebp' 'giflib')
 optdepends=('qt4: iv image viewer'
             'python2: bindings support')
-source=(git+git://github.com/OpenImageIO/oiio.git#tag=Release-${pkgver}
-        ustring-cxx11-std-string.patch
-        fix-compiler-warning.patch
-        stdmath.patch)
-md5sums=('SKIP'
-         'ec2e922a5297331901fd9331fcfb6bdb'
-         'f41243f93ad9370060efdad931750289'
-         '7b819bf20cf2c13cbde5fc6511e39f35')
+source=(git+git://github.com/OpenImageIO/oiio.git#tag=Release-${pkgver})
+md5sums=('SKIP')
 
-prepare() {
-  cd oiio
-
-  patch -Np1 < "$srcdir/ustring-cxx11-std-string.patch"
-  patch -Np1 < "$srcdir/fix-compiler-warning.patch"
-  patch -Np1 < "$srcdir/stdmath.patch"
-}
-
 build() {
   cd oiio
 
@@ -36,12 +22,15 @@
   [[ -d build ]] && rm -r build
   mkdir build && cd build
 
-  cmake \
+  # Python is currently broken :(
+  # OIIO_BUILD_TOOLS currently broken
+  cmake .. \
+      -DUSE_PYTHON=OFF \
+      -DUSE_PYTHON3=OFF \
       -DCMAKE_INSTALL_PREFIX=/usr \
       -DPYLIB_INSTALL_DIR=lib/python2.7/site-packages \
-      -DUSE_EXTERNAL_TBB=ON \
       -DOIIO_BUILD_TESTS=OFF \
-      ..
+      -DOIIO_BUILD_TOOLS=OFF
   make
 }
 



More information about the arch-commits mailing list