dev-php/pecl-imagick: tests need imagemagick[-hardened,fontconfig]

Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Michael Orlitzky 2025-12-20 18:54:59 -05:00
parent a327ea3b13
commit de1195e18e
No known key found for this signature in database
GPG Key ID: 6F48D3DA05C2DADB

View File

@ -23,9 +23,14 @@ RESTRICT="!test? ( test )"
# 547922) has been dropped in v3.8.0 due to popular demand. With any
# luck, enough time has passed that these segfaults no longer occur.
RDEPEND="media-gfx/imagemagick:="
# While it does support skipping tests, the test suite for pecl-imagick
# doesn't accomodate many imagemagick build options. We could curate a
# list of tests to remove in src_prepare() based on what USE flags are
# set, but in my opinion, it would break too frequently.
DEPEND="
${RDEPEND}
test? ( media-gfx/imagemagick:=[hdri,jpeg,png,svg,truetype,xml] )
test? ( media-gfx/imagemagick:=[fontconfig,-hardened,hdri,jpeg,png,svg,truetype,xml] )
"
PHP_EXT_ECONF_ARGS="--with-imagick=${EPREFIX}/usr"