From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E6268158064 for ; Wed, 8 May 2024 16:50:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D390E2B4A; Wed, 8 May 2024 16:50:33 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0C43E2B4A for ; Wed, 8 May 2024 16:50:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ADCBD335D6B for ; Wed, 8 May 2024 16:50:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 188851A3F for ; Wed, 8 May 2024 16:50:28 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1715186978.bf1dd7962a7604aed61796f90169c84d4385cf4f.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/trantor/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/trantor/Manifest dev-cpp/trantor/trantor-1.5.18.ebuild X-VCS-Directories: dev-cpp/trantor/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: bf1dd7962a7604aed61796f90169c84d4385cf4f X-VCS-Branch: dev Date: Wed, 8 May 2024 16:50:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e3fea8a6-0407-4c66-85c2-da394c32bb90 X-Archives-Hash: 7b545384d3a72370d31d5ef623c71e36 commit: bf1dd7962a7604aed61796f90169c84d4385cf4f Author: tastytea tastytea de> AuthorDate: Wed May 8 14:58:18 2024 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Wed May 8 16:49:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf1dd796 dev-cpp/trantor: add 1.5.18 Signed-off-by: tastytea tastytea.de> dev-cpp/trantor/Manifest | 1 + dev-cpp/trantor/trantor-1.5.18.ebuild | 54 +++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-cpp/trantor/Manifest b/dev-cpp/trantor/Manifest index 8b7e5bf43f..e92fd7b989 100644 --- a/dev-cpp/trantor/Manifest +++ b/dev-cpp/trantor/Manifest @@ -1,2 +1,3 @@ DIST trantor-1.5.15.tar.gz 153133 BLAKE2B a69e46072269a8664d33d3b3b6575de07c645151a97f60bfe350d52972cf2b48c062a342c7b2ca57566fa213cc56b585b2fdf34b6d0a5f9c533d1c3f6bab2ba6 SHA512 f08bba448229d8121534cade55b74ac0d9cf5deb1c1116794c21fee37f8f8c3b3d5e6618d0806942a9bcf5eb30c87879ddaf1104417fb3fe14de0827670e03e8 DIST trantor-1.5.17.tar.gz 155603 BLAKE2B 25631b3d8882cec58ff8eea2b449e805f846653d79af41a87b6ead6fff5c32dfc40559cdc734f51505a8ca1100b215cb8d66fa5fc5bf5baa96d6a3e93499a330 SHA512 43202240968b90d0e6d211d3b7a918567587e4ad26c360848efee2661cc1d49d35de408db5e2ff7314be879faac99ffa29ffa1f3735f9606d95874130db05250 +DIST trantor-1.5.18.tar.gz 155626 BLAKE2B 7fdd5fdd310b783dbc23be7e3594fe3e4e5135c1fcd7c9c96e153ff28397e543a4be50153e54f4a4f648de21d6c9ca5ffa85518806b7e6d91485956f3b3627b3 SHA512 2dba27efad95155a76968959d9bd2510be8502b9424716493f385aebbce2481553cc8fae283076029aed4bef6f0aadb0bec3f9acb98fbca3ef4d49b936558f8c diff --git a/dev-cpp/trantor/trantor-1.5.18.ebuild b/dev-cpp/trantor/trantor-1.5.18.ebuild new file mode 100644 index 0000000000..4a18bcd7bd --- /dev/null +++ b/dev-cpp/trantor/trantor-1.5.18.ebuild @@ -0,0 +1,54 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Non-blocking I/O tcp network lib based on c++14/17" +HOMEPAGE="https://github.com/an-tao/trantor" +SRC_URI="https://github.com/an-tao/trantor/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="adns doc +spdlog +ssl test" +RESTRICT="!test? ( test )" + +RDEPEND=" + adns? ( net-dns/c-ares:= ) + ssl? ( dev-libs/openssl:= ) + spdlog? ( + dev-libs/spdlog:= + dev-libs/libfmt:= + ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-cpp/gtest ) +" +BDEPEND="doc? ( app-text/doxygen[dot] )" + +src_prepare() { + sed -i 's/ -Werror)$/)/' CMakeLists.txt || die "could not remove -Werror" + cmake_src_prepare +} + +src_configure() { + local -a mycmakeargs=( + "-DBUILD_SHARED_LIBS=YES" + "-DBUILD_DOC=$(usex doc)" + "-DBUILD_TESTING=$(usex test)" + "-DBUILD_C-ARES=$(usex adns)" + "-DTRANTOR_USE_TLS=$(usex ssl openssl none)" + "-DUSE_SPDLOG=$(usex spdlog)" + ) + + cmake_src_configure +} + +src_install() { + use doc && HTML_DOCS="${BUILD_DIR}/docs/trantor/html/*" + + cmake_src_install +}