commit:     f8f6507860cab68411f090b3d989f67785e4e8d4
Author:     sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Mon Apr 21 15:59:54 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 22 01:15:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8f65078

dev-cpp/fizz: add 2025.04.14.00

RDEPEND fixed via qa-vdb.

Closes: https://bugs.gentoo.org/946157
Bug: https://bugs.gentoo.org/946922
Signed-off-by: sin-ack <sin-ack <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/fizz/Manifest                  |  1 +
 dev-cpp/fizz/fizz-2025.04.14.00.ebuild | 57 ++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-cpp/fizz/Manifest b/dev-cpp/fizz/Manifest
index cfcd6fbbd6e1..9de574e6c824 100644
--- a/dev-cpp/fizz/Manifest
+++ b/dev-cpp/fizz/Manifest
@@ -1 +1,2 @@
 DIST fizz-2024.11.04.00.gh.tar.gz 736821 BLAKE2B 
af8ecc3f78dfc98d854b402f3e44f8be7b57684d09a34c4a6a19d7c47d7663cc835f27328ed0ee0a25465e7d8dbbb46c8f8085c0b9da7948c99aaf868c8c1fcc
 SHA512 
004665bca243ac835be3628e2196450fee30852e414b068ae98555193c3e9788800536a6280e218614df89061c3f05e501dfd89f08f3c5ba3942c3e9d476bf2c
+DIST fizz-2025.04.14.00.gh.tar.gz 752503 BLAKE2B 
e7d23ba77e5d788cca84826ec670b1279c21a0576211916cff15135166891e779e4c77ba9d5f8cd3e543e7736a4bb8abf2e7ccb18e4c00a38733664a0f6e0e0d
 SHA512 
89572d49c353b0f29c701d1dce5aa0840074907ec3b43617f95f6938375a3ead2a3a22b6794b78892722be05f0e1d2b75090612bace8fd3fcc1fa9023c920123

diff --git a/dev-cpp/fizz/fizz-2025.04.14.00.ebuild 
b/dev-cpp/fizz/fizz-2025.04.14.00.ebuild
new file mode 100644
index 000000000000..2d4381e9da12
--- /dev/null
+++ b/dev-cpp/fizz/fizz-2025.04.14.00.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# These must be bumped together:
+# dev-cpp/edencommon
+# dev-cpp/fb303
+# dev-cpp/fbthrift
+# dev-cpp/fizz
+# dev-cpp/folly
+# dev-cpp/mvfst
+# dev-cpp/wangle
+# dev-util/watchman
+
+CMAKE_USE_DIR="${S}/fizz"
+
+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/refs/tags/v${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# NOTE: Fizz supports multiple backends but the CMake build only
+#       allows building against OpenSSL. Can't do anything about
+#       that unless Facebook supports other backends in CMake.
+RDEPEND="
+       app-arch/zstd:=
+       ~dev-cpp/folly-${PV}:=
+       dev-cpp/gflags:=
+       dev-cpp/glog:=[gflags]
+       dev-libs/double-conversion:=
+       dev-libs/libfmt:=
+       dev-libs/libsodium:=
+       dev-libs/openssl:=
+       sys-libs/zlib
+"
+uEPEND="
+       ${RDEPEND}
+       test? ( dev-cpp/gtest )
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}"
+               -DLIB_INSTALL_DIR="$(get_libdir)"
+               -DBUILD_TESTS="$(usex test ON OFF)"
+       )
+
+       cmake_src_configure
+}

Reply via email to