Install this version:
emerge -a =dev-libs/sentry-native-0.13.4
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/sentry-native-0.13.4
Or alternatively:
emerge --autounmask-write -a =dev-libs/sentry-native-0.13.4
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.13.4 | 8 | ~amd64 | 0 |
# 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"
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
}
Manage flags for this package:
euse -i <flag> -p dev-libs/sentry-native |
euse -E <flag> -p dev-libs/sentry-native |
euse -D <flag> -p dev-libs/sentry-native
breakpad? ( dev-util/breakpad ) curl? ( net-misc/curl sys-libs/zlib )
breakpad? ( dev-util/breakpad ) curl? ( net-misc/curl sys-libs/zlib )
virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | sentry-native-0.13.4.tar.gz | 1215670 bytes | https://github.com/getsentry/sentry-native/archive/refs/tags/0.13.4.tar.gz |