Date: Wednesday, November 5, 2014 @ 00:09:05 Author: foutrelis Revision: 121894
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 121893, openimageio/trunk/PKGBUILD) openimageio/repos/community-staging-i686/fix32bit-fail.patch (from rev 121893, openimageio/trunk/fix32bit-fail.patch) openimageio/repos/community-staging-x86_64/ openimageio/repos/community-staging-x86_64/PKGBUILD (from rev 121893, openimageio/trunk/PKGBUILD) openimageio/repos/community-staging-x86_64/fix32bit-fail.patch (from rev 121893, openimageio/trunk/fix32bit-fail.patch) ----------------------------------------------+ community-staging-i686/PKGBUILD | 42 +++++++++++++++++++++++++ community-staging-i686/fix32bit-fail.patch | 13 +++++++ community-staging-x86_64/PKGBUILD | 42 +++++++++++++++++++++++++ community-staging-x86_64/fix32bit-fail.patch | 13 +++++++ 4 files changed, 110 insertions(+) Copied: openimageio/repos/community-staging-i686/PKGBUILD (from rev 121893, openimageio/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-11-04 23:09:05 UTC (rev 121894) @@ -0,0 +1,42 @@ +# $Id$ +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> + +pkgname=openimageio +pkgver=1.4.13 +pkgrel=2 +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') +optdepends=('qt4: iv image viewer' + 'python2: bindings support') +source=(git+git://github.com/OpenImageIO/oiio.git#tag=Release-${pkgver}) +md5sums=('SKIP') + +build() { + cd oiio + + [[ -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 oiio/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 121893, openimageio/trunk/fix32bit-fail.patch) =================================================================== --- community-staging-i686/fix32bit-fail.patch (rev 0) +++ community-staging-i686/fix32bit-fail.patch 2014-11-04 23:09:05 UTC (rev 121894) @@ -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 121893, openimageio/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2014-11-04 23:09:05 UTC (rev 121894) @@ -0,0 +1,42 @@ +# $Id$ +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> + +pkgname=openimageio +pkgver=1.4.13 +pkgrel=2 +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') +optdepends=('qt4: iv image viewer' + 'python2: bindings support') +source=(git+git://github.com/OpenImageIO/oiio.git#tag=Release-${pkgver}) +md5sums=('SKIP') + +build() { + cd oiio + + [[ -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 oiio/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 121893, openimageio/trunk/fix32bit-fail.patch) =================================================================== --- community-staging-x86_64/fix32bit-fail.patch (rev 0) +++ community-staging-x86_64/fix32bit-fail.patch 2014-11-04 23:09:05 UTC (rev 121894) @@ -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