summaryrefslogtreecommitdiff
path: root/dev-php/pecl-imagick
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-31 04:10:05 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-31 04:10:05 +0100
commit025c71a90f259ca9319b4caa92495e43acf489b0 (patch)
tree63ba67fc666bfe4fdc21e49e319562fa7d545590 /dev-php/pecl-imagick
parent5685192438444645b599ae1b567d1b73103fba7f (diff)
gentoo auto-resync : 31:08:2023 - 04:10:05
Diffstat (limited to 'dev-php/pecl-imagick')
-rw-r--r--dev-php/pecl-imagick/Manifest3
-rw-r--r--dev-php/pecl-imagick/metadata.xml3
-rw-r--r--dev-php/pecl-imagick/pecl-imagick-3.7.0-r2.ebuild34
3 files changed, 39 insertions, 1 deletions
diff --git a/dev-php/pecl-imagick/Manifest b/dev-php/pecl-imagick/Manifest
index 8465501f94e8..10bd0ddef354 100644
--- a/dev-php/pecl-imagick/Manifest
+++ b/dev-php/pecl-imagick/Manifest
@@ -1,3 +1,4 @@
DIST imagick-3.7.0.tgz 360138 BLAKE2B 2c149f2ec771df92789d67e88c6f7180d3da7c9182561432bdd4e0a83f96982cc8fc95bc1a003e05e37a54fabe6ab0fe693a6b9208d2e481d36e6c334aeee023 SHA512 c84408e4e4a0c46d979240e06d58d264c6bb21f3b95e3d434c8a21cd808f6c495fd453ef9c07b5c44dac81c6f205b6697f8ecaf1a65a86ce4e9052328a389ebe
EBUILD pecl-imagick-3.7.0-r1.ebuild 868 BLAKE2B cad4287946468965269a31eaed47485fccb70f05c9f3e1e72dd0a1430082fc5d872293a0f1b5602fe98277c8b2d7c58f5836b69ff5008680cd294ca54587d0b8 SHA512 230fadfea137a7a2bb30207dc26ae5a3dfc308f946a7c604472dec0d150eb5fbfb33e1229f72db9ac332ffcc6449189d7759d0a20c7b804b5dc0cf5bad932c0d
-MISC metadata.xml 359 BLAKE2B d4097f49cede8e9756516f72966ca0eb1a3dae8655db21065fe2196442aa0e23b63f070b8510f031ce189620efc8b293de00266e14c120d3efe84312da737019 SHA512 c5eeeb6eb11fce27a705cd4d75719af7557a5c11cf391f7191dc482b8518a19211e114dfd82cf897a7891affbd6ff6ab4aebd00fe78e79a7d53305517664face
+EBUILD pecl-imagick-3.7.0-r2.ebuild 921 BLAKE2B 0a3a4372343e20f7a8ea1fc02fecc0f1c8d4b7a97ee64cfcda976a57cb3dae5f6a25a0a1734888b469e0ea6e5c5683201efe3fadf4ba6e8a418ce85855af9e7b SHA512 85dac684dab0452f92eab3b756cd925402187ccfda944cd0d6ead557c8a7cc4e85ca72f1f862ccf7194e7f1c8c6e979013eb88e413c32c253cb4b89b20830a19
+MISC metadata.xml 443 BLAKE2B 208b9e5262b94da1cc49b6f4666e62b6d856c10643c8dc6c1572ee641fd671a2338ceec56ca88f4c56247cd06f7d4288684ab721547d86eb3bc84bd694c5f9ef SHA512 b8d47d2293ef17d2aaaf23cb78a58df295020fd854131e53b55feb727c850bea669ed1bd24cab97c02264028b8bcd335e928b1d86702e06245c72370ccf0507c
diff --git a/dev-php/pecl-imagick/metadata.xml b/dev-php/pecl-imagick/metadata.xml
index 2dd58015e1b4..efc1a76b7775 100644
--- a/dev-php/pecl-imagick/metadata.xml
+++ b/dev-php/pecl-imagick/metadata.xml
@@ -9,4 +9,7 @@
<email>mjo@gentoo.org</email>
<name>Michael Orlitzky</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">Imagick/imagick</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-php/pecl-imagick/pecl-imagick-3.7.0-r2.ebuild b/dev-php/pecl-imagick/pecl-imagick-3.7.0-r2.ebuild
new file mode 100644
index 000000000000..865604ba0dfb
--- /dev/null
+++ b/dev-php/pecl-imagick/pecl-imagick-3.7.0-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PHP_EXT_NAME="imagick"
+USE_PHP="php8-0 php8-1 php8-2"
+
+# https://github.com/Imagick/imagick/issues/626
+PHP_EXT_NEEDED_USE="-debug"
+
+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:=[-openmp]"
+DEPEND="${RDEPEND}
+ test? ( media-gfx/imagemagick:=[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"
+}