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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 23B6D158086 for ; Wed, 20 Oct 2021 19:08:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6ECF5E0884; Wed, 20 Oct 2021 19:08:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F07DE0884 for ; Wed, 20 Oct 2021 19:08:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 25D0C343A63 for ; Wed, 20 Oct 2021 19:07:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C888283 for ; Wed, 20 Oct 2021 19:07: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: <1634756629.d20ae3238a177ece7076f78ef445dbb69d5e96e0.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.2.ebuild X-VCS-Directories: dev-cpp/trantor/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: d20ae3238a177ece7076f78ef445dbb69d5e96e0 X-VCS-Branch: dev Date: Wed, 20 Oct 2021 19:07: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: 104cb6c5-1173-4442-8b54-79e18ba2d1ef X-Archives-Hash: ee9908ef1b23b1af01e4ece875e23663 commit: d20ae3238a177ece7076f78ef445dbb69d5e96e0 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Wed Oct 20 17:56:31 2021 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Wed Oct 20 19:03:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d20ae323 dev-cpp/trantor: Version bump 1.5.2. Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> dev-cpp/trantor/Manifest | 1 + dev-cpp/trantor/trantor-1.5.2.ebuild | 45 ++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-cpp/trantor/Manifest b/dev-cpp/trantor/Manifest index e33bc9152..6121d49a9 100644 --- a/dev-cpp/trantor/Manifest +++ b/dev-cpp/trantor/Manifest @@ -1 +1,2 @@ DIST trantor-1.5.1.tar.gz 102696 BLAKE2B 7670b2e2bb56b703aa387df463433261cff33b5a8682681071ff5159d14a516e11faebde7e2431232ba3651f6420a017491a7468ce3f90c4c099284808e27171 SHA512 9f6664abc94943598805192ee09a98340e6e20efb15e448aac5e21480f1798b0991782d18766f5ef54399251d4980c2f68aeda3136c7e058e3c31623c8f7ce3f +DIST trantor-1.5.2.tar.gz 104534 BLAKE2B d6c5a1d2eff46f5ddcd2d31d3908ee0ac71c96fde097eb3f46ec368f4292604c2dd0689018c9c7272f1a8479d908e6c486776689d517513c6e15b7392e0c7376 SHA512 e5977023c7b435bb7c9041a57e9b4488f34aa977e81709b3f20ae2c56ff6920ef8a4c64813be36705465ef87015c678537e22e349d1408aeb27b33f80eb38f1b diff --git a/dev-cpp/trantor/trantor-1.5.2.ebuild b/dev-cpp/trantor/trantor-1.5.2.ebuild new file mode 100644 index 000000000..2123d8f25 --- /dev/null +++ b/dev-cpp/trantor/trantor-1.5.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="adns doc +ssl test" +RESTRICT="!test? ( test )" + +RDEPEND=" + adns? ( net-dns/c-ares ) + ssl? ( dev-libs/openssl ) +" +DEPEND=" + ${RDEPEND} + doc? ( app-doc/doxygen ) + test? ( dev-cpp/gtest ) +" + +src_prepare() { + use ssl || sed -i '/find_package(OpenSSL)/d' CMakeLists.txt || die + + use doc && HTML_DOCS="${BUILD_DIR}/docs/trantor/html/*" + + cmake_src_prepare +} + +src_configure() { + local -a mycmakeargs=( + "-DBUILD_TRANTOR_SHARED=YES" + "-DBUILD_DOC=$(usex doc)" + "-DBUILD_TESTING=$(usex test)" + "-DBUILD_C-ARES=$(usex adns)" + ) + + cmake_src_configure +}