mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 00:48:01 +08:00
[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:
parent
e3e1b64d2a
commit
b5e6d68c20
@ -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.
|
||||
|
12
ports/brotli/fix-ios.patch
Normal file
12
ports/brotli/fix-ios.patch
Normal 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
|
||||
)
|
||||
|
@ -8,6 +8,7 @@ vcpkg_from_github(
|
||||
install.patch
|
||||
fix-arm-uwp.patch
|
||||
pkgconfig.patch
|
||||
fix-ios.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "8f55fe158d8bd753a6e6908164e03ae4f0b73cea",
|
||||
"version-string": "1.0.9",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "4aaf6f174ede5bc58872943a5e32d96c5e0d45da",
|
||||
"version-string": "1.0.9",
|
||||
|
@ -1014,7 +1014,7 @@
|
||||
},
|
||||
"brotli": {
|
||||
"baseline": "1.0.9",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"brpc": {
|
||||
"baseline": "0.9.7",
|
||||
|
Loading…
x
Reference in New Issue
Block a user