commit: cb3932ef0683c4a8d58be1186bda18dbd90b169f Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Tue Oct 5 20:47:13 2021 +0000 Commit: Theo Anderson <telans <AT> posteo <DOT> de> CommitDate: Tue Oct 5 20:50:52 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cb3932ef
dev-cpp/folly: add 2021.10.04.00 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-cpp/folly/Manifest | 1 + dev-cpp/folly/folly-2021.10.04.00.ebuild | 37 ++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-cpp/folly/Manifest b/dev-cpp/folly/Manifest index 3b6d47a6a..c6f7a6ee9 100644 --- a/dev-cpp/folly/Manifest +++ b/dev-cpp/folly/Manifest @@ -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 diff --git a/dev-cpp/folly/folly-2021.10.04.00.ebuild b/dev-cpp/folly/folly-2021.10.04.00.ebuild new file mode 100644 index 000000000..e95ea64e9 --- /dev/null +++ b/dev-cpp/folly/folly-2021.10.04.00.ebuild @@ -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 +}