diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-12 10:42:44 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-12 10:42:44 -0300 |
commit | bc8118fb63d62b64bd76e6402f7d35b8d6a3cc7e (patch) | |
tree | f05786a75da251177ef8051ff57723582c30654f /libre/openimageio | |
parent | 52557cdc52011f4e74656dc011b78319d019f899 (diff) |
openimageio: rebuild without giflib-lts and opencolorio
Diffstat (limited to 'libre/openimageio')
-rw-r--r-- | libre/openimageio/PKGBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/libre/openimageio/PKGBUILD b/libre/openimageio/PKGBUILD index f60f498cb..86538c3f6 100644 --- a/libre/openimageio/PKGBUILD +++ b/libre/openimageio/PKGBUILD @@ -4,12 +4,12 @@ pkgname=openimageio pkgver=1.4.12 -pkgrel=3.parabola1 +pkgrel=3.parabola2 pkgdesc='A library for reading and writing images, including classes, utilities, and applications (built for the blender package)' arch=('i686' 'x86_64' 'mips64el') url="http://www.$pkgname.org/" license=('custom') -depends=('boost-libs' 'freetype2' 'glew' 'libtiff' 'libwebp' 'openjpeg' 'opencolorio' 'openexr' 'giflib-lts') # add giflib-lts to build pkg +depends=('boost-libs' 'freetype2' 'glew' 'libtiff' 'libwebp' 'openjpeg' 'openexr') # 'opencolorio' makedepends=('boost' 'cmake' 'git' 'python2' 'qt4') optdepends=('qt4: iv image viewer' 'python2: bindings support') @@ -35,9 +35,8 @@ prepare() { sed -i 's|[{]uname[}][,]linux]|{uname -o},GNU/kFreeBSD|;\|platform| s|linux|GNU/kFreeBSD|i ' src/make/detectplatform.mk - # gif lts - sed -i 's|gif_lib[.]h|gif_lib-lts.h| - ' src/gif.imageio/gifinput.cpp + # fix for giflib 5.1 + sed -i 's|DGifCloseFile [(]m_gif_file[)] == GIF_ERROR|DGifCloseFile (m_gif_file, 0) == GIF_ERROR|' src/gif.imageio/gifinput.cpp } build() { @@ -61,8 +60,7 @@ package() { make DESTDIR=$pkgdir install # license - cd .. - install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + install -Dm644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE } # vim:set ts=2 sw=2 et: |