From 8312ce4d4c676773c690771295303242656e4e22 Mon Sep 17 00:00:00 2001 From: henderkes Date: Sat, 31 May 2025 22:17:06 +0700 Subject: [PATCH] add ext-xz and ext-brotli --- config/ext.json | 16 ++++++++++++++++ config/source.json | 20 ++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/config/ext.json b/config/ext.json index 0dca824b..fc8fb667 100644 --- a/config/ext.json +++ b/config/ext.json @@ -24,6 +24,14 @@ "bcmath": { "type": "builtin" }, + "brotli": { + "type": "external", + "source": "ext-brotli", + "arg-type": "enable", + "lib-depends": [ + "brotli" + ] + }, "bz2": { "type": "builtin", "arg-type-unix": "with-prefix", @@ -1044,6 +1052,14 @@ "dom" ] }, + "xz": { + "type": "external", + "source": "ext-xz", + "arg-type": "with", + "lib-depends": [ + "xz" + ] + }, "yac": { "support": { "BSD": "wip" diff --git a/config/source.json b/config/source.json index a4b25cb8..796e96f5 100644 --- a/config/source.json +++ b/config/source.json @@ -102,6 +102,16 @@ "path": "LICENSE" } }, + "ext-brotli": { + "type": "git", + "path": "php-src/ext/brotli", + "rev": "master", + "url": "https://github.com/kjdev/php-ext-brotli", + "license": { + "type": "file", + "path": "LICENSE" + } + }, "ext-ds": { "type": "url", "url": "https://pecl.php.net/get/ds", @@ -230,6 +240,16 @@ "path": "LICENSE" } }, + "ext-xz": { + "type": "git", + "path": "php-src/ext/xz", + "rev": "main", + "url": "https://github.com/codemasher/php-ext-xz", + "license": { + "type": "file", + "path": "LICENSE" + } + }, "ext-zstd": { "type": "git", "path": "php-src/ext/zstd",