diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-07 22:48:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-07 22:48:01 +0000 |
commit | c3bc61051d7f12b4c682efa7a5460bbc8815649e (patch) | |
tree | b6d19e96ba3c397fb8278eeb9b68170db92630ba /dev-php/pecl-imagick/pecl-imagick-3.6.0.ebuild | |
parent | 3517852e3b8a68d1e997770fc0650c5053bafc6c (diff) |
gentoo resync : 07.01.2022
Diffstat (limited to 'dev-php/pecl-imagick/pecl-imagick-3.6.0.ebuild')
-rw-r--r-- | dev-php/pecl-imagick/pecl-imagick-3.6.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-php/pecl-imagick/pecl-imagick-3.6.0.ebuild b/dev-php/pecl-imagick/pecl-imagick-3.6.0.ebuild new file mode 100644 index 000000000000..c561a81cc660 --- /dev/null +++ b/dev-php/pecl-imagick/pecl-imagick-3.6.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="imagick" +USE_PHP="php7-3 php7-4 php8-0 php8-1" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +DESCRIPTION="PHP wrapper for the ImageMagick library" +HOMEPAGE="https://pecl.php.net/package/imagick https://github.com/Imagick/imagick" +LICENSE="PHP-3.01" +SLOT="0" +IUSE="examples test" +RESTRICT="!test? ( test )" + +# imagemagick[-openmp] is needed wrt bug 547922 and upstream +# https://github.com/Imagick/imagick#openmp +RDEPEND=">=media-gfx/imagemagick-6.2.4:=[-openmp]" +DEPEND="${RDEPEND} + test? ( >=media-gfx/imagemagick-6.2.4:=[hdri,jpeg,png,svg,truetype,xml] )" + +PHP_EXT_ECONF_ARGS="--with-imagick=${EPREFIX}/usr" + +src_install() { + php-ext-pecl-r3_src_install + + php-ext-source-r3_addtoinifiles "imagick.skip_version_check" "1" +} |