diff options
Diffstat (limited to 'dev-cpp/mvfst')
-rw-r--r-- | dev-cpp/mvfst/Manifest | 3 | ||||
-rw-r--r-- | dev-cpp/mvfst/metadata.xml | 15 | ||||
-rw-r--r-- | dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild | 49 |
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-cpp/mvfst/Manifest b/dev-cpp/mvfst/Manifest new file mode 100644 index 000000000000..40f39ebe3b68 --- /dev/null +++ b/dev-cpp/mvfst/Manifest @@ -0,0 +1,3 @@ +DIST mvfst-2024.11.04.00.gh.tar.gz 1983543 BLAKE2B 9c8b0da32baddd04af29e892a379333f89af45957a415dfa7f6da86f9a9b39fc8fbc73e450deb51e7a61b4ddfd37f08dc3d9ba8f48f83557aab4ae762068ec14 SHA512 4a000583884777fa876f3bfc52a3420c9cf8818f943c07898ac3b313837092fc173d8db497fd59027ef405d8fa5e3114a53b3bc5cf3fef398ca712c06a1da3e0 +EBUILD mvfst-2024.11.04.00.ebuild 969 BLAKE2B 2a5f0ae62f0c03d3ff0744e14f727fd6eba9a00feede67f5fd120baf0d96498bccbdbc9b838b82f6a7efd3af34ea34bd83c9e833848bdbcd6b84747630476211 SHA512 0714d9225b36a79690ab49e8595cff9e20ab7c9212c476aecf0795ba78aac58d01188a35dfe6d036ac2528203d62fc6441bf16687be0c0a8030c569fdea9d5a6 +MISC metadata.xml 472 BLAKE2B 916daab0f3a2f9df3019f592d45d217f9af4c856087053cebec1ad892961654c96957ce953e15a6c32743f6909e8e19063766a2dfdff35a6f8402caff1119d5d SHA512 3da6ea7c55662d148b91146947789430cbb6ca88b9547de2a75b007e579d2ec513b1a03517c577ad43ebc7282962db5c04a1a27f2a0e39d15cac4d6018a53e15 diff --git a/dev-cpp/mvfst/metadata.xml b/dev-cpp/mvfst/metadata.xml new file mode 100644 index 000000000000..48c4665d7f55 --- /dev/null +++ b/dev-cpp/mvfst/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>sin-ack@protonmail.com</email> + <name>sin-ack</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">facebook/mvfst</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild b/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild new file mode 100644 index 000000000000..b920ce229a20 --- /dev/null +++ b/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022-2024 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 + +inherit cmake + +DESCRIPTION="An implementation of the QUIC transport protocol" +HOMEPAGE="https://github.com/facebook/mvfst" +SRC_URI="https://github.com/facebook/mvfst/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + ~dev-cpp/fizz-${PV}:= + ~dev-cpp/folly-${PV}:= + dev-cpp/gflags:= + dev-cpp/glog:=[gflags] + dev-libs/boost:= + dev-libs/libfmt:= +" +DEPEND=" + ${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 +} |