[brotli] add iOS support (#16397)

* [brotli] add iOS support

This commit adds support for iOS by modifying the CMakeLists.txt
file to specify the BUNDLE DESTINATION parameter during install,
which is required for iOS builds.

* [brotli] update control file

* [brotli] update versions
This commit is contained in:
Jesse Towner 2021-02-26 13:15:50 -08:00 committed by GitHub
parent e3e1b64d2a
commit b5e6d68c20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 1 deletions

View File

@ -1,4 +1,5 @@
Source: brotli
Version: 1.0.9
Port-Version: 1
Homepage: https://github.com/google/brotli
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.

View File

@ -0,0 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fcd9024..a717b87 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -225,6 +225,7 @@ if(NOT BROTLI_BUNDLED_MODE)
install(
TARGETS brotli
RUNTIME DESTINATION tools/brotli
+ BUNDLE DESTINATION tools/brotli
CONFIGURATIONS Release
)

View File

@ -8,6 +8,7 @@ vcpkg_from_github(
install.patch
fix-arm-uwp.patch
pkgconfig.patch
fix-ios.patch
)
vcpkg_configure_cmake(

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8f55fe158d8bd753a6e6908164e03ae4f0b73cea",
"version-string": "1.0.9",
"port-version": 1
},
{
"git-tree": "4aaf6f174ede5bc58872943a5e32d96c5e0d45da",
"version-string": "1.0.9",

View File

@ -1014,7 +1014,7 @@
},
"brotli": {
"baseline": "1.0.9",
"port-version": 0
"port-version": 1
},
"brpc": {
"baseline": "0.9.7",