[brotli] Fix wasm32-emscripten build (#29349)

* Update portfile.cmake

* Update port-version

* Update version

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
Ankur Verma 2023-02-07 15:00:51 -08:00 committed by GitHub
parent 65194bfbf5
commit ad3435235f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 2 deletions

View File

@ -14,6 +14,8 @@ vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}" SOURCE_PATH "${SOURCE_PATH}"
OPTIONS OPTIONS
-DBROTLI_DISABLE_TESTS=ON -DBROTLI_DISABLE_TESTS=ON
# Required for wasm32-emscripten triplet to avoid "install" being turned off
-DBROTLI_EMSCRIPTEN=OFF
) )
vcpkg_cmake_install() vcpkg_cmake_install()
vcpkg_copy_pdbs() vcpkg_copy_pdbs()

View File

@ -1,7 +1,7 @@
{ {
"name": "brotli", "name": "brotli",
"version": "1.0.9", "version": "1.0.9",
"port-version": 4, "port-version": 5,
"description": "a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling.", "description": "a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling.",
"homepage": "https://github.com/google/brotli", "homepage": "https://github.com/google/brotli",
"license": "MIT", "license": "MIT",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "32ea6c4b0d18fa3172ad52147599983acc71d748",
"version": "1.0.9",
"port-version": 5
},
{ {
"git-tree": "e6838ab1a2b10d47924875dd1f71c47d45c01bb6", "git-tree": "e6838ab1a2b10d47924875dd1f71c47d45c01bb6",
"version": "1.0.9", "version": "1.0.9",

View File

@ -1218,7 +1218,7 @@
}, },
"brotli": { "brotli": {
"baseline": "1.0.9", "baseline": "1.0.9",
"port-version": 4 "port-version": 5
}, },
"brpc": { "brpc": {
"baseline": "1.2.0", "baseline": "1.2.0",