diff options
Diffstat (limited to 'libre/openimageio/PKGBUILD')
-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: |