From 94028bb81f0f17f74fc1b456d44db18c5dddf947 Mon Sep 17 00:00:00 2001 From: J0WI Date: Thu, 16 Apr 2020 22:39:03 +0200 Subject: community/imagemagick6: enable on arches without librsvg --- community/imagemagick6/APKBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/community/imagemagick6/APKBUILD b/community/imagemagick6/APKBUILD index ca9c35b3e2..1ce6a5c5b7 100644 --- a/community/imagemagick6/APKBUILD +++ b/community/imagemagick6/APKBUILD @@ -6,16 +6,23 @@ _pkgname=ImageMagick6 pkgver=6.9.11.6 _pkgver=${pkgver%.*}-${pkgver##*.} _abiver=${pkgname#imagemagick} -pkgrel=0 +pkgrel=1 pkgdesc="A collection of tools and libraries for many image formats (legacy version $_abiver)" url="https://www.imagemagick.org/" -arch="all !s390x !mips !mips64" # librsvg +arch="all" license="Apache-2.0" options="libtool" depends_dev="!${pkgname%$_abiver}-dev" makedepends="fontconfig-dev freetype-dev ghostscript-dev lcms2-dev - libjpeg-turbo-dev libpng-dev librsvg-dev libtool libxml2-dev tiff-dev + libjpeg-turbo-dev libpng-dev libtool libxml2-dev tiff-dev zlib-dev" + +case "$CARCH" in + s390x) ;; + mips*) options="!check" ;; + *) makedepends="$makedepends librsvg-dev" ;; +esac + checkdepends="freetype fontconfig ghostscript ghostscript-fonts lcms2 graphviz" subpackages="$pkgname-doc $pkgname-dev $pkgname-c++:_cxx $pkgname-libs" source="$_pkgname-$_pkgver.tar.gz::https://github.com/ImageMagick/ImageMagick6/archive/$_pkgver.tar.gz" -- cgit v1.2.3