public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/snappy/
Date: Sun, 19 Mar 2023 03:22:53 +0000 (UTC)	[thread overview]
Message-ID: <1679195760.fcc99e315924b679a450cb466c82232e4c3e64ca.sam@gentoo> (raw)

commit:     fcc99e315924b679a450cb466c82232e4c3e64ca
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Wed Mar 15 16:41:39 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 03:16:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcc99e31

app-arch/snappy: add 1.1.10

Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30138
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/snappy/Manifest             |  1 +
 app-arch/snappy/metadata.xml         |  1 +
 app-arch/snappy/snappy-1.1.10.ebuild | 47 ++++++++++++++++++++++++++++++++++++
 3 files changed, 49 insertions(+)

diff --git a/app-arch/snappy/Manifest b/app-arch/snappy/Manifest
index 6d2cae5cff27..2b0fde8309f0 100644
--- a/app-arch/snappy/Manifest
+++ b/app-arch/snappy/Manifest
@@ -1 +1,2 @@
+DIST snappy-1.1.10.tar.gz 1105312 BLAKE2B 5195335fb1883974d290e7dca2b6d928bde2b183f3f61bca9da28855b39fd9a4ee1c24014322d238d2ec94f3a3a55fd43110c88283e85865272226e11cbb4834 SHA512 3578597f1d4ec09104ce0296b825b013590351230dfe56c635081fd282ce7a13a34caf2c283ac77bd24065e2d27af6db068d1f84b98cec2fd39a0e37a0d77070
 DIST snappy-1.1.9.tar.gz 1102382 BLAKE2B 926d03156168e3d4800dc17144db3de2c182c6eb9970d87a00b94fb09b67e403479a64cbed75833b83fd03173c1bb8caaf248a55627e89fe2a34456f12ff3b42 SHA512 f1f8a90f5f7f23310423574b1d8c9acb84c66ea620f3999d1060395205e5760883476837aba02f0aa913af60819e34c625d8308c18a5d7a9c4e190f35968b024

diff --git a/app-arch/snappy/metadata.xml b/app-arch/snappy/metadata.xml
index 733bf82bf93e..f228393d37be 100644
--- a/app-arch/snappy/metadata.xml
+++ b/app-arch/snappy/metadata.xml
@@ -14,6 +14,7 @@
 		other compression library; instead, it aims for very high speeds and
 		reasonable compression.</longdescription>
 	<upstream>
+		<remote-id type="cpe">cpe:/a:google:snappy</remote-id>
 		<remote-id type="github">google/snappy</remote-id>
 	</upstream>
 </pkgmetadata>

diff --git a/app-arch/snappy/snappy-1.1.10.ebuild b/app-arch/snappy/snappy-1.1.10.ebuild
new file mode 100644
index 000000000000..f78200c4847b
--- /dev/null
+++ b/app-arch/snappy/snappy-1.1.10.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="A high-speed compression/decompression library by Google"
+HOMEPAGE="https://github.com/google/snappy"
+SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV%%.*}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-cpp/gtest )"
+
+DOCS=( format_description.txt framing_format.txt NEWS README.md )
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.1.9_external_gtest.patch"
+	"${FILESDIR}/${PN}-1.1.9-clang-werror.patch"
+	"${FILESDIR}/${PN}-1.1.9_remove-no-rtti.patch"
+)
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_CXX_STANDARD=14 # Latest gtest needs -std=c++14 or newer
+		-DSNAPPY_BUILD_TESTS=$(usex test)
+		-DSNAPPY_REQUIRE_AVX=$(usex cpu_flags_x86_avx)
+		-DSNAPPY_REQUIRE_AVX2=$(usex cpu_flags_x86_avx2)
+		-DSNAPPY_BUILD_BENCHMARKS=OFF
+		# Options below are related to benchmarking, that we disable.
+		-DHAVE_LIBZ=NO
+		-DHAVE_LIBLZO2=NO
+		-DHAVE_LIBLZ4=NO
+	)
+	cmake_src_configure
+}
+
+multilib_src_test() {
+	# run tests directly to get verbose output
+	cd "${S}" || die
+	"${BUILD_DIR}"/snappy_unittest || die
+}


             reply	other threads:[~2023-03-19  3:23 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-19  3:22 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-12  3:05 [gentoo-commits] repo/gentoo:master commit in: app-arch/snappy/ Ionen Wolkens
2023-03-20  7:26 Sam James
2023-02-22 16:16 Sam James
2022-10-19 10:07 WANG Xuerui
2022-03-06 23:49 Sam James
2022-03-06  7:55 Sam James
2022-02-28 10:08 Jakov Smolić
2022-02-28 10:08 Jakov Smolić
2022-02-27 22:42 Sam James
2022-02-27 22:42 Sam James
2021-10-18 23:49 Sam James
2021-10-17  0:13 Sam James
2021-10-16 22:05 Sam James
2021-10-16 14:02 Agostino Sarubbo
2021-10-16  7:10 Agostino Sarubbo
2021-08-23 17:01 Marek Szuba
2021-07-11 22:02 Marek Szuba
2021-06-03  9:12 Joonas Niilola
2021-05-05  9:56 Michał Górny
2021-03-13 11:29 Fabian Groffen
2020-06-08  8:56 Michał Górny
2020-05-04  9:37 Michał Górny
2020-04-04 14:12 Mart Raudsepp
2020-02-24 11:31 Agostino Sarubbo
2020-02-22 14:19 Sergei Trofimovich
2020-02-17 12:17 Agostino Sarubbo
2020-02-17 12:13 Agostino Sarubbo
2020-02-17 12:09 Agostino Sarubbo
2020-02-17 11:53 Agostino Sarubbo
2020-02-17 11:45 Agostino Sarubbo
2020-02-16 21:14 Thomas Deutschmann
2019-11-03 14:01 Michał Górny
2019-05-15  4:48 Aaron Bauman
2018-07-28  1:11 Mikle Kolyada
2018-06-13  7:21 Michał Górny
2018-05-27 12:34 Michał Górny
2018-05-27  8:41 Michał Górny
2018-03-28 19:35 Matt Turner
2018-03-17 11:33 Jeroen Roovers
2018-03-03 13:12 Tobias Klausmann
2018-01-08  0:52 Mikle Kolyada
2018-01-02  8:14 Sergei Trofimovich
2017-11-19 20:44 Sergei Trofimovich
2017-10-28 22:08 Sergei Trofimovich
2017-07-31 18:57 Michał Górny
2016-10-05 19:02 Markus Meier
2016-09-26 15:22 Tobias Klausmann
2016-09-26  7:34 Jeroen Roovers
2016-09-25  9:23 Agostino Sarubbo
2016-09-25  9:22 Agostino Sarubbo
2016-05-31 12:22 Michał Górny
2016-05-31  6:45 Michał Górny
2016-05-31  6:45 Michał Górny
2016-04-06  4:39 Ian Delaney
2016-03-16 14:09 Agostino Sarubbo
2016-01-30 17:43 Tobias Klausmann
2016-01-27 15:06 Jeroen Roovers
2015-10-13  3:14 Ian Delaney
2015-10-13  1:25 Ian Delaney
2015-10-06 22:04 Chí-Thanh Christopher Nguyễn
2015-09-29 14:01 Tobias Klausmann
2015-09-21  4:58 Jeroen Roovers
2015-09-15  0:41 Tim Harder
2015-09-14  3:18 Jeroen Roovers
2015-09-01 18:37 Tobias Klausmann
2015-08-27  3:53 Tim Harder
2015-08-27  3:53 Tim Harder

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=1679195760.fcc99e315924b679a450cb466c82232e4c3e64ca.sam@gentoo \
    --to=sam@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