diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-04 12:37:55 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-04 12:37:55 +0000 |
| commit | 60bb06eebeb33b49a554dc22f24f69abe04a5750 (patch) | |
| tree | 2394cd146bec5e45021d4b7724ce21f567a5265a /dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0.ebuild | |
| parent | feebe41b21a89f2d9789082730b1c730f9f5b289 (diff) | |
| download | srcux-60bb06eebeb33b49a554dc22f24f69abe04a5750.tar.gz srcux-60bb06eebeb33b49a554dc22f24f69abe04a5750.tar.xz srcux-60bb06eebeb33b49a554dc22f24f69abe04a5750.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0.ebuild')
| -rw-r--r-- | dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0.ebuild b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0.ebuild new file mode 100644 index 000000000000..011b5b0e193c --- /dev/null +++ b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.3.0.ebuild @@ -0,0 +1,48 @@ +# 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:= +" +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 +} |
