1 |
commit: 8de7a5844390037448232bed66f6fb5d8ea9897c |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Sat Feb 26 05:43:45 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 26 05:45:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8de7a584 |
7 |
|
8 |
dev-cpp/trantor: Version bump 1.5.5 |
9 |
|
10 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
11 |
|
12 |
dev-cpp/trantor/Manifest | 1 + |
13 |
dev-cpp/trantor/trantor-1.5.5.ebuild | 44 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-cpp/trantor/Manifest b/dev-cpp/trantor/Manifest |
17 |
index 2ca3f9e4d..3e0912219 100644 |
18 |
--- a/dev-cpp/trantor/Manifest |
19 |
+++ b/dev-cpp/trantor/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST trantor-1.5.3.tar.gz 104794 BLAKE2B 47cebfc81543d050aa26e9aa0ec2fc9a30311ef25ab750dfe0086a917cc6c5588029b839b6c6205c7a23511f570e9d1dd0cbfdb8ef6a6769ee2d06095862c12a SHA512 2d032c59ad1b57bb1711fe99436fbc8eec5400d91bf310986cb4985e2c2ce1143844701a67241d0fe8dc7ab706b828feded3138aef8cf9d5620e581a1a770079 |
22 |
DIST trantor-1.5.4.tar.gz 104945 BLAKE2B bb4c038ef4b98eb127ddab313b9184af9829e1198d5bee295be49ae3d8f6941f11d8b3782056ebb7a779cb454f6e09daee464f597ce623ad1065df943ae47042 SHA512 adb98a78d254b19ec0866cf3bfa06011123fca4553e73702024ebe4cde6d95fb1de29d6894d89362339b82e1a6738b32ffc1a682cbb33ae94354df4a45cda8c7 |
23 |
+DIST trantor-1.5.5.tar.gz 106134 BLAKE2B 52af020c2b862532f5a473b7714654d5a1ea93415059aa3675e0c48d630a1b5ef43782a60ca1d09752c1ef9b90dfec19155af39673e25eb0c99dfc40a9dc0ddb SHA512 41068dcefcaf55908735126375b65a83a7d7085f30d5eb14e8d73fa255405ec77164c34b9ef0e5e6da3aeae3e66b9d57d4fca8901d63d4414bf8e857bd25dcd4 |
24 |
|
25 |
diff --git a/dev-cpp/trantor/trantor-1.5.5.ebuild b/dev-cpp/trantor/trantor-1.5.5.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..fc1e115da |
28 |
--- /dev/null |
29 |
+++ b/dev-cpp/trantor/trantor-1.5.5.ebuild |
30 |
@@ -0,0 +1,44 @@ |
31 |
+# Copyright 2021-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit cmake |
37 |
+ |
38 |
+DESCRIPTION="Non-blocking I/O tcp network lib based on c++14/17" |
39 |
+HOMEPAGE="https://github.com/an-tao/trantor" |
40 |
+SRC_URI="https://github.com/an-tao/trantor/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64" |
45 |
+IUSE="adns doc +ssl test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ adns? ( net-dns/c-ares ) |
50 |
+ ssl? ( dev-libs/openssl ) |
51 |
+" |
52 |
+DEPEND=" |
53 |
+ ${RDEPEND} |
54 |
+ test? ( dev-cpp/gtest ) |
55 |
+" |
56 |
+BDEPEND="doc? ( app-doc/doxygen )" |
57 |
+ |
58 |
+src_configure() { |
59 |
+ local -a mycmakeargs=( |
60 |
+ "-DBUILD_TRANTOR_SHARED=YES" |
61 |
+ "-DBUILD_DOC=$(usex doc)" |
62 |
+ "-DBUILD_TESTING=$(usex test)" |
63 |
+ "-DBUILD_C-ARES=$(usex adns)" |
64 |
+ "$(cmake_use_find_package ssl OpenSSL)" |
65 |
+ ) |
66 |
+ |
67 |
+ cmake_src_configure |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ use doc && HTML_DOCS="${BUILD_DIR}/docs/trantor/html/*" |
72 |
+ |
73 |
+ cmake_src_install |
74 |
+} |