diff options
author | Marek Szuba <marecki@gentoo.org> | 2024-04-07 00:45:18 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2024-04-07 00:45:18 +0100 |
commit | dca031ac33c370fbb4383ba3363b95e06576ca8e (patch) | |
tree | 7d18a155e52dedfff01384dd5e3375992141f501 /dev-libs/sentry-native | |
parent | gui-libs/gtk: Stabilize 4.12.5 sparc, #926451 (diff) | |
download | gentoo-dca031ac33c370fbb4383ba3363b95e06576ca8e.tar.gz gentoo-dca031ac33c370fbb4383ba3363b95e06576ca8e.tar.bz2 gentoo-dca031ac33c370fbb4383ba3363b95e06576ca8e.zip |
dev-libs/sentry-native: add 0.7.2
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-libs/sentry-native')
-rw-r--r-- | dev-libs/sentry-native/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/sentry-native/sentry-native-0.7.2.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/sentry-native/Manifest b/dev-libs/sentry-native/Manifest index 362a9b0c7c7e..7da00c8de13c 100644 --- a/dev-libs/sentry-native/Manifest +++ b/dev-libs/sentry-native/Manifest @@ -1,3 +1,4 @@ DIST sentry-native-0.6.5.tar.gz 325573 BLAKE2B 6308bef5cc194c3eb8f6f30d1ee894f3d7528d31604f26d6d54cfcc1545ef561346f60c9f35e80662431ad6145cf27a4adac70255b01f230551a541fd4dae709 SHA512 0c0be06f72f53277c9a34ca6514dc96ad14b4239ee92ae65e00d45a515ce13bc314982a651c476ddbb453079ea3fc3fa0bb75cc683dce046f69f0fe1d024f32e DIST sentry-native-0.6.6.tar.gz 325897 BLAKE2B 0613e41aa1163c9ceb6d0aff2ad5db36d84fc0c86d3ebe9993b5e1a0ed06bcb811f0f58b20c6abfa3abbc3c2a5db655908372d439ec67412f4d152d82111509c SHA512 ee39641ee3138b92e33b29d8bfbb454f61d5ab5621d71e199be8bcbbfc220a3456372e3757a820a69c5f2ad4be474216a6b816d3e1fb483479f39ebd864a09dd DIST sentry-native-0.6.7.tar.gz 326571 BLAKE2B 5678e406573fa1281b995cf897b556c064831a835960819760ce36e79704fdbf363b637c61adaf14446ba394e057cecbc7a940cb61a2d4c9fd97b5c2ff67647a SHA512 8c5ec1fff2f99acddac8964c415b470a8e5a53967de9fa84444d78d49ed05f592a2c5373688cf87a86ec7cb4c2fe076f9d50443b6ddb9f479713655664d330fb +DIST sentry-native-0.7.2.tar.gz 330431 BLAKE2B f6651d4397075d67cc1069205e38654ba6c98c64adee03c968f45b1ea2441b0954b90543585ae04c75457edbbc05df4ae0aec242e1570e2716bc8505a11f5a67 SHA512 4a086c87dda82a5109681d014f9d33535d43805f4149ad09609b81da001a7e9c9eb6850ea1b0c2c781072d76725a08341dde1e57be20b26a9ff72f4984f51e8a diff --git a/dev-libs/sentry-native/sentry-native-0.7.2.ebuild b/dev-libs/sentry-native/sentry-native-0.7.2.ebuild new file mode 100644 index 000000000000..debfa4792b27 --- /dev/null +++ b/dev-libs/sentry-native/sentry-native-0.7.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Sentry SDK for C, C++ and native applications" +HOMEPAGE="https://sentry.io/ https://github.com/getsentry/sentry-native" +SRC_URI="https://github.com/getsentry/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+breakpad +curl test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + breakpad? ( + dev-util/breakpad + virtual/pkgconfig + ) + curl? ( + net-misc/curl + sys-libs/zlib + ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.6.5_no-fuzz-test.patch +) + +src_configure() { + local mycmakeargs=( + -DSENTRY_BUILD_EXAMPLES=OFF + -DSENTRY_BACKEND=$(usex breakpad "breakpad" "inproc") + -DSENTRY_BUILD_TESTS=$(usex test) + -DSENTRY_TRANSPORT=$(usex curl "curl" "none") + -DSENTRY_TRANSPORT_COMPRESSION=$(usex curl) + ) + # Avoid "not used by the project" warnings when USE=-breakpad + if use breakpad; then + mycmakeargs+=( -DSENTRY_BREAKPAD_SYSTEM=ON ) + fi + + cmake_src_configure +} |