diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-10-28 13:23:06 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-10-28 13:23:06 +0100 |
commit | b1bde86b7410654132cd3365cc82e2ab7306b5f7 (patch) | |
tree | cdd900b7b62d0bf35c9b980ab71e0474d604bd72 /extra/ilmbase | |
parent | 6fee6e650c46dcf94e9bd79efa2b2bf8a298d271 (diff) | |
parent | 24d0263a0ac516ccc86df09146449fb040fb3689 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/gmic/PKGBUILD
community/projectm/PKGBUILD
extra/dvdauthor/PKGBUILD
extra/ilmbase/PKGBUILD
extra/imagemagick/PKGBUILD
extra/obex-data-server/PKGBUILD
extra/phonon/PKGBUILD
extra/psiconv/PKGBUILD
extra/pstoedit/PKGBUILD
Diffstat (limited to 'extra/ilmbase')
-rw-r--r-- | extra/ilmbase/PKGBUILD | 26 | ||||
-rw-r--r-- | extra/ilmbase/ilmbase-IexMath.patch | 12 |
2 files changed, 25 insertions, 13 deletions
diff --git a/extra/ilmbase/PKGBUILD b/extra/ilmbase/PKGBUILD index b4fb11cd2..15d8c2f54 100644 --- a/extra/ilmbase/PKGBUILD +++ b/extra/ilmbase/PKGBUILD @@ -2,34 +2,34 @@ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=ilmbase -pkgver=1.0.2 -pkgrel=1.1 +pkgver=1.0.3 +pkgrel=1 depends=('gcc-libs') pkgdesc="Base libraries from ILM for OpenEXR" arch=(i686 x86_64 mips64el) +url="http://www.openexr.com" license=('custom') options=('!libtool') -source=(http://savannah.nongnu.org/download/openexr/$pkgname-$pkgver.tar.gz - tests-compile-fixes.patch) -url="http://www.openexr.com" -md5sums=('26c133ee8ca48e1196fbfb3ffe292ab4' - '2687ab9ac01b417ee5cf8c0174b72e43') +source=(https://github.com/downloads/openexr/openexr/$pkgname-$pkgver.tar.gz + ilmbase-IexMath.patch) +md5sums=('d99962ec7e2bfac0647aaabf6b91d5de' + '9c8efaf15f60bccf79749ec879657962') build() { - cd ${srcdir}/$pkgname-$pkgver - patch -Np1 -i ${srcdir}/tests-compile-fixes.patch + cd "${srcdir}/$pkgname-$pkgver" + patch -p0 -i "${srcdir}/ilmbase-IexMath.patch" ./configure --prefix=/usr make } check() { - cd ${srcdir}/$pkgname-$pkgver + 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 + cd "${srcdir}/$pkgname-$pkgver" + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } diff --git a/extra/ilmbase/ilmbase-IexMath.patch b/extra/ilmbase/ilmbase-IexMath.patch new file mode 100644 index 000000000..546034966 --- /dev/null +++ b/extra/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> |