summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-12 10:42:44 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-12 10:42:44 -0300
commitbc8118fb63d62b64bd76e6402f7d35b8d6a3cc7e (patch)
treef05786a75da251177ef8051ff57723582c30654f
parent52557cdc52011f4e74656dc011b78319d019f899 (diff)
openimageio: rebuild without giflib-lts and opencolorio
-rw-r--r--libre/openimageio/PKGBUILD12
-rw-r--r--libre/pacman-mirrorlist/PKGBUILD2
2 files changed, 6 insertions, 8 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:
diff --git a/libre/pacman-mirrorlist/PKGBUILD b/libre/pacman-mirrorlist/PKGBUILD
index f35adafcc..edff7d792 100644
--- a/libre/pacman-mirrorlist/PKGBUILD
+++ b/libre/pacman-mirrorlist/PKGBUILD
@@ -21,4 +21,4 @@ package() {
install -m644 $srcdir/mirrorlist-${pkgver}.txt $pkgdir/etc/pacman.d/mirrorlist
}
-md5sums=('31c810b4eb182ee2d96243d65c8915df')
+md5sums=('617387fe7dae1bffecb23d487d0449c5')