From 9fb02fec29b8d4a8f841cc22fc7d091423c8a490 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 6 May 2022 00:39:16 +0000 Subject: Adding metadata --- .../opentelemetry-cpp-1.3.0-r1.ebuild | 49 --------------------- .../opentelemetry-cpp-1.3.0-r2.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 50 insertions(+), 49 deletions(-) delete mode 100644 dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r1.ebuild create mode 100644 dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r2.ebuild (limited to 'dev-cpp/opentelemetry-cpp') diff --git a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r1.ebuild b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r1.ebuild deleted file mode 100644 index 79659a7b0210..000000000000 --- a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2022 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" -IUSE="+jaeger prometheus test" - -RDEPEND=" - net-misc/curl:= - dev-libs/thrift:= -" -DEPEND=" - ${RDEPEND} - test? ( - dev-cpp/gtest - dev-cpp/benchmark - ) -" - -RESTRICT="!test? ( test )" - -PATCHES=( - # remove tests the need network - "${FILESDIR}/opentelemetry-cpp-1.3.0-tests.patch" -) - -src_configure() { - local -a mycmakeargs=( - -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON - -DBUILD_SHARED_LIBS:BOOL=ON - -DBUILD_TESTING:BOOL=$(usex test) - -DWITH_JAEGER:BOOL=$(usex jaeger) - -DWITH_PROMETHEUS:BOOL=$(usex prometheus) - ) - - cmake_src_configure -} diff --git a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r2.ebuild b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r2.ebuild new file mode 100644 index 000000000000..d37e2bfc376f --- /dev/null +++ b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022 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" +IUSE="+jaeger prometheus test" + +RDEPEND=" + net-misc/curl:= + dev-libs/thrift:= + dev-libs/boost:= +" +DEPEND=" + ${RDEPEND} + test? ( + dev-cpp/gtest + dev-cpp/benchmark + ) +" + +RESTRICT="!test? ( test )" + +PATCHES=( + # remove tests the need network + "${FILESDIR}/opentelemetry-cpp-1.3.0-tests.patch" +) + +src_configure() { + local -a mycmakeargs=( + -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON + -DBUILD_SHARED_LIBS:BOOL=ON + -DBUILD_TESTING:BOOL=$(usex test) + -DWITH_JAEGER:BOOL=$(usex jaeger) + -DWITH_PROMETHEUS:BOOL=$(usex prometheus) + ) + + cmake_src_configure +} -- cgit v1.3