summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/openimageio/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/libre/openimageio/PKGBUILD b/libre/openimageio/PKGBUILD
index 76c69f762..e37ddf713 100644
--- a/libre/openimageio/PKGBUILD
+++ b/libre/openimageio/PKGBUILD
@@ -2,11 +2,10 @@
# based of Arch pkg
pkgname=openimageio
-pkgver=1.3.13
-pkgrel=2
+pkgver=1.4.10
+pkgrel=1
pkgdesc='A library for reading and writing images, including classes, utilities, and applications (built for the blender-libre package)'
arch=(
- mips64el
x86_64
i686
)
@@ -15,7 +14,7 @@ license=custom
depends=(
boost-libs
freetype2
- giflib
+ giflib-lts
glew
libjpeg-turbo
libpng
@@ -28,6 +27,7 @@ depends=(
zlib
)
makedepends=(
+ git
boost
cmake
python2
@@ -38,7 +38,7 @@ optdepends=(
'python2: bindings support'
)
source=https://github.com/OpenImageIO/oiio/archive/Release-$pkgver.tar.gz
-sha512sums=6a8061da573f43954d6df3e67f81fbf2760482ecfb062f0ccac86fee878afc74a2e886d090760836e96c9d3ee866a971b0ee1dee404a626fe341237f9e3c32f1
+sha512sums=9565544f20aac2dd0dd9940f9a615899255cf0a6a242a7ece6eeb4f509f60b0f48d3a837da5b758ab31fcec525c59a1950d2c9b7b50d05ba84cda4214c24765e
prepare() {
cd oiio-Release-$pkgver
@@ -57,6 +57,10 @@ 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
+
[[ -d build ]] && rm -r build
mkdir build
}
@@ -75,6 +79,7 @@ build() {
package() {
cd oiio-Release-$pkgver/build
+ #cd oiio/build
make DESTDIR=$pkgdir install
install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}