diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-29 09:18:51 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-29 09:23:59 +0300 |
commit | b736e4bbbe71340d88af7ea997bd467b7e81ec02 (patch) | |
tree | 04dbcefbff378f166814e6123e4396c1f8923e70 /dev-libs/sentry-native | |
parent | app-arch/zoo: drop 2.10-r5 (diff) | |
download | gentoo-b736e4bbbe71340d88af7ea997bd467b7e81ec02.tar.gz gentoo-b736e4bbbe71340d88af7ea997bd467b7e81ec02.tar.bz2 gentoo-b736e4bbbe71340d88af7ea997bd467b7e81ec02.zip |
dev-libs/sentry-native: add 0.7.6
Signed-off-by: Arthur Zamarin <arthurzam@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.6.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/sentry-native/Manifest b/dev-libs/sentry-native/Manifest index 7bdbc02ae51a..9fc00c3dccad 100644 --- a/dev-libs/sentry-native/Manifest +++ b/dev-libs/sentry-native/Manifest @@ -1,2 +1,3 @@ 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 +DIST sentry-native-0.7.6.tar.gz 468817 BLAKE2B 0106e9b08d12b50fdb9243d204d78cd3e91c0dc94da29d13f60d3187f29d0f29eb7665d2568f52400a9da545086e2b22193e97af2a291422a44ce9b756272ef1 SHA512 2cc24efd85203900082f69ddd2e8f01e4adb06258132f343096f959d234d52bb4da00000bed1fa31e6fc07ba5797b61bd4ae8bf9bb53bb41c4605e3ebf6b3c43 diff --git a/dev-libs/sentry-native/sentry-native-0.7.6.ebuild b/dev-libs/sentry-native/sentry-native-0.7.6.ebuild new file mode 100644 index 000000000000..df891d8fbfba --- /dev/null +++ b/dev-libs/sentry-native/sentry-native-0.7.6.ebuild @@ -0,0 +1,46 @@ +# 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 ) + curl? ( + net-misc/curl + sys-libs/zlib + ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +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 +} |