diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-22 00:06:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-22 00:06:25 +0100 |
commit | 236e75597883501f8700d9ba1a5c8276f578a17f (patch) | |
tree | 6b441a1dfa3a82840e3aa74678cc90c5294a4bca /dev-php/pecl-brotli | |
parent | bfd63d5b0e96ad32e0d0a8fe15512b6a9ac6fc9e (diff) |
gentoo auto-resync : 22:05:2024 - 00:06:25
Diffstat (limited to 'dev-php/pecl-brotli')
-rw-r--r-- | dev-php/pecl-brotli/Manifest | 4 | ||||
-rw-r--r-- | dev-php/pecl-brotli/metadata.xml | 17 | ||||
-rw-r--r-- | dev-php/pecl-brotli/pecl-brotli-0.15.0.ebuild | 35 | ||||
-rw-r--r-- | dev-php/pecl-brotli/pecl-brotli-9999.ebuild | 35 |
4 files changed, 91 insertions, 0 deletions
diff --git a/dev-php/pecl-brotli/Manifest b/dev-php/pecl-brotli/Manifest new file mode 100644 index 000000000000..af2129bcc330 --- /dev/null +++ b/dev-php/pecl-brotli/Manifest @@ -0,0 +1,4 @@ +DIST pecl-brotli-0.15.0.tgz 468436 BLAKE2B 865f1e970157ac1fead313e63133c74b48ef8fc1d916ea1efbba74186f6ba2b9c3e93b67f842df40b3399713c5bef3d62a15dda0f626a0c9a3b0a956c763a9eb SHA512 0e3be424eace7ed50f67dac780fa55c0fa6da1265676cea12588d8713ec6636936379a543bde48f7b30054aeda038200a3f650259e2da589f642447125b32e6a +EBUILD pecl-brotli-0.15.0.ebuild 765 BLAKE2B 7a678d86665458d770bc018be32bd8f03d134b4a28997505ac935cc5e3d04e4e1a2101c013dd3958b00e7bafb34cc4012389cba02a65bf23e4a152a42de83382 SHA512 8072feb2de66aa03d5e92abae6fb854c10c86b36c2bef3fe5d9c8948ba350a47266d6d06d2af2bcf48e44dee85421f564c22d1e925ee1485bbd7af651b0c20a5 +EBUILD pecl-brotli-9999.ebuild 765 BLAKE2B 7a678d86665458d770bc018be32bd8f03d134b4a28997505ac935cc5e3d04e4e1a2101c013dd3958b00e7bafb34cc4012389cba02a65bf23e4a152a42de83382 SHA512 8072feb2de66aa03d5e92abae6fb854c10c86b36c2bef3fe5d9c8948ba350a47266d6d06d2af2bcf48e44dee85421f564c22d1e925ee1485bbd7af651b0c20a5 +MISC metadata.xml 621 BLAKE2B 373dc24ac7256264a8c9caa87fb6ed5b6c15cb514dde26c5a0537f90f7a84c87f485413dae2af1144e5786ef9b93beac8f6875b659c244554f93a3a1ff79ed1e SHA512 8a221ef9dad0d3f2c0cae478528dec36a28a308eb59af1b2c4e34ad31a3001027950d55d38708cc6f20aae7b2f28d9df2daeed7d0fd98630b5946d66ab72e3c7 diff --git a/dev-php/pecl-brotli/metadata.xml b/dev-php/pecl-brotli/metadata.xml new file mode 100644 index 000000000000..dca5b6092a4e --- /dev/null +++ b/dev-php/pecl-brotli/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>me@rahil.rocks</email> + <name>Rahil Bhimjiani</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">kjdev/php-ext-brotli</remote-id> + <bugs-to>https://github.com/kjdev/php-ext-brotli/issues</bugs-to> + <doc>https://github.com/kjdev/php-ext-brotli/blob/master/README.md</doc> + </upstream> +</pkgmetadata> diff --git a/dev-php/pecl-brotli/pecl-brotli-0.15.0.ebuild b/dev-php/pecl-brotli/pecl-brotli-0.15.0.ebuild new file mode 100644 index 000000000000..605396f97a83 --- /dev/null +++ b/dev-php/pecl-brotli/pecl-brotli-0.15.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_PHP="php8-1 php8-2 php8-3" + +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" + +RDEPEND="app-arch/brotli:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PHP_EXT_ECONF_ARGS=( + --with-libbrotli +) diff --git a/dev-php/pecl-brotli/pecl-brotli-9999.ebuild b/dev-php/pecl-brotli/pecl-brotli-9999.ebuild new file mode 100644 index 000000000000..605396f97a83 --- /dev/null +++ b/dev-php/pecl-brotli/pecl-brotli-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_PHP="php8-1 php8-2 php8-3" + +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" + +RDEPEND="app-arch/brotli:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PHP_EXT_ECONF_ARGS=( + --with-libbrotli +) |