From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0569D15800A for ; Thu, 31 Aug 2023 01:17:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B0C82BC016; Thu, 31 Aug 2023 01:17:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D8C32BC016 for ; Thu, 31 Aug 2023 01:17:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1436D335D74 for ; Thu, 31 Aug 2023 01:17:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6F064B84 for ; Thu, 31 Aug 2023 01:16:58 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1693444162.a3ad40add0455c18f4429b1c5f97c35737aab357.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-imagick/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/pecl-imagick/pecl-imagick-3.7.0-r2.ebuild X-VCS-Directories: dev-php/pecl-imagick/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: a3ad40add0455c18f4429b1c5f97c35737aab357 X-VCS-Branch: master Date: Thu, 31 Aug 2023 01:16:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bc587e90-4e7e-494b-a1ac-6ca1683cd041 X-Archives-Hash: bd5e36afe09c21d569afdac952533513 commit: a3ad40add0455c18f4429b1c5f97c35737aab357 Author: Michael Orlitzky gentoo org> AuthorDate: Thu Aug 31 01:09:22 2023 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Thu Aug 31 01:09:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ad40ad dev-php/pecl-imagick: require USE="-debug" for dev-lang/php Upstream knows about the issue but there hasn't been any movement on it and the incompatibility breaks the test suite, so let's work around it. Closes: https://bugs.gentoo.org/911661 Signed-off-by: Michael Orlitzky gentoo.org> dev-php/pecl-imagick/pecl-imagick-3.7.0-r2.ebuild | 34 +++++++++++++++++++++++ 1 file changed, 34 insertions(+) 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" +}