Date: Friday, February 22, 2013 @ 11:50:21 Author: svenstaro Revision: 84693
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 84692, openimageio/trunk/PKGBUILD) openimageio/repos/community-staging-i686/fix32bit-fail.patch (from rev 84692, openimageio/trunk/fix32bit-fail.patch) openimageio/repos/community-staging-x86_64/ openimageio/repos/community-staging-x86_64/PKGBUILD (from rev 84692, openimageio/trunk/PKGBUILD) openimageio/repos/community-staging-x86_64/fix32bit-fail.patch (from rev 84692, openimageio/trunk/fix32bit-fail.patch) ----------------------------------------------+ community-staging-i686/PKGBUILD | 43 +++++++++++++++++++++++++ community-staging-i686/fix32bit-fail.patch | 13 +++++++ community-staging-x86_64/PKGBUILD | 43 +++++++++++++++++++++++++ community-staging-x86_64/fix32bit-fail.patch | 13 +++++++ 4 files changed, 112 insertions(+) Copied: openimageio/repos/community-staging-i686/PKGBUILD (from rev 84692, openimageio/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-02-22 10:50:21 UTC (rev 84693) @@ -0,0 +1,43 @@ +# $Id$ +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> + +pkgname=openimageio +pkgver=1.1.7 +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' 'qtbase' 'python2' 'boost' 'mesa') +optdepends=('qtbase: iv image viewer' + 'python2: bindings support') +source=(https://github.com/OpenImageIO/oiio/tarball/Release-$pkgver) +md5sums=('5fafac9b5f9f7edc9bd0507477c12e0d') + +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 \ + .. + 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 84692, openimageio/trunk/fix32bit-fail.patch) =================================================================== --- community-staging-i686/fix32bit-fail.patch (rev 0) +++ community-staging-i686/fix32bit-fail.patch 2013-02-22 10:50:21 UTC (rev 84693) @@ -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 84692, openimageio/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2013-02-22 10:50:21 UTC (rev 84693) @@ -0,0 +1,43 @@ +# $Id$ +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> + +pkgname=openimageio +pkgver=1.1.7 +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' 'qtbase' 'python2' 'boost' 'mesa') +optdepends=('qtbase: iv image viewer' + 'python2: bindings support') +source=(https://github.com/OpenImageIO/oiio/tarball/Release-$pkgver) +md5sums=('5fafac9b5f9f7edc9bd0507477c12e0d') + +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 \ + .. + 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 84692, openimageio/trunk/fix32bit-fail.patch) =================================================================== --- community-staging-x86_64/fix32bit-fail.patch (rev 0) +++ community-staging-x86_64/fix32bit-fail.patch 2013-02-22 10:50:21 UTC (rev 84693) @@ -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