summaryrefslogtreecommitdiff
path: root/staging/openexr
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-20 01:22:20 -0700
committerroot <root@rshg054.dnsready.net>2012-10-20 01:22:20 -0700
commit9598f5141ea75ffa72a3c7c85639c6f296020ef1 (patch)
tree36488f90eaa723f707c26f79ba771bb2910e8368 /staging/openexr
parentdcc55a1cfa32068d0759c1c8307f6c07c11aec99 (diff)
Sat Oct 20 01:22:19 PDT 2012
Diffstat (limited to 'staging/openexr')
-rw-r--r--staging/openexr/PKGBUILD30
-rw-r--r--staging/openexr/gcc43.patch11
2 files changed, 41 insertions, 0 deletions
diff --git a/staging/openexr/PKGBUILD b/staging/openexr/PKGBUILD
new file mode 100644
index 000000000..9c9431644
--- /dev/null
+++ b/staging/openexr/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 169347 2012-10-20 00:48:45Z eric $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+
+pkgname=openexr
+pkgver=1.7.1
+pkgrel=2
+pkgdesc="An high dynamic-range image file format library"
+url="http://www.openexr.com/"
+arch=('i686' 'x86_64')
+license=('BSD')
+depends=('zlib' 'ilmbase')
+options=('!libtool')
+source=("https://github.com/downloads/${pkgname}/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'gcc43.patch')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p0 -i "${srcdir}/gcc43.patch"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+md5sums=('a9e0369dfd68941c50cdaa93e9d7a8d1'
+ 'd91fae759053a70bcedcf02eb33ca4a2')
diff --git a/staging/openexr/gcc43.patch b/staging/openexr/gcc43.patch
new file mode 100644
index 000000000..ab99eb9a1
--- /dev/null
+++ b/staging/openexr/gcc43.patch
@@ -0,0 +1,11 @@
+--- exrenvmap/blurImage.cpp
++++ exrenvmap/blurImage.cpp
+@@ -39,6 +39,8 @@
+ //
+ //-----------------------------------------------------------------------------
+
++#include <cstring>
++
+ #include <blurImage.h>
+
+ #include <resizeImage.h>