From d1d1d34261a4e07a9f779d4f274ea0ce77f4dbd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20M=C3=B3zes?= Date: Mon, 18 Nov 2024 14:12:38 +0000 Subject: [PATCH] dev-php/pecl-stomp: add php 8.3 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/943650 Signed-off-by: Tomáš Mózes Closes: https://github.com/gentoo/gentoo/pull/39359 Signed-off-by: Sam James --- dev-php/pecl-stomp/pecl-stomp-2.0.3-r1.ebuild | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 dev-php/pecl-stomp/pecl-stomp-2.0.3-r1.ebuild diff --git a/dev-php/pecl-stomp/pecl-stomp-2.0.3-r1.ebuild b/dev-php/pecl-stomp/pecl-stomp-2.0.3-r1.ebuild new file mode 100644 index 0000000000000..4662ba6ae5c2e --- /dev/null +++ b/dev-php/pecl-stomp/pecl-stomp-2.0.3-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_PHP="php8-2 php8-3" +PHP_EXT_NAME="stomp" +PHP_EXT_NEEDED_USE="ssl(-)?" +DOCS=( CREDITS doc/classes.php doc/functions.php ) + +inherit php-ext-pecl-r3 + +DESCRIPTION="PHP extension to communicate with Stomp message brokers" +HOMEPAGE="https://pecl.php.net/package/stomp" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples ssl test" +RESTRICT="!test? ( test )" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-stomp + --with-openssl-dir=$(usex ssl yes no) + ) + php-ext-source-r3_src_configure +}