Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/fizz/
Date: Sat, 23 Oct 2021 14:18:30
Message-Id: 1634998704.f484113482deedce03f48803917c070487169625.Alessandro-Barbieri@gentoo
1 commit: f484113482deedce03f48803917c070487169625
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sat Oct 23 14:17:45 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sat Oct 23 14:18:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f4841134
7
8 dev-cpp/fizz: add 2021.10.18.00
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-cpp/fizz/Manifest | 1 +
13 dev-cpp/fizz/fizz-2021.10.18.00.ebuild | 46 ++++++++++++++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/dev-cpp/fizz/Manifest b/dev-cpp/fizz/Manifest
17 index caf1d015b..2e7c15501 100644
18 --- a/dev-cpp/fizz/Manifest
19 +++ b/dev-cpp/fizz/Manifest
20 @@ -1,2 +1,3 @@
21 DIST fizz-2021.08.02.00.tar.gz 540357 BLAKE2B 6edb14ea4b981a7b9fe076570e583c8b875929e63135d4848b1c1a2aa109e1258fd541376bc9346dc229f2dba0e2c346cebb5b486c8a33bcc54f6746ff3de5f0 SHA512 59c734127d9a1dfb7975929f20ae27a11ee3f2a35fb73ef1ba311b347457339a524194459023e2fb038cc7bf688e13beb6391227bec1ecdb12397344e45f051f
22 DIST fizz-2021.10.04.00.tar.gz 543594 BLAKE2B d024f3a7d7ea4fd03f6525e225e6f33dbe931a7c8ff5b01fb572b22f09286d606897c091f63ebecd1b1558667b21bae635b1b555b1ca82b610d152160eb0f11e SHA512 be99b9abd8b832af22411ab894ee82285a637c79176955cd0cf242aed77de1883f98eaaeeef7391a75b42f7c3a4e8c2b26a11a242554688adde84a02f87261c9
23 +DIST fizz-2021.10.18.00.tar.gz 566606 BLAKE2B 3ebbc88578f7490d221ca1b883cd449c976646c3c8b2aebbe167b862e5293fb524a347ac0385be265be978c13984f92c418428529904a69a0702d1ffe485159e SHA512 4a8a4e71b49ea08136b3788007b48af9aa77e5cc1f25bb603dd6140a3fd7f100d98a84d99bb688cb918a6b48ab10f59187f24cc90e8fa4d6e9266a9414ff2e1a
24
25 diff --git a/dev-cpp/fizz/fizz-2021.10.18.00.ebuild b/dev-cpp/fizz/fizz-2021.10.18.00.ebuild
26 new file mode 100644
27 index 000000000..a1908fcff
28 --- /dev/null
29 +++ b/dev-cpp/fizz/fizz-2021.10.18.00.ebuild
30 @@ -0,0 +1,46 @@
31 +# Copyright 2021 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="C++14 implementation of the TLS-1.3 standard"
39 +HOMEPAGE="https://github.com/facebookincubator/fizz"
40 +
41 +SRC_URI="https://github.com/facebookincubator/fizz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +
47 +CMAKE_USE_DIR="${S}/fizz"
48 +
49 +RDEPEND="
50 + ~dev-cpp/folly-${PV}:=
51 + dev-cpp/gflags
52 + dev-cpp/glog
53 + dev-libs/double-conversion
54 + dev-libs/libevent
55 + dev-libs/libfmt
56 + dev-libs/libsodium
57 + dev-libs/openssl:0=
58 +"
59 +#TODO: discover if gtest is linked
60 +DEPEND="
61 + ${RDEPEND}
62 + dev-cpp/gtest
63 +"
64 +
65 +src_prepare() {
66 + cmake_src_prepare
67 + sed -i '/Sodium/d' fizz/cmake/fizz-config.cmake.in || die
68 +}
69 +
70 +src_configure() {
71 + local mycmakeargs=(
72 + -DLIB_INSTALL_DIR=$(get_libdir)
73 + )
74 +
75 + cmake_src_configure
76 +}