From 39e2779b79f061e4b534f5ba8a7a1c3de2916146 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Thu, 9 Nov 2023 00:35:01 +0800 Subject: [PATCH] add extension rar --- config/ext.json | 5 +++++ config/source.json | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/config/ext.json b/config/ext.json index 778afe0e..ab3f18d2 100644 --- a/config/ext.json +++ b/config/ext.json @@ -277,6 +277,11 @@ "sqlite" ] }, + "rar": { + "type": "external", + "source": "rar", + "cpp-extension": true + }, "pgsql": { "type": "builtin", "arg-type": "with-prefix", diff --git a/config/source.json b/config/source.json index cd849f86..7d35661e 100644 --- a/config/source.json +++ b/config/source.json @@ -51,6 +51,16 @@ "path": "LICENSE" } }, + "rar": { + "type": "git", + "url": "https://github.com/static-php/php-rar.git", + "path": "php-src/ext/rar", + "rev": "issue-php82", + "license": { + "type": "file", + "path": "LICENSE" + } + }, "ext-glfw": { "type": "git", "url": "https://github.com/mario-deluna/php-glfw",