mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-libs/sentry-native: add 0.6.6
Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user