diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-08-13 00:49:29 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-08-13 00:49:29 +0000 |
| commit | d0aeca19ba2356f8f5d0a7fec8f171b7dbd629bf (patch) | |
| tree | 990d1efc80a122de70fb9e16212b19e4ea973936 /dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.5.0.ebuild | |
| parent | 6a709b350c45bed49a23fe78f8bdb8da0b2a15ed (diff) | |
| download | baldeagleos-repo-d0aeca19ba2356f8f5d0a7fec8f171b7dbd629bf.tar.gz baldeagleos-repo-d0aeca19ba2356f8f5d0a7fec8f171b7dbd629bf.tar.xz baldeagleos-repo-d0aeca19ba2356f8f5d0a7fec8f171b7dbd629bf.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.5.0.ebuild')
| -rw-r--r-- | dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.5.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.5.0.ebuild b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.5.0.ebuild new file mode 100644 index 000000000000..2d70f1cdbd83 --- /dev/null +++ b/dev-cpp/opentelemetry-cpp/opentelemetry-cpp-1.5.0.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.5.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 +} |
