From 9398a6677db38f6b4faefc93bd3056ab31e8193f Mon Sep 17 00:00:00 2001 From: henderkes Date: Sun, 14 Jun 2026 11:52:30 +0700 Subject: [PATCH] update protobuf --- config/source.json | 2 +- src/SPC/builder/unix/library/libaom.php | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config/source.json b/config/source.json index 127407f1..0449e93c 100644 --- a/config/source.json +++ b/config/source.json @@ -1108,7 +1108,7 @@ }, "protobuf": { "type": "url", - "url": "https://pecl.php.net/get/protobuf-5.34.1.tgz", + "url": "https://pecl.php.net/get/protobuf", "path": "php-src/ext/protobuf", "filename": "protobuf.tgz", "license": { diff --git a/src/SPC/builder/unix/library/libaom.php b/src/SPC/builder/unix/library/libaom.php index f05b5e3f..d00f61f5 100644 --- a/src/SPC/builder/unix/library/libaom.php +++ b/src/SPC/builder/unix/library/libaom.php @@ -30,7 +30,11 @@ trait libaom ->setBuildDir("{$this->source_dir}/builddir") ->addConfigureArgs( "-DAOM_TARGET_CPU={$targetCpu}", - '-DCONFIG_RUNTIME_CPU_DETECT=1' + '-DCONFIG_RUNTIME_CPU_DETECT=1', + '-DENABLE_EXAMPLES=0', + '-DENABLE_TOOLS=0', + '-DENABLE_TESTS=0', + '-DENABLE_DOCS=0' ) ->build(); f_putenv("SPC_COMPILER_EXTRA={$extra}");