diff --git a/config/ext.json b/config/ext.json index c9ecf0ec..08ed6777 100644 --- a/config/ext.json +++ b/config/ext.json @@ -57,6 +57,13 @@ "qdbm" ] }, + "dio": { + "support": { + "BSD": "wip" + }, + "type": "external", + "source": "dio" + }, "dom": { "support": { "BSD": "wip" diff --git a/config/source.json b/config/source.json index 53bb3913..a3ecd8df 100644 --- a/config/source.json +++ b/config/source.json @@ -69,6 +69,16 @@ "path": "COPYING" } }, + "dio": { + "type": "url", + "url": "https://pecl.php.net/get/dio", + "path": "php-src/ext/dio", + "filename": "dio.tgz", + "license": { + "type": "file", + "path": "LICENSE" + } + }, "ext-ds": { "type": "url", "url": "https://pecl.php.net/get/ds", diff --git a/src/SPC/builder/extension/dio.php b/src/SPC/builder/extension/dio.php new file mode 100644 index 00000000..55d08480 --- /dev/null +++ b/src/SPC/builder/extension/dio.php @@ -0,0 +1,22 @@ + 'imagick', - 'Windows' => 'ast', + 'Linux', 'Darwin' => 'dio', + 'Windows' => 'dio', }; // If you want to test lib-suggests feature with extension, add them below (comma separated, example `libwebp,libavif`). @@ -51,7 +53,7 @@ $with_libs = match (PHP_OS_FAMILY) { // You can use `common`, `bulk`, `minimal` or `none`. // note: combination is only available for *nix platform. Windows must use `none` combination $base_combination = match (PHP_OS_FAMILY) { - 'Linux', 'Darwin' => 'minimal', + 'Linux', 'Darwin' => 'none', 'Windows' => 'none', };