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 E364B15838C for ; Mon, 15 Jan 2024 22:14:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76F542BC015; Mon, 15 Jan 2024 22:14:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 5640A2BC015 for ; Mon, 15 Jan 2024 22:14:37 +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 296B83432A8 for ; Mon, 15 Jan 2024 22:14:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8FD6295D for ; Mon, 15 Jan 2024 22:14:34 +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: <1705341378.24a5cdb345d461cece3df38d193471dda8e2b387.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.15.ebuild X-VCS-Directories: dev-cpp/trantor/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 24a5cdb345d461cece3df38d193471dda8e2b387 X-VCS-Branch: dev Date: Mon, 15 Jan 2024 22:14:34 +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: a2e21f8b-d05c-44ab-946f-61770f2ea1e1 X-Archives-Hash: 11950b6a12107922f96d74379fea3ebe commit: 24a5cdb345d461cece3df38d193471dda8e2b387 Author: tastytea tastytea de> AuthorDate: Mon Jan 15 17:56:00 2024 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Mon Jan 15 17:56:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=24a5cdb3 dev-cpp/trantor: add 1.5.15 Signed-off-by: tastytea tastytea.de> dev-cpp/trantor/Manifest | 1 + dev-cpp/trantor/trantor-1.5.15.ebuild | 54 +++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-cpp/trantor/Manifest b/dev-cpp/trantor/Manifest index a8b84df545..c46f09bb0c 100644 --- a/dev-cpp/trantor/Manifest +++ b/dev-cpp/trantor/Manifest @@ -1,2 +1,3 @@ DIST trantor-1.5.14.tar.gz 143236 BLAKE2B 843c67a3a4dedc8e476115438eae9a0ec99a6739fb5f29c79780c38d8d82dfe4b5add42d3c0c589c0be35662f7d24a89dfe037ac422fe8d53f00975b2a646f84 SHA512 468e5ffe9b47537992b9852ddec7714fb6e63147ff51ecfade7e1b0af02f5231ebc50b71d48d77c188f8d2af77c64c40fcbdc907f4f8d45d488aa2966f9406f9 DIST trantor-1.5.14_p1.tar.gz 152566 BLAKE2B 09ea5e1d35d653073947e177a9630c93b235e84cdc66a69d4a944f656e957afe31206d7b6079b68f7517bfcd9619aa98e7e4bcc32c7873b01e7cfd94e0ea5704 SHA512 0725b66351a036f829499edb19be31f434ebea7133b129d994f3cb1a5e8c08844c181eab383b074bbcc8bf8efe7d761d12c593180d8ac07edf6dd8bde580578c +DIST trantor-1.5.15.tar.gz 153133 BLAKE2B a69e46072269a8664d33d3b3b6575de07c645151a97f60bfe350d52972cf2b48c062a342c7b2ca57566fa213cc56b585b2fdf34b6d0a5f9c533d1c3f6bab2ba6 SHA512 f08bba448229d8121534cade55b74ac0d9cf5deb1c1116794c21fee37f8f8c3b3d5e6618d0806942a9bcf5eb30c87879ddaf1104417fb3fe14de0827670e03e8 diff --git a/dev-cpp/trantor/trantor-1.5.15.ebuild b/dev-cpp/trantor/trantor-1.5.15.ebuild new file mode 100644 index 0000000000..57cbda2b0b --- /dev/null +++ b/dev-cpp/trantor/trantor-1.5.15.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-doc/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 +}