dev-cpp/fbthrift: add 2022.03.21.00

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-03-22 18:47:51 +01:00
parent 7ba25ac05f
commit 3f0a5c91f6
2 changed files with 47 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}