diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-10-24 22:40:49 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-10-25 00:16:33 +0100 |
commit | b83818ffaaecd2982f6f91d3ab1ea4fbb765ad4d (patch) | |
tree | a3e3069f3d117e081e7b88d5bdd83046463189ad /dev-libs/sentry-native | |
parent | app-crypt/yubikey-manager: add 5.2.1 (diff) | |
download | gentoo-b83818ffaaecd2982f6f91d3ab1ea4fbb765ad4d.tar.gz gentoo-b83818ffaaecd2982f6f91d3ab1ea4fbb765ad4d.tar.bz2 gentoo-b83818ffaaecd2982f6f91d3ab1ea4fbb765ad4d.zip |
dev-libs/sentry-native: add 0.6.6
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.6.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 edea38c2f4c5..824f11070e28 100644 --- a/dev-libs/sentry-native/Manifest +++ b/dev-libs/sentry-native/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-libs/sentry-native/sentry-native-0.6.6.ebuild b/dev-libs/sentry-native/sentry-native-0.6.6.ebuild new file mode 100644 index 000000000000..1e3a691a642a --- /dev/null +++ b/dev-libs/sentry-native/sentry-native-0.6.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 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 ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.6.5_cmake-breakpad.patch + "${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") + ) + # Avoid "not used by the project" warnings when USE=-breakpad + if use breakpad; then + mycmakeargs+=( -DSENTRY_BREAKPAD_SYSTEM=ON ) + fi + + cmake_src_configure +} |