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: Tue, 05 Oct 2021 20:50:58
Message-Id: 1633467052.cb3932ef0683c4a8d58be1186bda18dbd90b169f.Alessandro-Barbieri@gentoo
1 commit: cb3932ef0683c4a8d58be1186bda18dbd90b169f
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Tue Oct 5 20:47:13 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Tue Oct 5 20:50:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cb3932ef
7
8 dev-cpp/folly: add 2021.10.04.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.10.04.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 3b6d47a6a..c6f7a6ee9 100644
18 --- a/dev-cpp/folly/Manifest
19 +++ b/dev-cpp/folly/Manifest
20 @@ -1 +1,2 @@
21 DIST folly-2021.08.02.00.tar.gz 3469070 BLAKE2B f670746690c3531e573fb01293361808f943de7324bfd4862a10ea9764a41197094e522668e580946244279fa096f7173958cccc57b4f610c7c08ccbf3ec702d SHA512 dbe005f31eeb60e85ef949432de09d7c49a52b19f195c06ef265189a13ad98cbd4b902b59f303c140b7aedc5ff8a604cc9bda9d1d374290561124a729c07149d
22 +DIST folly-2021.10.04.00.tar.gz 3495417 BLAKE2B ed8745c605ad66ee5bd2474737c7e0a7d08243bf809a1880cc010077a3ec8bd6155d7dc853fd165a956b5635fbdd1691de004320e78a1be194aaedae8554b77d SHA512 685cb716d1131a456a927d769eaf7174ec4528cdafd124c38a424c630a820a90998258c79cb793d91c8a4d587367524e597cb4dcc5d4f377815bfdd7ad29cbf2
23
24 diff --git a/dev-cpp/folly/folly-2021.10.04.00.ebuild b/dev-cpp/folly/folly-2021.10.04.00.ebuild
25 new file mode 100644
26 index 000000000..e95ea64e9
27 --- /dev/null
28 +++ b/dev-cpp/folly/folly-2021.10.04.00.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit cmake
36 +
37 +DESCRIPTION="An open-source C++ library developed and used at Facebook"
38 +HOMEPAGE="https://github.com/facebook/folly"
39 +SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="Apache-2.0"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~arm64 ~x86"
44 +
45 +DEPEND="
46 + app-arch/lz4
47 + <app-arch/snappy-1.1.9
48 + app-arch/zstd
49 + dev-cpp/gflags
50 + dev-cpp/glog[gflags]
51 + dev-libs/boost[context,threads(+)]
52 + dev-libs/double-conversion
53 + dev-libs/libevent
54 + dev-libs/libfmt
55 + sys-libs/binutils-libs
56 + sys-libs/zlib
57 +"
58 +RDEPEND="${DEPEND}"
59 +
60 +src_prepare() {
61 + cmake_src_prepare
62 + sed \
63 + -e "s/lib CACHE/$(get_libdir) CACHE/" \
64 + -e "s/lib\/cmake\/folly CACHE/$(get_libdir)\/cmake\/folly CACHE/" \
65 + -i CMakeLists.txt || die
66 +}