commit:     f484113482deedce03f48803917c070487169625
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Oct 23 14:17:45 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Oct 23 14:18:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f4841134

dev-cpp/fizz: add 2021.10.18.00

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/fizz/Manifest                  |  1 +
 dev-cpp/fizz/fizz-2021.10.18.00.ebuild | 46 ++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-cpp/fizz/Manifest b/dev-cpp/fizz/Manifest
index caf1d015b..2e7c15501 100644
--- a/dev-cpp/fizz/Manifest
+++ b/dev-cpp/fizz/Manifest
@@ -1,2 +1,3 @@
 DIST fizz-2021.08.02.00.tar.gz 540357 BLAKE2B 
6edb14ea4b981a7b9fe076570e583c8b875929e63135d4848b1c1a2aa109e1258fd541376bc9346dc229f2dba0e2c346cebb5b486c8a33bcc54f6746ff3de5f0
 SHA512 
59c734127d9a1dfb7975929f20ae27a11ee3f2a35fb73ef1ba311b347457339a524194459023e2fb038cc7bf688e13beb6391227bec1ecdb12397344e45f051f
 DIST fizz-2021.10.04.00.tar.gz 543594 BLAKE2B 
d024f3a7d7ea4fd03f6525e225e6f33dbe931a7c8ff5b01fb572b22f09286d606897c091f63ebecd1b1558667b21bae635b1b555b1ca82b610d152160eb0f11e
 SHA512 
be99b9abd8b832af22411ab894ee82285a637c79176955cd0cf242aed77de1883f98eaaeeef7391a75b42f7c3a4e8c2b26a11a242554688adde84a02f87261c9
+DIST fizz-2021.10.18.00.tar.gz 566606 BLAKE2B 
3ebbc88578f7490d221ca1b883cd449c976646c3c8b2aebbe167b862e5293fb524a347ac0385be265be978c13984f92c418428529904a69a0702d1ffe485159e
 SHA512 
4a8a4e71b49ea08136b3788007b48af9aa77e5cc1f25bb603dd6140a3fd7f100d98a84d99bb688cb918a6b48ab10f59187f24cc90e8fa4d6e9266a9414ff2e1a

diff --git a/dev-cpp/fizz/fizz-2021.10.18.00.ebuild 
b/dev-cpp/fizz/fizz-2021.10.18.00.ebuild
new file mode 100644
index 000000000..a1908fcff
--- /dev/null
+++ b/dev-cpp/fizz/fizz-2021.10.18.00.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C++14 implementation of the TLS-1.3 standard"
+HOMEPAGE="https://github.com/facebookincubator/fizz";
+
+SRC_URI="https://github.com/facebookincubator/fizz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+CMAKE_USE_DIR="${S}/fizz"
+
+RDEPEND="
+       ~dev-cpp/folly-${PV}:=
+       dev-cpp/gflags
+       dev-cpp/glog
+       dev-libs/double-conversion
+       dev-libs/libevent
+       dev-libs/libfmt
+       dev-libs/libsodium
+       dev-libs/openssl:0=
+"
+#TODO: discover if gtest is linked
+DEPEND="
+       ${RDEPEND}
+       dev-cpp/gtest
+"
+
+src_prepare() {
+       cmake_src_prepare
+       sed -i '/Sodium/d' fizz/cmake/fizz-config.cmake.in || die
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DLIB_INSTALL_DIR=$(get_libdir)
+       )
+
+       cmake_src_configure
+}

Reply via email to