aboutsummaryrefslogtreecommitdiffstats
path: root/community/php8-pecl-imagick
diff options
context:
space:
mode:
Diffstat (limited to 'community/php8-pecl-imagick')
-rw-r--r--community/php8-pecl-imagick/APKBUILD17
-rw-r--r--community/php8-pecl-imagick/fix-affineTransformImage-test.patch22
2 files changed, 7 insertions, 32 deletions
diff --git a/community/php8-pecl-imagick/APKBUILD b/community/php8-pecl-imagick/APKBUILD
index 6f5e72603f..be207bce7e 100644
--- a/community/php8-pecl-imagick/APKBUILD
+++ b/community/php8-pecl-imagick/APKBUILD
@@ -2,22 +2,18 @@
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php8-pecl-imagick
_extname=imagick
-pkgver=3.4.4
+pkgver=3.5.1
pkgrel=0
pkgdesc="PHP 8 extension provides a wrapper to the ImageMagick library - PECL"
url="https://pecl.php.net/package/imagick"
-arch="all"
+arch="all !x86" # https://gitlab.alpinelinux.org/alpine/aports/-/issues/12537
license="PHP-3.01"
depends="php8-common imagemagick"
checkdepends="ghostscript-fonts"
makedepends="php8-dev imagemagick-dev"
subpackages="$pkgname-dev"
-#source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz
-_githash="765649716faf3215b6ffca1b329e6a49aa42b24f"
-source="php-pecl-$_extname-$_githash.zip::https://github.com/Imagick/imagick/archive/$_githash.zip
- fix-affineTransformImage-test.patch
- "
-builddir="$srcdir/$_extname-$_githash"
+source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
+builddir="$srcdir/$_extname-$pkgver"
build() {
phpize8
@@ -37,5 +33,6 @@ package() {
echo "extension=$_extname" > $_confdir/$_extname.ini
}
-sha512sums="43ac41f4c839af652528c2630fdf7a09dde29a8bcfa42abd74c71e20c9a0f57a504ff7686418e14f5d159b19bdbd6cb32f6a93972226714d3da565ae104f72ca php-pecl-imagick-765649716faf3215b6ffca1b329e6a49aa42b24f.zip
-f2b4e85b6dcf750ddbb09550df7d6d456cc1a6a5842066cc05c717b99121454d31642ed6ed0fa9a02ba33021211cea784a868cd18db5e5fae49f3897cec939cd fix-affineTransformImage-test.patch"
+sha512sums="
+b922c4fad994a4bf26f4d92b6e81bb761bd8d4d1b52f4b7099cf944cdaed4e44d0318beccfb2cf3bee2605ce33b0ad764d9e3d2ba99c9a6f624ca569a4ac73ad php-pecl-imagick-3.5.1.tgz
+"
diff --git a/community/php8-pecl-imagick/fix-affineTransformImage-test.patch b/community/php8-pecl-imagick/fix-affineTransformImage-test.patch
deleted file mode 100644
index 2915a25398..0000000000
--- a/community/php8-pecl-imagick/fix-affineTransformImage-test.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Subject: https://github.com/Imagick/imagick/pull/357
-
-diff --git a/tests/031_Imagick_affineTransformImage_basic.phpt b/tests/031_Imagick_affineTransformImage_basic.phpt
-index d64fa05..27841d8 100644
---- a/tests/031_Imagick_affineTransformImage_basic.phpt
-+++ b/tests/031_Imagick_affineTransformImage_basic.phpt
-@@ -14,7 +14,7 @@ function affineTransformImage() {
- $imagick->newPseudoImage(640, 480, "magick:logo");
- $draw = new \ImagickDraw();
-
-- $angle = 40 ;
-+ $angle = deg2rad(40);
-
- $affineRotate = array(
- "sx" => cos($angle), "sy" => cos($angle),
-@@ -34,4 +34,4 @@ affineTransformImage() ;
- echo "Ok";
- ?>
- --EXPECTF--
--Ok
-\ No newline at end of file
-+Ok