aboutsummaryrefslogtreecommitdiff
path: root/package/sentry-native/sentry-native.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/sentry-native/sentry-native.mk')
-rw-r--r--package/sentry-native/sentry-native.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/sentry-native/sentry-native.mk b/package/sentry-native/sentry-native.mk
new file mode 100644
index 0000000000..f074388970
--- /dev/null
+++ b/package/sentry-native/sentry-native.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# sentry-native
+#
+################################################################################
+
+SENTRY_NATIVE_VERSION = 0.4.1
+SENTRY_NATIVE_SITE = $(call github,getsentry,sentry-native,$(SENTRY_NATIVE_VERSION))
+SENTRY_NATIVE_LICENSE = MIT
+SENTRY_NATIVE_LICENSE_FILES = LICENSE
+SENTRY_NATIVE_DEPENDENCIES = libcurl google-breakpad
+SENTRY_NATIVE_INSTALL_STAGING = YES
+
+# Use the built system breakpad client instead of bundling
+SENTRY_NATIVE_CONF_OPTS += -DSENTRY_BREAKPAD_SYSTEM=ON
+
+$(eval $(cmake-package))