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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C47A2158170 for ; Sun, 21 Jul 2024 15:17:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 909C22BC0A6; Sun, 21 Jul 2024 15:16:59 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71A002BC0A6 for ; Sun, 21 Jul 2024 15:16:59 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 36845335DC5 for ; Sun, 21 Jul 2024 15:16:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8EF41CE9 for ; Sun, 21 Jul 2024 15:16:56 +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: <1721573750.83f3095e8bb7e9453bcfdbfa19dae67d9ff841a8.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.20.ebuild X-VCS-Directories: dev-cpp/trantor/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 83f3095e8bb7e9453bcfdbfa19dae67d9ff841a8 X-VCS-Branch: dev Date: Sun, 21 Jul 2024 15:16:56 +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: c12ff11c-e9f9-4b94-98e0-c6d1fe9cef47 X-Archives-Hash: 78b47db4a9c306cb9a2c9daa5baa297c commit: 83f3095e8bb7e9453bcfdbfa19dae67d9ff841a8 Author: tea tastytea de> AuthorDate: Sun Jul 21 13:51:10 2024 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Sun Jul 21 14:55:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=83f3095e dev-cpp/trantor: add 1.5.20 Signed-off-by: tea tastytea.de> dev-cpp/trantor/Manifest | 1 + dev-cpp/trantor/trantor-1.5.20.ebuild | 54 +++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-cpp/trantor/Manifest b/dev-cpp/trantor/Manifest index 14811ecbe..2dd6f6aab 100644 --- a/dev-cpp/trantor/Manifest +++ b/dev-cpp/trantor/Manifest @@ -1,2 +1,3 @@ DIST trantor-1.5.18.tar.gz 155626 BLAKE2B 7fdd5fdd310b783dbc23be7e3594fe3e4e5135c1fcd7c9c96e153ff28397e543a4be50153e54f4a4f648de21d6c9ca5ffa85518806b7e6d91485956f3b3627b3 SHA512 2dba27efad95155a76968959d9bd2510be8502b9424716493f385aebbce2481553cc8fae283076029aed4bef6f0aadb0bec3f9acb98fbca3ef4d49b936558f8c DIST trantor-1.5.19.tar.gz 156467 BLAKE2B 9683cc3691389a48be1060e05c96329f826b976b4090b869d5ea097b30b33d22bd1f5373987d5900f5f2f587227eb59c442bbfb0126cce1636887472352af948 SHA512 76264df770b14702cae88bb77c8e863e85eb034fd14bb062d3414f981b759be61bff3ce5aa1c8cca44bf0ca0b3568ed77248c9986eb23b6715631cdae9445a02 +DIST trantor-1.5.20.tar.gz 156703 BLAKE2B 628c8ccae86809f0cd547eb991a67456f871d8ad4aa9606933ce91f98744c2faeb83b41d098811757ae6fcb0e221d5fe389d9684d98fa9c40570f8202b0489d3 SHA512 3666a49de1f13f52bac6d11d7c690c1d51b73d6f7e50b2a7591cd590639f88e33282d8b6b422f518ab73b42ba2d69d6db0852338563b366c548daaba09d0b49c diff --git a/dev-cpp/trantor/trantor-1.5.20.ebuild b/dev-cpp/trantor/trantor-1.5.20.ebuild new file mode 100644 index 000000000..4a18bcd7b --- /dev/null +++ b/dev-cpp/trantor/trantor-1.5.20.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 +}