commit:     11e367663d221f686978b0c069a5d96c03b6d8cc
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Oct 23 14:17:28 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Oct 23 14:18:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11e36766

dev-cpp/folly: add 2021.10.18.00

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/folly/Manifest                   |  1 +
 dev-cpp/folly/folly-2021.10.18.00.ebuild | 37 ++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-cpp/folly/Manifest b/dev-cpp/folly/Manifest
index c6f7a6ee9..f08f8f09d 100644
--- a/dev-cpp/folly/Manifest
+++ b/dev-cpp/folly/Manifest
@@ -1,2 +1,3 @@
 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
+DIST folly-2021.10.18.00.tar.gz 3505501 BLAKE2B 
3642c8f7ce3e3504f2078ea01dd1a07f8c94acc0c9a33a78923c05b9d17beaac03eb9276e49c437c952a94fec8775b5a7d6ff97b4c4a8c97d43863a776c672a7
 SHA512 
69f8c526cd1e88d5d8bf0e5e0e207fd10ba3bf898d89ad57ac6c420ed89c90048c59cb825e074bd495e306dfbff5f8a80631bf152952447313ce3084c8392a78

diff --git a/dev-cpp/folly/folly-2021.10.18.00.ebuild 
b/dev-cpp/folly/folly-2021.10.18.00.ebuild
new file mode 100644
index 000000000..e95ea64e9
--- /dev/null
+++ b/dev-cpp/folly/folly-2021.10.18.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
+}

Reply via email to