commit:     7267e756b792208c50edfd14646b355c3db0b264
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Mon Jan  4 21:25:20 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Jan  4 21:25:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7267e756

dev-cpp/folly: bump to 2021.01.04.00

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>

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

diff --git a/dev-cpp/folly/Manifest b/dev-cpp/folly/Manifest
index 1d7a67b9..07df39d1 100644
--- a/dev-cpp/folly/Manifest
+++ b/dev-cpp/folly/Manifest
@@ -1 +1,2 @@
 DIST folly-2020.11.30.00.tar.gz 3261437 BLAKE2B 
5070819f1f8bac2030e761a8d2330379e8e5ba242d21330b98dcd598cb18e12046a9ad3fb6462f82dbc47c53cf0905c330e707201bfbbedb81f203ef1b30731e
 SHA512 
e7e06bd8c8e38af345d20a04886b4497c4f0c9877263dbcb5a3f2d17c7a3252a2529086a5a04d07c2d3a457ca3930c43672fc4f74b7bdbc2ec0d07abdf1ed425
+DIST folly-2021.01.04.00.tar.gz 3281402 BLAKE2B 
d6af10b7bf1297c5fe2a6893e23e10b24d4e3534324da1a13f4910e50fe7cec9d7082af3abb8b74746d63995f16bc33bca3d5c5ce7f2449196f8aaa1ff7ebe7a
 SHA512 
e4849e7d560d30b87fcf0af7c1536b18aa774de803104ccbacc1315e7962ad0c734dd06fe9ccca5b1f9ac97b3848085ef75a7dcdf6a685e24a36765a0aa4a181

diff --git a/dev-cpp/folly/folly-2021.01.04.00.ebuild 
b/dev-cpp/folly/folly-2021.01.04.00.ebuild
new file mode 100644
index 00000000..cbb6a45e
--- /dev/null
+++ b/dev-cpp/folly/folly-2021.01.04.00.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+       app-arch/zstd
+       dev-libs/double-conversion
+       dev-libs/libevent
+       dev-libs/libfmt
+       dev-cpp/gflags
+       dev-cpp/glog[gflags]
+       dev-libs/boost[context,threads]
+       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
+}

Reply via email to