diff --git a/config/ext.json b/config/ext.json index 3134ab7b..c47d53fd 100644 --- a/config/ext.json +++ b/config/ext.json @@ -43,6 +43,19 @@ "calendar": { "type": "builtin" }, + "clickhouse": { + "support": { + "Windows": "wip", + "BSD": "wip" + }, + "type": "external", + "source": "ext-clickhouse", + "arg-type": "custom", + "cpp-extension": true, + "lib-suggests": [ + "openssl" + ] + }, "com_dotnet": { "support": { "BSD": "no", @@ -160,6 +173,30 @@ "exif": { "type": "builtin" }, + "fastchart": { + "support": { + "Windows": "wip", + "BSD": "wip" + }, + "type": "external", + "source": "ext-fastchart", + "lib-depends": [ + "freetype" + ], + "lib-suggests": [ + "libpng", + "libjpeg", + "libwebp" + ] + }, + "fastjson": { + "support": { + "Windows": "wip", + "BSD": "wip" + }, + "type": "external", + "source": "ext-fastjson" + }, "ffi": { "support": { "Linux": "partial", diff --git a/config/source.json b/config/source.json index 258b35e3..2d918057 100644 --- a/config/source.json +++ b/config/source.json @@ -133,6 +133,16 @@ "path": "LICENSE" } }, + "ext-clickhouse": { + "type": "ghtagtar", + "repo": "iliaal/php_clickhouse", + "match": "tarball/refs/tags/\\d", + "path": "php-src/ext/clickhouse", + "license": { + "type": "file", + "path": "LICENSE" + } + }, "ext-ds": { "type": "url", "url": "https://pecl.php.net/get/ds", @@ -162,6 +172,24 @@ "path": "LICENSE" } }, + "ext-fastchart": { + "type": "ghtagtar", + "repo": "iliaal/fastchart", + "path": "php-src/ext/fastchart", + "license": { + "type": "file", + "path": "LICENSE" + } + }, + "ext-fastjson": { + "type": "ghtagtar", + "repo": "iliaal/fastjson", + "path": "php-src/ext/fastjson", + "license": { + "type": "file", + "path": "LICENSE" + } + }, "ext-glfw": { "type": "git", "url": "https://github.com/mario-deluna/php-glfw", diff --git a/src/SPC/builder/extension/clickhouse.php b/src/SPC/builder/extension/clickhouse.php new file mode 100644 index 00000000..279bb5a2 --- /dev/null +++ b/src/SPC/builder/extension/clickhouse.php @@ -0,0 +1,21 @@ +builder->getLib('openssl')) { + $arg .= ' --enable-clickhouse-openssl'; + } + return $arg; + } +}