Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds sentry-native 0.4.7 #4537

Merged
merged 3 commits into from
Feb 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions recipes/sentry-native/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"0.4.7":
url: "https://github.com/getsentry/sentry-native/archive/0.4.7.tar.gz"
sha256: "84f3a1dbfea1245870a7e36eef06ea78e21c173457c543eaa27904d2d017e50c"
"0.4.1":
url: "https://github.com/getsentry/sentry-native/archive/0.4.1.tar.gz"
sha256: "a7d04fe9b9175c30a58ce20ae23b510595045a66884a447dd21ff2d0c749751b"
Expand Down
5 changes: 5 additions & 0 deletions recipes/sentry-native/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def configure(self):
raise ConanInvalidConfiguration("The in-process backend is not supported on Windows")
if self.options.transport == "winhttp" and self.settings.os != "Windows":
raise ConanInvalidConfiguration("The winhttp transport is only supported on Windows")
if tools.Version(self.version) >= "0.4.7" and self.settings.compiler == "apple-clang" and tools.Version(self.settings.compiler.version) < "10.0":
raise ConanInvalidConfiguration("apple-clang < 10.0 not supported")

def requirements(self):
if self.options.transport == "curl":
Expand Down Expand Up @@ -99,7 +101,10 @@ def package_info(self):
self.cpp_info.system_libs = ["dl", "log"]
elif self.settings.os == "Windows":
self.cpp_info.system_libs = ["shlwapi", "dbghelp"]
if tools.Version(self.version) >= "0.4.7":
self.cpp_info.system_libs.append("Version")
if self.options.transport == "winhttp":
self.cpp_info.system_libs.append("winhttp")

if not self.options.shared:
self.cpp_info.defines = ["SENTRY_BUILD_STATIC"]
2 changes: 2 additions & 0 deletions recipes/sentry-native/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"0.4.7":
folder: all
"0.4.1":
folder: all
"0.2.6":
Expand Down