public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/leveldb/
Date: Fri, 31 Dec 2021 16:13:32 +0000 (UTC)	[thread overview]
Message-ID: <1640966953.6f08888b9077ab113eff4c786b3b89c992334bf0.arthurzam@gentoo> (raw)

commit:     6f08888b9077ab113eff4c786b3b89c992334bf0
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 31 16:09:13 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 31 16:09:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f08888b

dev-libs/leveldb: enable RTTI for consumers

needed for ceph and plyvel and possibly other consumers
Arch Linux also enables it

https://github.com/google/leveldb/issues/731

Reported-by: Louis Sautier <sbraz <AT> gentoo.org>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-libs/leveldb/leveldb-1.23-r2.ebuild | 42 +++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/dev-libs/leveldb/leveldb-1.23-r2.ebuild b/dev-libs/leveldb/leveldb-1.23-r2.ebuild
new file mode 100644
index 000000000000..a245acc26713
--- /dev/null
+++ b/dev-libs/leveldb/leveldb-1.23-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A fast key-value storage library written at Google"
+HOMEPAGE="https://github.com/google/leveldb"
+SRC_URI="https://github.com/google/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+crc32c +snappy +tcmalloc test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="crc32c? ( dev-libs/crc32c )
+	snappy? ( app-arch/snappy )
+	tcmalloc? ( dev-util/google-perftools )"
+RDEPEND="${DEPEND}"
+BDEPEND="test? ( dev-cpp/gtest )"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.23-system-testdeps.patch
+	"${FILESDIR}"/${PN}-1.23-remove-benchmark-dep.patch
+)
+
+src_prepare() {
+	sed -e '/fno-rtti/d' -i CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DLEVELDB_BUILD_BENCHMARKS=OFF
+		-DLEVELDB_BUILD_TESTS=$(usex test)
+	)
+	cmake_src_configure
+}


             reply	other threads:[~2021-12-31 16:13 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-31 16:13 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-12 19:23 [gentoo-commits] repo/gentoo:master commit in: dev-libs/leveldb/ Arthur Zamarin
2023-09-27 16:44 WANG Xuerui
2023-03-17  9:06 Arthur Zamarin
2023-03-17  9:05 Arthur Zamarin
2023-03-15 20:01 Arthur Zamarin
2023-03-15 20:01 Arthur Zamarin
2023-03-15 19:57 Arthur Zamarin
2023-03-15 19:57 Arthur Zamarin
2023-03-15 19:57 Arthur Zamarin
2023-02-09 14:52 Arthur Zamarin
2023-02-09 14:52 Arthur Zamarin
2022-10-10 15:25 Arthur Zamarin
2022-02-04 20:16 Arthur Zamarin
2022-02-02  0:08 Sam James
2022-02-01  7:36 Agostino Sarubbo
2022-02-01  7:30 Agostino Sarubbo
2022-02-01  5:57 Sam James
2022-01-31 20:11 Arthur Zamarin
2022-01-31 20:08 Arthur Zamarin
2022-01-17  8:13 Joshua Kinard
2022-01-04  3:29 Sam James
2021-10-27 22:42 Sam James
2021-10-27 22:35 Sam James
2021-10-04 22:58 Sam James
2021-09-16  1:49 Sam James
2021-09-07  3:07 Sam James
2021-08-20 12:54 Arthur Zamarin
2021-08-15 17:50 Arthur Zamarin
2021-08-13 14:16 Marek Szuba
2020-01-15  7:20 Michał Górny
2019-12-31 18:08 Aaron Bauman
2019-11-13  2:10 Aaron Bauman
2019-11-13  2:10 Aaron Bauman
2019-08-30 18:39 Sergei Trofimovich
2019-06-04 10:59 Agostino Sarubbo
2019-05-26  7:21 Sergei Trofimovich
2019-03-20 11:23 Mikle Kolyada
2019-03-19  2:03 Thomas Deutschmann
2018-06-17 20:34 David Seifert
2018-06-17 20:34 David Seifert
2017-11-18 10:13 Sergei Trofimovich
2017-07-30 14:30 David Seifert
2016-11-03 16:19 Göktürk Yüksek
2015-10-06 22:04 Chí-Thanh Christopher Nguyễn
2015-09-21  4:58 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1640966953.6f08888b9077ab113eff4c786b3b89c992334bf0.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox