aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitalii Koshura <lestat.de.lionkur@gmail.com>2020-09-21 05:32:19 +0200
committerGitHub <noreply@github.com>2020-09-20 20:32:19 -0700
commit2ad537e3233c8e5214d48795347797281fca1f48 (patch)
tree6c6d9a9a665935d4e7104ce26698bda5dc8a479d
parentef0e387c1d99f2456681b72b42237a1b9d7b4577 (diff)
downloadvcpkg-2ad537e3233c8e5214d48795347797281fca1f48.tar.gz
vcpkg-2ad537e3233c8e5214d48795347797281fca1f48.zip
[sentry-native] Update port to 0.4.2 (#13546)
* [sentry-native] Update port to 0.4.2 Remove custom fix for msvc 19.27 because of the fix that was introduced by port authors here: https://github.com/getsentry/sentry-native/commit/f1437333d4ea1eca2f8a3664d57efff081b4dad6 Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com> * Fix review comments Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
-rw-r--r--ports/sentry-native/CONTROL2
-rw-r--r--ports/sentry-native/portfile.cmake14
2 files changed, 4 insertions, 12 deletions
diff --git a/ports/sentry-native/CONTROL b/ports/sentry-native/CONTROL
index 46691143b..a2f4a780e 100644
--- a/ports/sentry-native/CONTROL
+++ b/ports/sentry-native/CONTROL
@@ -1,5 +1,5 @@
Source: sentry-native
-Version: 0.4.1
+Version: 0.4.2
Port-Version: 2
Homepage: https://sentry.io/
Description: Sentry SDK for C, C++ and native applications.
diff --git a/ports/sentry-native/portfile.cmake b/ports/sentry-native/portfile.cmake
index 85bce660a..467ee6755 100644
--- a/ports/sentry-native/portfile.cmake
+++ b/ports/sentry-native/portfile.cmake
@@ -1,9 +1,9 @@
vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "UWP")
vcpkg_download_distfile(ARCHIVE
- URLS "https://github.com/getsentry/sentry-native/releases/download/0.4.1/sentry-native.zip"
- FILENAME "sentry-native-0.4.1.zip"
- SHA512 644e18e89e63c21f7aef9fd389ae768e4f4951ba970d52c529782391e8acb47cb49136dabc156365bdfa13cdd1bd21745d486f836bb21c88f282bd1a533e6420
+ URLS "https://github.com/getsentry/sentry-native/releases/download/0.4.2/sentry-native.zip"
+ FILENAME "sentry-native-0.4.2.zip"
+ SHA512 6353642ceba97b44466ee4854c44cd3649ddb3d1087ff6321848d502fd5dba809778f2f2495134cf0e7a00221e73f40cc2158e46b1604ff6e78403b852f601c5
)
vcpkg_extract_source_archive_ex(
@@ -24,20 +24,12 @@ if (NOT DEFINED SENTRY_BACKEND)
endif()
endif()
-if (VCPKG_TARGET_IS_WINDOWS)
- set(SENTRY_NATIVE_C_STANDARD 99)
-else()
- set(SENTRY_NATIVE_C_STANDARD 11)
-endif()
-
-
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DSENTRY_BUILD_TESTS=OFF
-DSENTRY_BUILD_EXAMPLES=OFF
- -DCMAKE_C_STANDARD=${SENTRY_NATIVE_C_STANDARD}
-DSENTRY_BACKEND=${SENTRY_BACKEND}
)