Skip to content

Commit

Permalink
[sentry-native] update to 0.7.2. (#37960)
Browse files Browse the repository at this point in the history
Added optional 'compression' parameter.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
  • Loading branch information
AenBleidd committed Apr 4, 2024
1 parent 18dbc70 commit 25b12ce
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
6 changes: 5 additions & 1 deletion ports/sentry-native/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/getsentry/sentry-native/releases/download/${VERSION}/sentry-native.zip"
FILENAME "sentry-native-${VERSION}.zip"
SHA512 bf6d9aef8129d9ad9b1617e03bf7ac5e4ac5572ac87546f9428a359c4fc3364d2591cc001e7a28f50509d5cfddab9a17da2d4a33e344280fd490c8fe5173f2c7
SHA512 9f9fc5dbcafee310b3fb5383b4a4892e7e98094be04e21e730bfae4a0280a9c6f8610a077b24061b6051aeba8091d480e3b7ffa95f8e613d5ab1be45590953e5
)

vcpkg_extract_source_archive(
Expand Down Expand Up @@ -33,6 +33,10 @@ if("wer" IN_LIST FEATURES)
vcpkg_list(APPEND options "-DSENTRY_TRANSPORT_CRASHPAD_USE_WER=ON")
endif()

if("compression" IN_LIST FEATURES)
vcpkg_list(APPEND options "-DSENTRY_TRANSPORT_COMPRESSION=ON")
endif()

if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
set(VCPKG_CXX_FLAGS "/D_CRT_DECLARE_NONSTDC_NAMES ${VCPKG_CXX_FLAGS}")
set(VCPKG_C_FLAGS "/D_CRT_DECLARE_NONSTDC_NAMES ${VCPKG_C_FLAGS}")
Expand Down
11 changes: 10 additions & 1 deletion ports/sentry-native/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sentry-native",
"version": "0.7.1",
"version": "0.7.2",
"description": "Sentry SDK for C, C++ and native applications.",
"homepage": "https://sentry.io/",
"license": "MIT",
Expand Down Expand Up @@ -44,6 +44,15 @@
}
]
},
"compression": {
"description": [
"Enables gzip compression support for the transport.",
"Cf.https://github.com/getsentry/sentry-native#compile-time-options"
],
"dependencies": [
"zlib"
]
},
"transport": {
"description": [
"Enables the platform-specific network transport.",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7969,7 +7969,7 @@
"port-version": 0
},
"sentry-native": {
"baseline": "0.7.1",
"baseline": "0.7.2",
"port-version": 0
},
"septag-dmon": {
Expand Down
5 changes: 5 additions & 0 deletions versions/s-/sentry-native.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b3593a56c34e64de0c67ff0c32181eb21e9dbc13",
"version": "0.7.2",
"port-version": 0
},
{
"git-tree": "573e6eab33f6c6e86bf574966809aba512874371",
"version": "0.7.1",
Expand Down

0 comments on commit 25b12ce

Please sign in to comment.