Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/folly/
Date: Mon, 14 Jun 2021 02:27:38
Message-Id: 1623637650.48ab7fc43975bb2f37d2dde468749ebe79e2f7d0.Alessandro-Barbieri@gentoo
1 commit: 48ab7fc43975bb2f37d2dde468749ebe79e2f7d0
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Jun 13 23:59:38 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Mon Jun 14 02:27:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48ab7fc4
7
8 dev-cpp/folly: add 2021.06.07.00
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-cpp/folly/Manifest | 1 +
13 dev-cpp/folly/folly-2021.06.07.00.ebuild | 37 ++++++++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-cpp/folly/Manifest b/dev-cpp/folly/Manifest
17 index 880308b5a..26a05959e 100644
18 --- a/dev-cpp/folly/Manifest
19 +++ b/dev-cpp/folly/Manifest
20 @@ -1,3 +1,4 @@
21 DIST folly-2021.01.04.00.tar.gz 3281402 BLAKE2B d6af10b7bf1297c5fe2a6893e23e10b24d4e3534324da1a13f4910e50fe7cec9d7082af3abb8b74746d63995f16bc33bca3d5c5ce7f2449196f8aaa1ff7ebe7a SHA512 e4849e7d560d30b87fcf0af7c1536b18aa774de803104ccbacc1315e7962ad0c734dd06fe9ccca5b1f9ac97b3848085ef75a7dcdf6a685e24a36765a0aa4a181
22 DIST folly-2021.04.19.00.tar.gz 3375288 BLAKE2B e230f8ab2d7a654e5fade9564bc53c4486b4adcacf2043007c89d03d1527a1c663766d6c6c562c521cec78bc1641d85b781a994143ed5add9c94d7834e9e85dc SHA512 056edc528bc0c30a4c7f926e08ff682f22b4b85f592213c359550aac5d4c6dd6b5f4e5d266a3fca6cd7fc88b90a6e14b4b613b223b663910544b477b03ac5c04
23 DIST folly-2021.05.24.00.tar.gz 3391502 BLAKE2B d2ae91ec3a11b01bfa97ea826d326a1b09194ce48dc490d2b77ac82b782244f9003af06b2fe87258e50a6705aecc21cd2a8104926cba4440de401358c4dbea6f SHA512 59b04defea75a8a2f08de8b4611105d2e869264e73ed2893328bff3a21df8059793e3edaaadbe40d7db1c1a4022c950d2a287cf20c74d2fe752924f5e3f4654a
24 +DIST folly-2021.06.07.00.tar.gz 3392815 BLAKE2B 281f0578f7e06ef066defd90ffb2fae84b74b2f5565b25dc546ee0a58d3f5a2ff576ddc0996e2b008fc7d2f0d74af36bdea3300c94f6c5069a02abffc4ebb456 SHA512 3521d4ac738498d6f2c8d0c533dc51a035d202dc268cdcda1464a93520b4ca778a4e98e3b1ec2848ecf483ea33dc67aa8841262fd5ccd5e8e9736d4db426aa96
25
26 diff --git a/dev-cpp/folly/folly-2021.06.07.00.ebuild b/dev-cpp/folly/folly-2021.06.07.00.ebuild
27 new file mode 100644
28 index 000000000..0310ffd78
29 --- /dev/null
30 +++ b/dev-cpp/folly/folly-2021.06.07.00.ebuild
31 @@ -0,0 +1,37 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit cmake
38 +
39 +DESCRIPTION="An open-source C++ library developed and used at Facebook"
40 +HOMEPAGE="https://github.com/facebook/folly"
41 +SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm64 ~x86"
46 +
47 +DEPEND="
48 + app-arch/lz4
49 + app-arch/snappy
50 + app-arch/zstd
51 + dev-cpp/gflags
52 + dev-cpp/glog[gflags]
53 + dev-libs/boost[context,threads]
54 + dev-libs/double-conversion
55 + dev-libs/libevent
56 + dev-libs/libfmt
57 + sys-libs/binutils-libs
58 + sys-libs/zlib
59 +"
60 +RDEPEND="${DEPEND}"
61 +
62 +src_prepare() {
63 + cmake_src_prepare
64 + sed \
65 + -e "s/lib CACHE/$(get_libdir) CACHE/" \
66 + -e "s/lib\/cmake\/folly CACHE/$(get_libdir)\/cmake\/folly CACHE/" \
67 + -i CMakeLists.txt || die
68 +}