summaryrefslogtreecommitdiffstats
path: root/abs/core/openexr
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/openexr
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/openexr')
-rw-r--r--abs/core/openexr/PKGBUILD24
-rw-r--r--abs/core/openexr/gcc43.patch21
-rw-r--r--abs/core/openexr/openexr-gcc4.patch11
3 files changed, 56 insertions, 0 deletions
diff --git a/abs/core/openexr/PKGBUILD b/abs/core/openexr/PKGBUILD
new file mode 100644
index 0000000..1c92fbb
--- /dev/null
+++ b/abs/core/openexr/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+
+pkgname=openexr
+pkgver=1.4.0a
+pkgrel=2
+depends=('mesa' 'libxext' 'libxft' 'fltk')
+makedepends=('xproto')
+pkgdesc="openexr library for EXR images"
+arch=(i686 x86_64)
+options=(!libtool)
+source=(http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz gcc43.patch)
+url="http://www.openexr.org"
+
+build() {
+ cd $startdir/src/$pkgname-1.4.0
+ # gcc4 fix
+ #patch -Np1 -i ../openexr-gcc4.patch
+ patch -Np1 -i ../gcc43.patch
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+}
+md5sums=('d0a4b9a930c766fa51561b05fb204afe' 'd972a8ea4296762ea30a3dc7de2208ac')
diff --git a/abs/core/openexr/gcc43.patch b/abs/core/openexr/gcc43.patch
new file mode 100644
index 0000000..08ae699
--- /dev/null
+++ b/abs/core/openexr/gcc43.patch
@@ -0,0 +1,21 @@
+--- a/exrenvmap/main.cpp
++++ b/exrenvmap/main.cpp
+@@ -46,6 +46,8 @@
+ #include <exception>
+ #include <stdlib.h>
+
++#include <cstring>
++
+ using namespace Imf;
+ using namespace std;
+
+--- a/exrmaketiled/main.cpp
++++ b/exrmaketiled/main.cpp
+@@ -47,6 +47,8 @@
+ #include <string>
+ #include <stdlib.h>
+
++#include <cstring>
++
+ using namespace Imf;
+ using namespace std;
diff --git a/abs/core/openexr/openexr-gcc4.patch b/abs/core/openexr/openexr-gcc4.patch
new file mode 100644
index 0000000..ff63681
--- /dev/null
+++ b/abs/core/openexr/openexr-gcc4.patch
@@ -0,0 +1,11 @@
+--- OpenEXR-1.2.2/exrmaketiled/Image.h~ 2004-06-04 06:11:23.000000000 +0200
++++ OpenEXR-1.2.2/exrmaketiled/Image.h 2005-07-15 07:02:08.000000000 +0200
+@@ -50,6 +50,8 @@
+ #include <map>
+
+
++class Image;
++
+ class ImageChannel
+ {
+ public: