From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1558418-garchives=archives.gentoo.org@lists.gentoo.org>
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 D3368158089
	for <garchives@archives.gentoo.org>; Thu, 28 Sep 2023 15:54:55 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 045492BC02E;
	Thu, 28 Sep 2023 15:54:55 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E3E852BC02E
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Sep 2023 15:54:54 +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 2B979335CEE
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Sep 2023 15:54:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A4CC51271
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Sep 2023 15:54:52 +0000 (UTC)
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" <davidroman96@gmail.com>
Message-ID: <1695905182.3f145cec6eedba5292dd9c0d52afb980d6cc5e04.davidroman@gentoo>
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/trantor/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: dev-cpp/trantor/Manifest dev-cpp/trantor/trantor-1.5.14.ebuild
X-VCS-Directories: dev-cpp/trantor/
X-VCS-Committer: davidroman
X-VCS-Committer-Name: David Roman
X-VCS-Revision: 3f145cec6eedba5292dd9c0d52afb980d6cc5e04
X-VCS-Branch: master
Date: Thu, 28 Sep 2023 15:54:52 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: efa75ba9-b854-431f-ac78-663c3f46e5dd
X-Archives-Hash: 8574ce9ab62c9cd08ecc53b01aa5131d

commit:     3f145cec6eedba5292dd9c0d52afb980d6cc5e04
Author:     tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu Sep 28 12:46:22 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Sep 28 12:46:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f145cec

dev-cpp/trantor: add 1.5.14

Signed-off-by: tastytea <gentoo <AT> tastytea.de>

 dev-cpp/trantor/Manifest              |  1 +
 dev-cpp/trantor/trantor-1.5.14.ebuild | 49 +++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-cpp/trantor/Manifest b/dev-cpp/trantor/Manifest
index 0cbc220f24..78c9c3b6f5 100644
--- a/dev-cpp/trantor/Manifest
+++ b/dev-cpp/trantor/Manifest
@@ -1,2 +1,3 @@
 DIST trantor-1.5.11.tar.gz 113152 BLAKE2B 6ec0c8ae98835ad5fa94ab154ac3910496ddba2f67e307f90b48ee5bc39d3b4158adcac39b1bd2c2b7343a31f9fba394a6cbbb4fa86c1d1a8f1f28887d5a7955 SHA512 dd65938bebb2e6714e5603db3bfc82cd1a63395c17dce014147a41fdc74548cb526e1457a7472aa51bb80ce629a9935b4db9eeadf735efaf30899ef73f776a58
 DIST trantor-1.5.13.tar.gz 143230 BLAKE2B 298870f3b132d4dbacbab88b9689fd2e8fec7450dcca82fc985393b718a701008debea7a50f2d7814871a9399bb423f21b9a9454de59468f7bfade51b70a283d SHA512 4f4cef4103faa323e5213c1b59c0d86606831e97127594d5c9248481ba4ce66905c40c25c5d83d00e78936d53ba03b8450e6848199a85e9120bb8f2522bf7805
+DIST trantor-1.5.14.tar.gz 143236 BLAKE2B 843c67a3a4dedc8e476115438eae9a0ec99a6739fb5f29c79780c38d8d82dfe4b5add42d3c0c589c0be35662f7d24a89dfe037ac422fe8d53f00975b2a646f84 SHA512 468e5ffe9b47537992b9852ddec7714fb6e63147ff51ecfade7e1b0af02f5231ebc50b71d48d77c188f8d2af77c64c40fcbdc907f4f8d45d488aa2966f9406f9

diff --git a/dev-cpp/trantor/trantor-1.5.14.ebuild b/dev-cpp/trantor/trantor-1.5.14.ebuild
new file mode 100644
index 0000000000..42685e11c9
--- /dev/null
+++ b/dev-cpp/trantor/trantor-1.5.14.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2021-2023 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/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="adns doc +ssl test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	adns? ( net-dns/c-ares:= )
+	ssl? ( dev-libs/openssl:= )
+"
+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)"
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	use doc && HTML_DOCS="${BUILD_DIR}/docs/trantor/html/*"
+
+	cmake_src_install
+}