mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
dev-php/pecl-brotli: update to 0.16.0 & support php-8.4 drop php-8.1
Signed-off-by: Rahil Bhimjiani <me@rahil.rocks> Closes: https://github.com/gentoo/gentoo/pull/41077 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
parent
da0ee629cf
commit
a830fe20ab
@ -1 +1,2 @@
|
||||
DIST pecl-brotli-0.15.0.tgz 468436 BLAKE2B 865f1e970157ac1fead313e63133c74b48ef8fc1d916ea1efbba74186f6ba2b9c3e93b67f842df40b3399713c5bef3d62a15dda0f626a0c9a3b0a956c763a9eb SHA512 0e3be424eace7ed50f67dac780fa55c0fa6da1265676cea12588d8713ec6636936379a543bde48f7b30054aeda038200a3f650259e2da589f642447125b32e6a
|
||||
DIST pecl-brotli-0.16.0.tgz 470378 BLAKE2B 5a64b86a4ef53badafdb55e67d9e5b508123604c0317aaa4c827c6534f71232b2e2cdca378d970be35bcd12a9b74c18fc3064ed6639ba7f2384a905107134942 SHA512 c8876afe320eb18a6073e0441ad1e17bbe5ff967f9a4c774e775fb23904f676974b328716651f93e893aebbcc9b1550e1276cd7eab08189aab2fe88828d9bde3
|
||||
|
||||
41
dev-php/pecl-brotli/pecl-brotli-0.16.0.ebuild
Normal file
41
dev-php/pecl-brotli/pecl-brotli-0.16.0.ebuild
Normal file
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_PHP="php8-2 php8-3 php8-4"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
unset SRC_URI
|
||||
PHP_EXT_PECL_PKG_V="${PHP_EXT_PECL_PKG}-${PV/_/}"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/kjdev/php-ext-brotli.git"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${PHP_EXT_PECL_PKG_V}"
|
||||
EGIT_SUBMODULES=()
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://pecl.php.net/get/${PHP_EXT_PECL_PKG_V}.tgz -> ${P}.tgz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Brotli compression extension for PHP"
|
||||
HOMEPAGE+=" https://github.com/kjdev/php-ext-brotli"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/0.16"
|
||||
|
||||
RDEPEND="app-arch/brotli:="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PHP_EXT_ECONF_ARGS=(
|
||||
--with-libbrotli
|
||||
)
|
||||
|
||||
src_test(){
|
||||
export SKIP_ONLINE_TESTS="yes"
|
||||
php-ext-pecl-r3_src_test
|
||||
unset SKIP_ONLINE_TESTS
|
||||
}
|
||||
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_PHP="php8-1 php8-2 php8-3"
|
||||
USE_PHP="php8-2 php8-3 php8-4"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
@ -24,7 +24,7 @@ DESCRIPTION="Brotli compression extension for PHP"
|
||||
HOMEPAGE+=" https://github.com/kjdev/php-ext-brotli"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
SLOT="0/0.16"
|
||||
|
||||
RDEPEND="app-arch/brotli:="
|
||||
DEPEND="${RDEPEND}"
|
||||
@ -33,3 +33,9 @@ BDEPEND="virtual/pkgconfig"
|
||||
PHP_EXT_ECONF_ARGS=(
|
||||
--with-libbrotli
|
||||
)
|
||||
|
||||
src_test(){
|
||||
export SKIP_ONLINE_TESTS="yes"
|
||||
php-ext-pecl-r3_src_test
|
||||
unset SKIP_ONLINE_TESTS
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user