From c349837cf50fa7e0a6fefeacadfd662457aaf598 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 15 Dec 2023 10:39:38 +0100 Subject: [PATCH] Add support for imagick on Alpine 3.19 (#856) --- data/special-requirements | 1 - install-php-extensions | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/data/special-requirements b/data/special-requirements index e8b9119..9c45e5c 100644 --- a/data/special-requirements +++ b/data/special-requirements @@ -2,7 +2,6 @@ cassandra !jessie !stretch !buster !bullseye !bookworm ddtrace !jessie ecma_intl !buster !bullseye geos !alpine3.9 !alpine3.10 -imagick !alpine3.19 lz4 !jessie memprof !alpine3.9 !alpine3.10 !alpine3.11 !alpine3.12 !alpine3.13 !alpine3.14 !alpine3.15 parallel zts diff --git a/install-php-extensions b/install-php-extensions index fe93408..751bb8e 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -941,6 +941,9 @@ buildRequiredPackageLists() { imagick@alpine) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent imagemagick libgomp" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile imagemagick-dev" + if [ $DISTRO_MAJMIN_VERSION -ge 319 ]; then + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent ghostscript libheif libjxl libraw librsvg" + fi ;; imagick@debian) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent ^libmagickwand-6.q16-[0-9]+$ ^libmagickcore-6.q16-[0-9]+-extra$"