aboutsummaryrefslogtreecommitdiffstats
path: root/community/imagemagick/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/imagemagick/APKBUILD')
-rw-r--r--community/imagemagick/APKBUILD51
1 files changed, 40 insertions, 11 deletions
diff --git a/community/imagemagick/APKBUILD b/community/imagemagick/APKBUILD
index 4727e19274..905fbe869a 100644
--- a/community/imagemagick/APKBUILD
+++ b/community/imagemagick/APKBUILD
@@ -3,19 +3,34 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=imagemagick
_pkgname=ImageMagick
-pkgver=7.0.11.1
+pkgver=7.1.0.0
pkgrel=0
_pkgver=${pkgver%.*}-${pkgver##*.}
_abiver=7
pkgdesc="Collection of tools and libraries for many image formats"
-url="https://www.imagemagick.org/"
-arch="all"
+url="https://imagemagick.org/"
+# riscv64 blocked by librsvg
+arch="all !riscv64"
license="ImageMagick"
options="libtool"
-makedepends="zlib-dev libpng-dev libjpeg-turbo-dev freetype-dev fontconfig-dev
- perl-dev ghostscript-dev libtool tiff-dev lcms2-dev
- libwebp-dev libxml2-dev libx11-dev libxext-dev chrpath
- libheif-dev"
+makedepends="
+ chrpath
+ fontconfig-dev
+ freetype-dev
+ ghostscript-dev
+ lcms2-dev
+ libheif-dev
+ libjpeg-turbo-dev
+ libpng-dev
+ libtool
+ libwebp-dev
+ libx11-dev
+ libxext-dev
+ libxml2-dev
+ perl-dev
+ tiff-dev
+ zlib-dev
+ "
case "$CARCH" in
s390x) ;;
@@ -33,12 +48,24 @@ subpackages="
$pkgname-perlmagick:_perlmagick
$pkgname-perlmagick-doc:_perlmagick_doc
"
-source="$_pkgname-$_pkgver.tar.gz::https://github.com/ImageMagick/ImageMagick/archive/$_pkgver.tar.gz
- disable-avaraging-tests.patch"
+source="https://download.imagemagick.org/ImageMagick/download/ImageMagick-$_pkgver.tar.xz
+ disable-avaraging-tests.patch
+ "
builddir="$srcdir/$_pkgname-$_pkgver"
# secfixes:
# 7.0.11.1-r0:
+# - CVE-2021-20241
+# - CVE-2021-20243
+# - CVE-2021-20244
+# - CVE-2021-20245
+# - CVE-2021-20246
+# - CVE-2021-20309
+# - CVE-2021-20310
+# - CVE-2021-20311
+# - CVE-2021-20312
+# - CVE-2021-20313
+# 7.0.10.57-r0:
# - CVE-2021-20176
# 7.0.10.42-r0:
# - CVE-2020-29599
@@ -181,5 +208,7 @@ _perlmagick_doc() {
make -j1 DESTDIR="$subpkgdir" doc_vendor_install
}
-sha512sums="f8a8d9411b61ef8deefad9db5bdd4cb2c8ca0468482f18a6295153d6d1fd285823b33851b1b0f85c129694046dbba51dc0cfb54374bcf27812dce787cb78a5da ImageMagick-7.0.11-1.tar.gz
-58afb2da075a6208b6a990ff297b3a827d260687c3355198a8b4d987e1596c0b0cd78aff6f0be0e1896e537fbe44a3d467473183f5f149664ea6e6fb3d3291a9 disable-avaraging-tests.patch"
+sha512sums="
+51a52ee2c09bb8ea276445393cc2f3398a54c10047d58eaea29a1a1d231ddae0fc00d81b930f299661fed0a3940c08e8c9f0b3932ffd46128186348ebb89fb00 ImageMagick-7.1.0-0.tar.xz
+58afb2da075a6208b6a990ff297b3a827d260687c3355198a8b4d987e1596c0b0cd78aff6f0be0e1896e537fbe44a3d467473183f5f149664ea6e6fb3d3291a9 disable-avaraging-tests.patch
+"