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 --- dev-cpp/asio/Manifest | 1 + dev-cpp/asio/asio-1.10.8.ebuild | 60 ++++++++++++++++++++++ dev-cpp/catch/catch-2.13.8.ebuild | 2 +- .../opentelemetry-cpp-1.3.0-r1.ebuild | 49 ------------------ .../opentelemetry-cpp-1.3.0-r2.ebuild | 50 ++++++++++++++++++ 5 files changed, 112 insertions(+), 50 deletions(-) create mode 100644 dev-cpp/asio/asio-1.10.8.ebuild 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') diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest index 727f3b5a8267..604e07e40ed4 100644 --- a/dev-cpp/asio/Manifest +++ b/dev-cpp/asio/Manifest @@ -1,3 +1,4 @@ +DIST asio-1.10.8.tar.bz2 1270332 BLAKE2B 97e4a6a7c8b4562f10af1d122e9b08c12d567fd0447d1951a907f47f77832dcd42df4cb9b5b392feaaa2ea7c79d8bedfcf12e3052957ec012d8bb6b4d1347eb5 SHA512 d870686d2b19bec9925c311f2f0fd370e9797bbad252176a80a998f9c322ecd502b5081826105712e7caf87c03c3e6b70a0e219019e5bff46077d6e8c3c6db09 DIST asio-1.19.2.tar.bz2 1842597 BLAKE2B b2236c33432984ab660eba4c93be32374bb49f688a1e6a0711d7bac322cc4a7f817db209278f216468c6a72b9d3dd564cf298e1f49f8098c3fd9aec7acd66eb7 SHA512 07f9c29d8f02090b4d4b6a1867bcc07a8e9f3388556dff787ca3ba143022eeb63bfac0b5bc264076fed4db3b2e5ec6b7ff0ebefde40ba4753c832032a72d54cc DIST asio-1.21.0.tar.bz2 1967398 BLAKE2B 95e0ba44910e7450e614011b487acac0cd292302c0f502ec678639b70af7e6f9b86ee2c50c7f7e3e3437ce4474323e44b5e371c08f3a9ed464ffb3f428de728b SHA512 62252b2d3ca4fb99579c5fe57bf64b700792198dd7fa45acb4af7f64e83494bade1885b848f9e364f4c42d9db025841324cbd9a0fd3fe45526e7e4be6f60f8c0 DIST asio-1.22.1.tar.bz2 3085878 BLAKE2B 07326a2273d5b8c0aef8402c92a6a88abbcb961d2a029596d58735d6626279e6d4d591371cc368a41fac1d0161b8786174ba71153e73aac38fa81a83f5f5be86 SHA512 be4a066d9f73662f68a771f63a59fc2e16e8ee1ae1ca6c581e09922514029e58c479edfc0517ee6b29a1fd377d202a2a6eb80d9d17f6e957233c11331f04a479 diff --git a/dev-cpp/asio/asio-1.10.8.ebuild b/dev-cpp/asio/asio-1.10.8.ebuild new file mode 100644 index 000000000000..9420aeda33b2 --- /dev/null +++ b/dev-cpp/asio/asio-1.10.8.ebuild @@ -0,0 +1,60 @@ +# Copyright 2021-2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +inherit autotools + +DESCRIPTION="Asynchronous Network Library" +HOMEPAGE="http://think-async.com/Asio/ https://github.com/chriskohlhoff/asio" +SRC_URI=" + mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2 + https://deac-ams.dl.sourceforge.net/project/asio/${PN}/${PV}%20%28Stable%29/${P}.tar.bz2 +" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples libressl ssl test" +RESTRICT="!test? ( test )" +# test searches for libssl during ./configure, and REQUIRED_USE is easier than +# patching configure to not search for it with USE=-ssl +REQUIRED_USE="test? ( ssl )" + +RDEPEND="dev-libs/boost:= + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND}" + +#PATCHES="${FILESDIR}/asio-1.22.1-cpp20ex.patch" + +src_prepare() { + default + + eautoreconf + + if ! use test; then + # Don't build nor install any examples or unittests + # since we don't have a script to run them + cat > src/Makefile.in <<-EOF || die + all: + + install: + + clean: + EOF + fi +} + +src_install() { + use doc && local HTML_DOCS=( doc/. ) + default + + if use examples; then + # Get rid of the object files + emake clean + dodoc -r src/examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-cpp/catch/catch-2.13.8.ebuild b/dev-cpp/catch/catch-2.13.8.ebuild index cafcb66920ec..6d351089044e 100644 --- a/dev-cpp/catch/catch-2.13.8.ebuild +++ b/dev-cpp/catch/catch-2.13.8.ebuild @@ -15,7 +15,7 @@ else SRC_URI="https://github.com/catchorg/Catch2/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86" fi DESCRIPTION="Modern C++ header-only framework for unit-tests" 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.1