Skip to content

Commit

Permalink
dev-php/pecl-imagick: fix tests
Browse files Browse the repository at this point in the history
media-gfx/imagemagick[hdri] is required to pass test
274_imagick_setImageAlpha.phpt.

Closes: https://bugs.gentoo.org/737876
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <[email protected]>
  • Loading branch information
Whissi committed Jun 18, 2021
1 parent 2cfe198 commit 6bf11ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dev-php/pecl-imagick/pecl-imagick-3.4.4.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="7"
Expand All @@ -21,6 +21,6 @@ RESTRICT="!test? ( test )"
# https://github.com/mkoppanen/imagick#openmp
RDEPEND=">=media-gfx/imagemagick-6.2.4:=[-openmp]"
DEPEND="${RDEPEND}
test? ( >=media-gfx/imagemagick-6.2.4:=[jpeg,png,svg,truetype,xml] )"
test? ( >=media-gfx/imagemagick-6.2.4:=[hdri,jpeg,png,svg,truetype,xml] )"

PHP_EXT_ECONF_ARGS="--with-imagick=${EPREFIX}/usr"
2 changes: 1 addition & 1 deletion dev-php/pecl-imagick/pecl-imagick-3.5.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RESTRICT="!test? ( test )"
# https://github.com/Imagick/imagick#openmp
RDEPEND=">=media-gfx/imagemagick-6.2.4:=[-openmp]"
DEPEND="${RDEPEND}
test? ( >=media-gfx/imagemagick-6.2.4:=[jpeg,png,svg,truetype,xml] )"
test? ( >=media-gfx/imagemagick-6.2.4:=[hdri,jpeg,png,svg,truetype,xml] )"

PHP_EXT_ECONF_ARGS="--with-imagick=${EPREFIX}/usr"

Expand Down

0 comments on commit 6bf11ad

Please sign in to comment.