diff options
| author | Z. Liu <zhixu.liu@gmail.com> | 2025-06-20 22:05:20 +0800 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-10-18 14:22:47 +0100 |
| commit | f073a2308e63db08fcc1c9d4624707c3b32da69e (patch) | |
| tree | 198a0ec06baa75c20d076284a1353811e6cbaf95 /dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.20.0.ebuild | |
| parent | 016b244359334ec0cceac5122b2e3718b7e2aad9 (diff) | |
| download | gentoo-f073a2308e63db08fcc1c9d4624707c3b32da69e.tar.gz gentoo-f073a2308e63db08fcc1c9d4624707c3b32da69e.tar.bz2 gentoo-f073a2308e63db08fcc1c9d4624707c3b32da69e.zip | |
dev-cpp/opentelemetry-cpp: add find_dependency if use="prometheus"
by insert using sed, which is a workaround for these versions,
and it had been fixed by upstream in v1.21.0.
prometheus_exporter was added after release 1.3.0
Closes: https://bugs.gentoo.org/930064
Closes: https://bugs.gentoo.org/953948
Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42678
Closes: https://github.com/gentoo/gentoo/pull/42678
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.20.0.ebuild')
| -rw-r--r-- | dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.20.0.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.20.0.ebuild b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.20.0.ebuild deleted file mode 100644 index 74a8525362a2..000000000000 --- a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.20.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="The OpenTelemetry C++ Client" -HOMEPAGE=" - https://opentelemetry.io/ - https://github.com/open-telemetry/opentelemetry-cpp -" -SRC_URI="https://github.com/open-telemetry/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64" -IUSE="prometheus test" - -RDEPEND=" - net-misc/curl:= - dev-libs/boost:= -" -DEPEND=" - ${RDEPEND} - prometheus? ( - dev-cpp/prometheus-cpp - ) - test? ( - dev-cpp/gtest - dev-cpp/benchmark - ) -" - -RESTRICT="!test? ( test )" - -PATCHES=( - # remove tests the need network - "${FILESDIR}/${PN}-1.5.0-tests.patch" - "${FILESDIR}/${PN}-1.16.1-cstdint.patch" -) - -src_configure() { - local mycmakeargs=( - -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON - -DBUILD_SHARED_LIBS:BOOL=ON - -DBUILD_TESTING:BOOL=$(usex test) - -DWITH_PROMETHEUS:BOOL=$(usex prometheus) - ) - - cmake_src_configure -} |
