From 3f0a5c91f61e50501d5d3f44c8d33bf0223a2771 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Tue, 22 Mar 2022 18:47:51 +0100 Subject: [PATCH] dev-cpp/fbthrift: add 2022.03.21.00 Signed-off-by: Alessandro Barbieri --- dev-cpp/fbthrift/Manifest | 1 + .../fbthrift/fbthrift-2022.03.21.00.ebuild | 46 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 dev-cpp/fbthrift/fbthrift-2022.03.21.00.ebuild diff --git a/dev-cpp/fbthrift/Manifest b/dev-cpp/fbthrift/Manifest index 0a509da715..7d99e43a10 100644 --- a/dev-cpp/fbthrift/Manifest +++ b/dev-cpp/fbthrift/Manifest @@ -1 +1,2 @@ DIST fbthrift-2022.02.28.00.tar.gz 6814491 BLAKE2B ce2646a04d1b59821d23162d51b02507a91a81208328d4c983cd99be8fa0e79efb66d4af3f244fa6e3a50e9e84a794cea9ec970e1f0b266b40d632aa064f7a9f SHA512 303e7c328f1ae7132ad81e2135b082997a40c9079bbeea701762f939ada2d80cf4f140ad6981d20273df9731bfb286f3336a999c13e26d3add49bf1c091de82c +DIST fbthrift-2022.03.21.00.tar.gz 7178541 BLAKE2B 6e875f19ae19b5ccd1740d5eadb0b4f106d96b95ca1ced9e05a5bfd7f8e7de84aec722f0dfb0721c81e320185359d3f9c595ebfebef8638b6ca6788df98d37d4 SHA512 8d2d9430dc3a4ecc23042cd9bcf4eee888824449d05d98baec408aef806b934d643e578d3876169f69966c846aeddbe0aa84416c4e020cba028a49d2fccfe7ab diff --git a/dev-cpp/fbthrift/fbthrift-2022.03.21.00.ebuild b/dev-cpp/fbthrift/fbthrift-2022.03.21.00.ebuild new file mode 100644 index 0000000000..d05d4ff9ac --- /dev/null +++ b/dev-cpp/fbthrift/fbthrift-2022.03.21.00.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit cmake python-single-r1 + +DESCRIPTION="Facebook's branch of Apache Thrift, including a new C++ server" +HOMEPAGE="https://github.com/facebook/fbthrift" +SRC_URI="https://github.com/facebook/fbthrift/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-arch/zstd + ~dev-cpp/fizz-${PV}:= + ~dev-cpp/folly-${PV}:= + dev-cpp/gflags + dev-cpp/glog + ~dev-cpp/wangle-${PV}:= + dev-libs/libfmt + dev-libs/openssl:0= + sys-libs/zlib + ${PYTHON_DEPS} +" +DEPEND=" + ${RDEPEND} + $(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]') +" +BDEPEND=" + sys-devel/bison + sys-devel/flex +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR=$(get_libdir) + ) + cmake_src_configure +}