summaryrefslogtreecommitdiff
path: root/extra/imagemagick/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/imagemagick/PKGBUILD')
-rw-r--r--extra/imagemagick/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/extra/imagemagick/PKGBUILD b/extra/imagemagick/PKGBUILD
index a1f73f8bb..1e30e166c 100644
--- a/extra/imagemagick/PKGBUILD
+++ b/extra/imagemagick/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 195181 2013-09-26 23:04:47Z eric $
+# $Id: PKGBUILD 198752 2013-11-03 00:30:32Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgbase=imagemagick
pkgname=('imagemagick' 'imagemagick-doc')
-pkgver=6.8.7.0
-pkgrel=1
+pkgver=6.8.7.4
+pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
url="http://www.imagemagick.org/"
license=('custom')
@@ -14,7 +14,7 @@ makedepends=('libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'ghostscript' \
#source=(http://www.imagemagick.org/download/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz{,.asc} \
source=(ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz{,.asc} \
perlmagick.rpath.patch)
-sha1sums=('e7f5bc0cb03a16fb1b7c278c63bf4ac81e1642b2'
+sha1sums=('88e936a1738967d078a9500f430e9017400a05e9'
'SKIP'
'e143cf9d530fabf3b58023899b5cc544ba93daec')
@@ -27,13 +27,16 @@ prepare() {
build() {
cd ImageMagick-${pkgver%.*}-${pkgver##*.}
- [ "$CARCH" != "mips64el" ] && extraconf="--enable-opencl"
- ./configure --prefix=/usr --sysconfdir=/etc --with-modules --disable-static \
+ [[ $CARCH = "i686" ]] && EXTRAOPTS="--with-gcc-arch=i686"
+ [[ $CARCH = "x86_64" ]] && EXTRAOPTS="--with-gcc-arch=x86-64"
+ [ "$CARCH" != "mips64el" ] && EXTRAOPTS="--enable-opencl"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --with-modules \
--enable-hdri --with-wmf --with-openexr --with-xml --with-lcms2 --with-jp2 \
--with-webp --with-gslib --with-gs-font-dir=/usr/share/fonts/Type1 \
--with-perl --with-perl-options="INSTALLDIRS=vendor" --with-lqr --with-rsvg \
- --without-gvc --without-djvu --without-autotrace \
- --without-jbig --without-fpx --without-dps --without-fftw $extraconf
+ --enable-opencl --without-gvc --without-djvu --without-autotrace \
+ --without-jbig --without-fpx --without-dps --without-fftw $EXTRAOPTS
make
}