commit:     c6fdeab2ec70ea0ba352a496dbdf35010951eac6
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri Nov 26 11:21:11 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri Nov 26 11:28:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c6fdeab2

dev-cpp/folly:

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

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

diff --git a/dev-cpp/folly/Manifest b/dev-cpp/folly/Manifest
index 363173f99..63a1a8bee 100644
--- a/dev-cpp/folly/Manifest
+++ b/dev-cpp/folly/Manifest
@@ -1 +1,2 @@
 DIST folly-2021.10.25.00.tar.gz 3507805 BLAKE2B 
c0fee84e596b095518f1f50d50f5d6f47faf35940e399a6ef73434d2fc4fc0f6bceb7953b471a6f70387210e0b3f3388c2922a626c8ba982b8b1f4498775dcd2
 SHA512 
5a61674e61dd341e9fcd73343b3e64c5573f4f503693adfaa18b345a2e19383f361effb5df52f7211f0c44be869a3c5eea4b392d07c823fdb42cf11c354eedde
+DIST folly-2021.11.15.00.tar.gz 3523290 BLAKE2B 
65c6d407796d64b9eb391f2d21b80293e2487ba592fe92a18ffa426c8d952661b42e43db4e1deed48d5949fc2d0bc005b479475fab162c55157a2cad0a2979c3
 SHA512 
9c0f5ea072c65927d43ed58d05263e0db6a57e390ea208016e163bd9c6b6a58dfb8b989549d9976cc55b583ee2f7431f6fbca867e4502cabc6989c7caabe92f2

diff --git a/dev-cpp/folly/folly-2021.11.15.00.ebuild 
b/dev-cpp/folly/folly-2021.11.15.00.ebuild
new file mode 100644
index 000000000..d829bac72
--- /dev/null
+++ b/dev-cpp/folly/folly-2021.11.15.00.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+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() {
+       filter-flags "-fno-rtti"
+       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