From bc8118fb63d62b64bd76e6402f7d35b8d6a3cc7e Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Fri, 12 Sep 2014 10:42:44 -0300 Subject: openimageio: rebuild without giflib-lts and opencolorio --- libre/openimageio/PKGBUILD | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'libre/openimageio') 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: -- cgit v1.2.3-54-g00ecf