[arch-commits] Commit in openimageio/repos (6 files)

Jelle van der Waa jelle at nymeria.archlinux.org
Sat Nov 30 15:18:06 UTC 2013


    Date: Saturday, November 30, 2013 @ 16:18:06
  Author: jelle
Revision: 101720

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  openimageio/repos/community-staging-i686/
  openimageio/repos/community-staging-i686/PKGBUILD
    (from rev 101719, openimageio/trunk/PKGBUILD)
  openimageio/repos/community-staging-i686/fix32bit-fail.patch
    (from rev 101719, openimageio/trunk/fix32bit-fail.patch)
  openimageio/repos/community-staging-x86_64/
  openimageio/repos/community-staging-x86_64/PKGBUILD
    (from rev 101719, openimageio/trunk/PKGBUILD)
  openimageio/repos/community-staging-x86_64/fix32bit-fail.patch
    (from rev 101719, openimageio/trunk/fix32bit-fail.patch)

----------------------------------------------+
 community-staging-i686/PKGBUILD              |   44 +++++++++++++++++++++++++
 community-staging-i686/fix32bit-fail.patch   |   13 +++++++
 community-staging-x86_64/PKGBUILD            |   44 +++++++++++++++++++++++++
 community-staging-x86_64/fix32bit-fail.patch |   13 +++++++
 4 files changed, 114 insertions(+)

Copied: openimageio/repos/community-staging-i686/PKGBUILD (from rev 101719, openimageio/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-11-30 15:18:06 UTC (rev 101720)
@@ -0,0 +1,44 @@
+# $Id$
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=openimageio
+pkgver=1.2.1
+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')
+optdepends=('qt4: iv image viewer'
+            'python2: bindings support')
+source=(https://github.com/OpenImageIO/oiio/tarball/Release-$pkgver)
+md5sums=('c98d002c9ec843b7cc35d7aec5f03326')
+
+build() {
+  cd "$srcdir"/$_pkgname*
+
+  cd src
+
+  [[ -d build ]] && rm -r build
+  mkdir build && cd build
+
+  cmake \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DPYLIB_INSTALL_DIR=lib/python2.7/site-packages \
+      -DUSE_EXTERNAL_TBB=ON \
+      -DOIIO_BUILD_TESTS=OFF \
+      ..
+  make
+}
+
+package() {
+  cd "$srcdir"/$_pkgname*/src/build
+
+  make DESTDIR="$pkgdir" install
+
+  # license
+  cd ../..
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: openimageio/repos/community-staging-i686/fix32bit-fail.patch (from rev 101719, openimageio/trunk/fix32bit-fail.patch)
===================================================================
--- community-staging-i686/fix32bit-fail.patch	                        (rev 0)
+++ community-staging-i686/fix32bit-fail.patch	2013-11-30 15:18:06 UTC (rev 101720)
@@ -0,0 +1,13 @@
+--- orig/src/libutil/SHA1.cpp	2012-11-17 01:02:42.000000000 +0200
++++ fixed/src/libutil/SHA1.cpp	2012-12-14 14:37:37.552042793 +0200
+@@ -8,9 +8,9 @@
+ 
+ // If compiling with MFC, you might want to add #include "StdAfx.h"
+ 
++#include "SHA1.h"
+ #include "hash.h"
+ #include "dassert.h"
+-#include "SHA1.h"
+ 
+ #ifdef SHA1_UTILITY_FUNCTIONS
+ #define SHA1_MAX_FILE_BUFFER 8000

Copied: openimageio/repos/community-staging-x86_64/PKGBUILD (from rev 101719, openimageio/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-11-30 15:18:06 UTC (rev 101720)
@@ -0,0 +1,44 @@
+# $Id$
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=openimageio
+pkgver=1.2.1
+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')
+optdepends=('qt4: iv image viewer'
+            'python2: bindings support')
+source=(https://github.com/OpenImageIO/oiio/tarball/Release-$pkgver)
+md5sums=('c98d002c9ec843b7cc35d7aec5f03326')
+
+build() {
+  cd "$srcdir"/$_pkgname*
+
+  cd src
+
+  [[ -d build ]] && rm -r build
+  mkdir build && cd build
+
+  cmake \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DPYLIB_INSTALL_DIR=lib/python2.7/site-packages \
+      -DUSE_EXTERNAL_TBB=ON \
+      -DOIIO_BUILD_TESTS=OFF \
+      ..
+  make
+}
+
+package() {
+  cd "$srcdir"/$_pkgname*/src/build
+
+  make DESTDIR="$pkgdir" install
+
+  # license
+  cd ../..
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: openimageio/repos/community-staging-x86_64/fix32bit-fail.patch (from rev 101719, openimageio/trunk/fix32bit-fail.patch)
===================================================================
--- community-staging-x86_64/fix32bit-fail.patch	                        (rev 0)
+++ community-staging-x86_64/fix32bit-fail.patch	2013-11-30 15:18:06 UTC (rev 101720)
@@ -0,0 +1,13 @@
+--- orig/src/libutil/SHA1.cpp	2012-11-17 01:02:42.000000000 +0200
++++ fixed/src/libutil/SHA1.cpp	2012-12-14 14:37:37.552042793 +0200
+@@ -8,9 +8,9 @@
+ 
+ // If compiling with MFC, you might want to add #include "StdAfx.h"
+ 
++#include "SHA1.h"
+ #include "hash.h"
+ #include "dassert.h"
+-#include "SHA1.h"
+ 
+ #ifdef SHA1_UTILITY_FUNCTIONS
+ #define SHA1_MAX_FILE_BUFFER 8000




More information about the arch-commits mailing list