diff options
author | root <root@rshg054.dnsready.net> | 2012-10-25 01:42:20 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-25 01:42:20 -0700 |
commit | a3b55a0c47a00ac40bc00a4ce87d93f809273840 (patch) | |
tree | 6fcc1360f835115b132c35ca978b1f804540a372 /testing/ilmbase | |
parent | 120df4e0db159525806a9b33364483e76f9d51d3 (diff) |
Thu Oct 25 01:42:05 PDT 2012
Diffstat (limited to 'testing/ilmbase')
-rw-r--r-- | testing/ilmbase/PKGBUILD | 35 | ||||
-rw-r--r-- | testing/ilmbase/ilmbase-IexMath.patch | 12 |
2 files changed, 47 insertions, 0 deletions
diff --git a/testing/ilmbase/PKGBUILD b/testing/ilmbase/PKGBUILD new file mode 100644 index 000000000..fe1618f48 --- /dev/null +++ b/testing/ilmbase/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> + +pkgname=ilmbase +pkgver=1.0.3 +pkgrel=1 +depends=('gcc-libs') +pkgdesc="Base libraries from ILM for OpenEXR" +arch=(i686 x86_64) +url="http://www.openexr.com" +license=('custom') +options=('!libtool') +source=(https://github.com/downloads/openexr/openexr/$pkgname-$pkgver.tar.gz + ilmbase-IexMath.patch) +md5sums=('d99962ec7e2bfac0647aaabf6b91d5de' + '9c8efaf15f60bccf79749ec879657962') + +build() { + cd "${srcdir}/$pkgname-$pkgver" + patch -p0 -i "${srcdir}/ilmbase-IexMath.patch" + ./configure --prefix=/usr + make +} + +check() { + cd "${srcdir}/$pkgname-$pkgver" + # one of the tests fails randomly for an unknown reason + make check || true +} + +package() { + cd "${srcdir}/$pkgname-$pkgver" + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} diff --git a/testing/ilmbase/ilmbase-IexMath.patch b/testing/ilmbase/ilmbase-IexMath.patch new file mode 100644 index 000000000..546034966 --- /dev/null +++ b/testing/ilmbase/ilmbase-IexMath.patch @@ -0,0 +1,12 @@ +--- IexMath/IexMathFpu.cpp.orig 2012-07-26 20:51:55.000000000 +0200 ++++ IexMath/IexMathFpu.cpp 2012-10-04 15:30:47.000000000 +0200 +@@ -27,8 +27,7 @@ + #endif + + +-#ifdef HAVE_UCONTEXT_H +- ++#if defined(HAVE_UCONTEXT_H) && (defined(x86_64) || defined(i386_)) + + #include <ucontext.h> + #include <signal.h> |