Commit 9347f48f authored by Andy Postnikov's avatar Andy Postnikov

community/php7-pecl-imagick: add imagemagick dependency as no formats supported without it

Fixes #11522
parent e114f3ef
Pipeline #18166 passed with stages
in 3 minutes and 51 seconds
......@@ -3,12 +3,12 @@
pkgname=php7-pecl-imagick
_pkgreal=imagick
pkgver=3.4.4
pkgrel=3
pkgrel=4
pkgdesc="PHP extension provides a wrapper to the ImageMagick library - PECL"
url="https://pecl.php.net/package/imagick"
arch="all"
license="PHP-3.01"
depends="php7-common"
depends="php7-common imagemagick"
checkdepends="ghostscript-fonts"
makedepends="php7-dev autoconf libtool imagemagick-dev pcre2-dev re2c"
subpackages="$pkgname-dev"
......@@ -30,18 +30,17 @@ build() {
}
check() {
rm tests/150_Imagick_setregistry.phpt # no exception thrown
rm tests/229_Tutorial_fxAnalyzeImage_case1.phpt # time out
rm tests/236_Imagick_identify_basic.phpt # coredump https://bugs.php.net/bug.php?id=59444
rm -f tests/150_Imagick_setregistry.phpt # no exception thrown
rm -f tests/229_Tutorial_fxAnalyzeImage_case1.phpt # time out
rm -f tests/236_Imagick_identify_basic.phpt # coredump https://bugs.php.net/bug.php?id=59444
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
}
package() {
local confdir="$pkgdir/etc/php7/conf.d"
make INSTALL_ROOT="$pkgdir" install
local confdir="$pkgdir/etc/php7/conf.d"
mkdir -p "$confdir"
echo "extension=$_pkgreal.so" > "$confdir"/$_pkgreal.ini
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment