commit: 00a52f629befa5d3243c4835d8654cf69df5f5ef
Author: Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 7 17:55:04 2022 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Mon Mar 7 17:56:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=00a52f62
Revert "dev-cpp/folly: treeclean"
This reverts commit 1612db8d2d10dbfa0e6c040b29553c3561adbcab.
dev-cpp/{fbthrift,fizz,wangle} still depend on folly.
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
dev-cpp/folly/Manifest | 2 ++
dev-cpp/folly/folly-2021.11.15.00.ebuild | 38 ++++++++++++++++++++++++++++++++
dev-cpp/folly/folly-2022.02.28.00.ebuild | 38 ++++++++++++++++++++++++++++++++
dev-cpp/folly/metadata.xml | 14 ++++++++++++
4 files changed, 92 insertions(+)
diff --git a/dev-cpp/folly/Manifest b/dev-cpp/folly/Manifest
new file mode 100644
index 000000000..ada76c263
--- /dev/null
+++ b/dev-cpp/folly/Manifest
@@ -0,0 +1,2 @@
+DIST folly-2021.11.15.00.tar.gz 3523290 BLAKE2B
65c6d407796d64b9eb391f2d21b80293e2487ba592fe92a18ffa426c8d952661b42e43db4e1deed48d5949fc2d0bc005b479475fab162c55157a2cad0a2979c3
SHA512
9c0f5ea072c65927d43ed58d05263e0db6a57e390ea208016e163bd9c6b6a58dfb8b989549d9976cc55b583ee2f7431f6fbca867e4502cabc6989c7caabe92f2
+DIST folly-2022.02.28.00.tar.gz 3600258 BLAKE2B
5943b0e4b6178c8293714f673ed289daed26b1dad22dcb52dc80475f385961cf0a690accc44139f245f2df5cf10c0bdb5638c8bed52cb97fefd3ad6d8dc147b8
SHA512
91ee21e463ffc6eee3b0e5e0244721a9612337b9afe92645556a154f521aec1070f4f381962247bb9bf11592efb5b8bb01f70d1a66acd3444967538062dfe826
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..46c310a05
--- /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
+ 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
+}
diff --git a/dev-cpp/folly/folly-2022.02.28.00.ebuild
b/dev-cpp/folly/folly-2022.02.28.00.ebuild
new file mode 100644
index 000000000..dbd7ee136
--- /dev/null
+++ b/dev-cpp/folly/folly-2022.02.28.00.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 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:=
+ 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
+}
diff --git a/dev-cpp/folly/metadata.xml b/dev-cpp/folly/metadata.xml
new file mode 100644
index 000000000..a2b64adb5
--- /dev/null
+++ b/dev-cpp/folly/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <description>co-maintainers welcome</description>
+ <email>[email protected]</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <longdescription lang="en">
+ Folly (acronymed loosely after Facebook Open Source Library) is
a library of C++14 components designed with practicality and efficiency in
mind. Folly contains a variety of core library components used extensively at
Facebook. In particular, it's often a dependency of Facebook's other open
source C++ efforts and place where those projects can share code.
+ It complements (as opposed to competing against) offerings such
as Boost and of course std. In fact, we embark on defining our own component
only when something we need is either not available, or does not meet the
needed performance profile. We endeavor to remove things from folly if or when
std or Boost obsoletes them.
+ Performance concerns permeate much of Folly, sometimes leading
to designs that are more idiosyncratic than they would otherwise be (see e.g.
PackedSyncPtr.h, SmallLocks.h). Good performance at large scale is a unifying
theme in all of Folly.
+ </longdescription>
+</pkgmetadata>