dev-cpp/folly: add 2021.10.04.00

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-10-05 22:47:13 +02:00
parent 2779cde02f
commit cb3932ef06
2 changed files with 38 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST folly-2021.08.02.00.tar.gz 3469070 BLAKE2B f670746690c3531e573fb01293361808f943de7324bfd4862a10ea9764a41197094e522668e580946244279fa096f7173958cccc57b4f610c7c08ccbf3ec702d SHA512 dbe005f31eeb60e85ef949432de09d7c49a52b19f195c06ef265189a13ad98cbd4b902b59f303c140b7aedc5ff8a604cc9bda9d1d374290561124a729c07149d
DIST folly-2021.10.04.00.tar.gz 3495417 BLAKE2B ed8745c605ad66ee5bd2474737c7e0a7d08243bf809a1880cc010077a3ec8bd6155d7dc853fd165a956b5635fbdd1691de004320e78a1be194aaedae8554b77d SHA512 685cb716d1131a456a927d769eaf7174ec4528cdafd124c38a424c630a820a90998258c79cb793d91c8a4d587367524e597cb4dcc5d4f377815bfdd7ad29cbf2

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="An open-source C++ library developed and used at Facebook"
HOMEPAGE="https://github.com/facebook/folly"
SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
DEPEND="
app-arch/lz4
<app-arch/snappy-1.1.9
app-arch/zstd
dev-cpp/gflags
dev-cpp/glog[gflags]
dev-libs/boost[context,threads(+)]
dev-libs/double-conversion
dev-libs/libevent
dev-libs/libfmt
sys-libs/binutils-libs
sys-libs/zlib
"
RDEPEND="${DEPEND}"
src_prepare() {
cmake_src_prepare
sed \
-e "s/lib CACHE/$(get_libdir) CACHE/" \
-e "s/lib\/cmake\/folly CACHE/$(get_libdir)\/cmake\/folly CACHE/" \
-i CMakeLists.txt || die
}