From a4e87863708e0c8dffd3750d50695de7274e9554 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 31 Dec 2025 20:19:02 +0000 Subject: Adding metadata --- dev-cpp/benchmark/benchmark-1.9.1-r1.ebuild | 2 +- dev-cpp/cpp-httplib/Manifest | 2 +- dev-cpp/cpp-httplib/cpp-httplib-0.27.0.ebuild | 90 --------------------------- dev-cpp/cpp-httplib/cpp-httplib-0.29.0.ebuild | 90 +++++++++++++++++++++++++++ dev-cpp/libmcpp/Manifest | 1 + dev-cpp/libmcpp/libmcpp-2.7.2.19.ebuild | 20 ++++++ dev-cpp/libmcpp/metadata.xml | 6 +- 7 files changed, 118 insertions(+), 93 deletions(-) delete mode 100644 dev-cpp/cpp-httplib/cpp-httplib-0.27.0.ebuild create mode 100644 dev-cpp/cpp-httplib/cpp-httplib-0.29.0.ebuild create mode 100644 dev-cpp/libmcpp/libmcpp-2.7.2.19.ebuild (limited to 'dev-cpp') diff --git a/dev-cpp/benchmark/benchmark-1.9.1-r1.ebuild b/dev-cpp/benchmark/benchmark-1.9.1-r1.ebuild index 09a779ef8430..453ae72b9206 100644 --- a/dev-cpp/benchmark/benchmark-1.9.1-r1.ebuild +++ b/dev-cpp/benchmark/benchmark-1.9.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/google/benchmark/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="Apache-2.0" SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv x86" IUSE="doc debug libpfm test +tools" RESTRICT="!test? ( test )" REQUIRED_USE="tools? ( ${PYTHON_REQUIRED_USE} )" diff --git a/dev-cpp/cpp-httplib/Manifest b/dev-cpp/cpp-httplib/Manifest index af6b59a505a9..6aa6e4dbde94 100644 --- a/dev-cpp/cpp-httplib/Manifest +++ b/dev-cpp/cpp-httplib/Manifest @@ -1,2 +1,2 @@ -DIST cpp-httplib-0.27.0.tar.gz 1311061 BLAKE2B b273d9ac6a79d74b47d27b49357f0d9ae61501cecba21b61cd53a74d056b9acdaeba530cdfd02111debaadab15c9076e44727997be32de3947eaf16ecdc846c5 SHA512 884d6be8209d8128af2b11c35d7fc592d8a236a65cdcd9b123a77aa73fbd0dbd03c1cbe17cf4dd92797b06d312c9476d59646b9034d8e559095852b021138acc DIST cpp-httplib-0.28.0.tar.gz 1312543 BLAKE2B af3d76280bf7299575e04cafd058f7bc223481d5c0316cc8a5d87850de6243174e138be0625e5939ff1c815003ba45c556d14f04b20a26c67bdca313b75e133c SHA512 e7a8877d489c97669a8ee536e1498575be921e558ed947253013fe6b67a49d4569eedd01f543caa70183b92d8ac0e8687d662a70d880954412e387317008a239 +DIST cpp-httplib-0.29.0.tar.gz 1346309 BLAKE2B bcf66d1d96cff97c9ca792f6dcf2cd3d0f635115c0cc0a26b7b3846ab927072c46359185d57a03bf296eb69b864e1804397509bf338d5bbbfaca769fdd2b5a21 SHA512 39dbcbb4b48482dcd7ddc56e10e71aad5595690ce1555c1f69d4f7d0fff77f028f95359fe964236a6cdcf7fb42a6b084d0ebba58d4e9446372689699bd5ed624 diff --git a/dev-cpp/cpp-httplib/cpp-httplib-0.27.0.ebuild b/dev-cpp/cpp-httplib/cpp-httplib-0.27.0.ebuild deleted file mode 100644 index 1bd5be8be893..000000000000 --- a/dev-cpp/cpp-httplib/cpp-httplib-0.27.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 2024-2025 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -PYTHON_COMPAT=( python3_{10..14} ) - -inherit cmake-multilib python-any-r1 toolchain-funcs - -DESCRIPTION="C++ HTTP/HTTPS server and client library" -HOMEPAGE="https://github.com/yhirose/cpp-httplib/" - -SRC_URI="https://github.com/yhirose/cpp-httplib/archive/v${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" # soversion - -IUSE="brotli libressl ssl test zlib" -REQUIRED_USE="test? ( brotli ssl zlib )" -RESTRICT="!test? ( test )" - -RDEPEND=" - brotli? ( - app-arch/brotli:=[${MULTILIB_USEDEP}] - ) - ssl? ( - !libressl? ( >=dev-libs/openssl-3.0.13:=[${MULTILIB_USEDEP}] ) - libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] ) - ) - zlib? ( - sys-libs/zlib[${MULTILIB_USEDEP}] - ) -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - ${PYTHON_DEPS} -" - -src_prepare() { - if use libressl; then - eapply -p1 $FILESDIR/cmakelists.patch - fi - - cmake_src_prepare -} - -src_configure() { - local -a mycmakeargs=( - -DHTTPLIB_COMPILE=yes - -DBUILD_SHARED_LIBS=yes - -DHTTPLIB_USE_BROTLI_IF_AVAILABLE=no - -DHTTPLIB_USE_OPENSSL_IF_AVAILABLE=no - -DHTTPLIB_USE_ZLIB_IF_AVAILABLE=no - -DHTTPLIB_REQUIRE_BROTLI=$(usex brotli) - -DHTTPLIB_REQUIRE_OPENSSL=$(usex ssl) - -DHTTPLIB_REQUIRE_ZLIB=$(usex zlib) - -DPython3_EXECUTABLE="${PYTHON}" - ) - cmake-multilib_src_configure -} - -multilib_src_test() { - cp -p -R --reflink=auto "${S}/test" ./test || die - - local -a failing_tests=( - # Disable all online tests. - "*.*_Online" - - # Fails on musl x86: - ServerTest.GetRangeWithMaxLongLength - ServerTest.GetStreamedWithTooManyRanges - - # https://github.com/yhirose/cpp-httplib/issues/1798 - # Filed by mgorny's testing, fails on openssl >=3.2: - SSLClientServerTest.ClientCertPresent - SSLClientServerTest.ClientEncryptedCertPresent - SSLClientServerTest.CustomizeServerSSLCtx - SSLClientServerTest.MemoryClientCertPresent - SSLClientServerTest.MemoryClientEncryptedCertPresent - SSLClientServerTest.TrustDirOptional - ) - - # Little dance to please the GTEST filter (join array using ":"). - failing_tests_str="${failing_tests[@]}" - failing_tests_filter="${failing_tests_str// /:}" - - GTEST_FILTER="-${failing_tests_filter}" emake -C test \ - CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} -I." -} diff --git a/dev-cpp/cpp-httplib/cpp-httplib-0.29.0.ebuild b/dev-cpp/cpp-httplib/cpp-httplib-0.29.0.ebuild new file mode 100644 index 000000000000..1bd5be8be893 --- /dev/null +++ b/dev-cpp/cpp-httplib/cpp-httplib-0.29.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 2024-2025 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) + +inherit cmake-multilib python-any-r1 toolchain-funcs + +DESCRIPTION="C++ HTTP/HTTPS server and client library" +HOMEPAGE="https://github.com/yhirose/cpp-httplib/" + +SRC_URI="https://github.com/yhirose/cpp-httplib/archive/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" # soversion + +IUSE="brotli libressl ssl test zlib" +REQUIRED_USE="test? ( brotli ssl zlib )" +RESTRICT="!test? ( test )" + +RDEPEND=" + brotli? ( + app-arch/brotli:=[${MULTILIB_USEDEP}] + ) + ssl? ( + !libressl? ( >=dev-libs/openssl-3.0.13:=[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] ) + ) + zlib? ( + sys-libs/zlib[${MULTILIB_USEDEP}] + ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} +" + +src_prepare() { + if use libressl; then + eapply -p1 $FILESDIR/cmakelists.patch + fi + + cmake_src_prepare +} + +src_configure() { + local -a mycmakeargs=( + -DHTTPLIB_COMPILE=yes + -DBUILD_SHARED_LIBS=yes + -DHTTPLIB_USE_BROTLI_IF_AVAILABLE=no + -DHTTPLIB_USE_OPENSSL_IF_AVAILABLE=no + -DHTTPLIB_USE_ZLIB_IF_AVAILABLE=no + -DHTTPLIB_REQUIRE_BROTLI=$(usex brotli) + -DHTTPLIB_REQUIRE_OPENSSL=$(usex ssl) + -DHTTPLIB_REQUIRE_ZLIB=$(usex zlib) + -DPython3_EXECUTABLE="${PYTHON}" + ) + cmake-multilib_src_configure +} + +multilib_src_test() { + cp -p -R --reflink=auto "${S}/test" ./test || die + + local -a failing_tests=( + # Disable all online tests. + "*.*_Online" + + # Fails on musl x86: + ServerTest.GetRangeWithMaxLongLength + ServerTest.GetStreamedWithTooManyRanges + + # https://github.com/yhirose/cpp-httplib/issues/1798 + # Filed by mgorny's testing, fails on openssl >=3.2: + SSLClientServerTest.ClientCertPresent + SSLClientServerTest.ClientEncryptedCertPresent + SSLClientServerTest.CustomizeServerSSLCtx + SSLClientServerTest.MemoryClientCertPresent + SSLClientServerTest.MemoryClientEncryptedCertPresent + SSLClientServerTest.TrustDirOptional + ) + + # Little dance to please the GTEST filter (join array using ":"). + failing_tests_str="${failing_tests[@]}" + failing_tests_filter="${failing_tests_str// /:}" + + GTEST_FILTER="-${failing_tests_filter}" emake -C test \ + CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} -I." +} diff --git a/dev-cpp/libmcpp/Manifest b/dev-cpp/libmcpp/Manifest index cc1df396280a..44b2e2bb422b 100644 --- a/dev-cpp/libmcpp/Manifest +++ b/dev-cpp/libmcpp/Manifest @@ -1,2 +1,3 @@ +DIST libmcpp-2.7.2.19.tar.gz 124309 BLAKE2B 405390f884091ca2f821c3eb89d34e35ecc384c7c3a2a81ff5d2d4fee77e34659fc82d5ed20fd3646cb7684d93bcd3053f6959d35c0c6396af76e8abb598deb7 SHA512 27f7be060e5c9ee4e87c44c99d2dd22c8b2454cb0776f7daef1b6eade2b016af1481d0b96a428ac4cce2152242b3c51bd2e144da0018989650a96e60c5d82a0f DIST mcpp-2.7.2.tar.gz 1533457 BLAKE2B 4368fd1c667923ab3b60ce79f8421c549a9d9105957ca87b9ba49be513cb1be7f220a3ddbaf306e860014d5211af480d07170d912d3d4a80345d8eab45fd6c00 SHA512 1ca885cb13fdb684de9d0595a9215b52f48a93a69077d82cdcacafe40d9a61fb77b00a3ff2b8890e7bc0a0fcc0c8d70d4093c00c280351cd4459aba67c573235 DIST mcpp_2.7.2-5.debian.tar.xz 7528 BLAKE2B 92f455809cfb49d97ca4e62c7087ebe2ebe0ce835e8f12d6e93b1df2ec1e15472f242637f320be2b6bada85b193545fcf3608e8c9a935805a5f052909d3c6f0b SHA512 08509945048ccc4525ecd61d3f901a4d81fe73c1db84c26b76664d5127970af45662a168b99836b58467afc7202a1a20e0dfe8954a87e4cd1368f2136d7955be diff --git a/dev-cpp/libmcpp/libmcpp-2.7.2.19.ebuild b/dev-cpp/libmcpp/libmcpp-2.7.2.19.ebuild new file mode 100644 index 000000000000..041ac7a3cb97 --- /dev/null +++ b/dev-cpp/libmcpp/libmcpp-2.7.2.19.ebuild @@ -0,0 +1,20 @@ +# Copyright 2025 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +CMAKE_MAKEFILE_GENERATOR="emake" +inherit cmake flag-o-matic + +DESCRIPTION="A portable C++ preprocessor" +HOMEPAGE="https://github.com/zeroc-ice/mcpp" +SRC_URI="https://github.com/zeroc-ice/mcpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/mcpp-${PV} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86 ~x64-macos" + +src_configure() { + append-cflags -std=gnu17 + cmake_src_configure +} diff --git a/dev-cpp/libmcpp/metadata.xml b/dev-cpp/libmcpp/metadata.xml index e7c094487d84..09b0ed18f1f6 100644 --- a/dev-cpp/libmcpp/metadata.xml +++ b/dev-cpp/libmcpp/metadata.xml @@ -1,8 +1,12 @@ + + dev@liguros.net + Development + cpe:/a:mcpp_project:mcpp - gentoo-staging + ports \ No newline at end of file -- cgit v1.3