dev-libs/sentry-native - 0.7.2 (gentoo)

Search

Package Information

Description:
Sentry SDK for C, C++ and native applications
Homepage:
https://sentry.io/ https://github.com/getsentry/sentry-native
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.7.2 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2025 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
		virtual/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
}

USE Flags

breakpad
Default: Enabled (+)
curl
Default: Enabled (+)

Dependencies

DEPEND

	breakpad? (
		dev-util/breakpad
		virtual/pkgconfig
	)
	curl? (
		net-misc/curl
		virtual/zlib:=
	)

RDEPEND

	breakpad? (
		dev-util/breakpad
		virtual/pkgconfig
	)
	curl? (
		net-misc/curl
		virtual/zlib:=
	)

Manifest for 0.7.2

Type File Size Source URLs
DIST sentry-native-0.7.2.tar.gz 330431 bytes https://github.com/getsentry/sentry-native/archive/refs/tags/0.7.2.tar.gz