diff options
Diffstat (limited to 'extra/imagemagick/PKGBUILD')
-rw-r--r-- | extra/imagemagick/PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/imagemagick/PKGBUILD b/extra/imagemagick/PKGBUILD index 5b7cfa23c..0ffe293fe 100644 --- a/extra/imagemagick/PKGBUILD +++ b/extra/imagemagick/PKGBUILD @@ -5,12 +5,13 @@ pkgbase=imagemagick pkgname=('imagemagick' 'imagemagick-doc') pkgver=6.8.8.6 pkgrel=1 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.imagemagick.org/" license=('custom') makedepends=('libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'ghostscript' 'openexr' 'libwmf' 'librsvg' 'libxml2' 'liblqr' - 'opencl-headers' 'libcl' 'libwebp') + 'libwebp') +[ "$CARCH" != "mips64el" ] && makedepends+=('opencl-headers' 'libcl') #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) @@ -29,6 +30,7 @@ build() { cd ImageMagick-${pkgver%.*}-${pkgver##*.} [[ $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 \ @@ -69,6 +71,7 @@ package_imagemagick() { "etc/ImageMagick-${pkgver%%.*}/type-ghostscript.xml" "etc/ImageMagick-${pkgver%%.*}/type-windows.xml") options=('!docs' 'libtool' '!emptydirs') + [ "$CARCH" != "mips64el" ] && depends+=('libcl') cd ImageMagick-${pkgver%.*}-${pkgver##*.} make -j1 DESTDIR="${pkgdir}" install |