From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/zstd/
Date: Sun, 25 Sep 2022 01:21:15 +0000 (UTC) [thread overview]
Message-ID: <1664068794.6121cf31cd310cff467f26b6dfcfdd8df6000aa3.sam@gentoo> (raw)
commit: 6121cf31cd310cff467f26b6dfcfdd8df6000aa3
Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Sun Sep 4 14:58:25 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 25 01:19:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6121cf31
app-arch/zstd: enable threads by default
This follows upstream's default since 1.5.0.
Closes: https://bugs.gentoo.org/868390
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Closes: https://github.com/gentoo/gentoo/pull/27141
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-arch/zstd/zstd-1.5.2-r3.ebuild | 69 ++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/app-arch/zstd/zstd-1.5.2-r3.ebuild b/app-arch/zstd/zstd-1.5.2-r3.ebuild
new file mode 100644
index 000000000000..4164ae59fa66
--- /dev/null
+++ b/app-arch/zstd/zstd-1.5.2-r3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal toolchain-funcs usr-ldscript
+
+DESCRIPTION="zstd fast compression library"
+HOMEPAGE="https://facebook.github.io/zstd/"
+SRC_URI="https://github.com/facebook/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0/1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="lz4 static-libs"
+
+RDEPEND="
+ app-arch/xz-utils
+ sys-libs/zlib
+ lz4? ( app-arch/lz4 )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ multilib_copy_sources
+}
+
+mymake() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ AR="$(tc-getAR)" \
+ PREFIX="${EPREFIX}/usr" \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ V=1 \
+ "${@}"
+}
+
+multilib_src_compile() {
+ local libzstd_targets=( libzstd{,.a}-mt )
+
+ mymake -C lib ${libzstd_targets[@]} libzstd.pc
+
+ if multilib_is_native_abi ; then
+ mymake HAVE_LZ4="$(usex lz4 1 0)" zstd
+
+ mymake -C contrib/pzstd
+ fi
+}
+
+multilib_src_install() {
+ mymake -C lib DESTDIR="${D}" install
+
+ if multilib_is_native_abi ; then
+ mymake -C programs DESTDIR="${D}" install
+ gen_usr_ldscript -a zstd
+
+ mymake -C contrib/pzstd DESTDIR="${D}" install
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ if ! use static-libs; then
+ find "${ED}" -name "*.a" -delete || die
+ fi
+}
next reply other threads:[~2022-09-25 1:21 UTC|newest]
Thread overview: 184+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-25 1:21 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-16 7:36 [gentoo-commits] repo/gentoo:master commit in: app-arch/zstd/ Fabian Groffen
2024-06-01 3:46 Ionen Wolkens
2024-06-01 1:28 Sam James
2024-04-29 8:09 Arthur Zamarin
2024-04-29 8:05 Arthur Zamarin
2024-04-29 8:05 Arthur Zamarin
2024-04-29 8:05 Arthur Zamarin
2024-04-29 8:05 Arthur Zamarin
2024-03-27 5:59 Sam James
2024-03-04 20:59 Sam James
2024-03-03 4:05 Sam James
2024-03-02 22:14 Sam James
2024-03-01 18:41 Sam James
2024-02-27 23:21 Sam James
2024-02-27 23:21 Sam James
2024-02-27 23:04 Sam James
2024-02-27 23:04 Sam James
2024-02-06 22:49 Sam James
2023-04-29 9:02 Arthur Zamarin
2023-04-29 9:02 Arthur Zamarin
2023-04-29 9:02 Arthur Zamarin
2023-04-29 9:01 Arthur Zamarin
2023-04-29 9:01 Arthur Zamarin
2023-04-29 8:59 Sam James
2023-04-29 8:53 Arthur Zamarin
2023-04-29 8:53 Arthur Zamarin
2023-04-04 22:52 Sam James
2023-04-04 16:47 Arthur Zamarin
2023-03-24 14:01 Arthur Zamarin
2023-03-24 13:49 Arthur Zamarin
2023-03-22 9:21 Sam James
2023-03-22 5:44 Sam James
2023-03-10 12:24 Sam James
2023-02-10 21:58 Sam James
2023-02-10 6:06 Sam James
2023-02-10 6:06 Sam James
2023-02-10 5:55 Sam James
2023-02-10 3:46 Sam James
2022-11-27 18:43 James Le Cuirot
2022-11-03 19:13 Sam James
2022-09-23 0:42 Sam James
2022-09-16 18:07 Arthur Zamarin
2022-09-16 15:51 Arthur Zamarin
2022-09-15 17:14 Arthur Zamarin
2022-09-07 1:53 Sam James
2022-09-07 1:50 Sam James
2022-09-07 1:50 Sam James
2022-09-06 21:59 Jakov Smolić
2022-09-06 21:58 Jakov Smolić
2022-06-18 13:06 Sam James
2022-06-18 13:05 Sam James
2022-06-16 15:30 Sam James
2022-02-24 15:02 Sam James
2022-02-19 8:52 Arthur Zamarin
2022-02-19 8:43 Arthur Zamarin
2022-02-19 8:36 Arthur Zamarin
2022-02-19 7:19 Arthur Zamarin
2022-02-19 7:19 Arthur Zamarin
2022-02-19 2:38 Sam James
2022-02-19 2:36 Sam James
2022-02-19 2:36 Sam James
2022-02-19 2:28 Sam James
2022-02-19 2:24 Sam James
2022-01-21 23:58 Sam James
2021-12-31 23:55 Sam James
2021-12-31 22:49 Sam James
2021-12-22 3:57 Sam James
2021-10-07 6:28 Mike Frysinger
2021-08-29 2:02 Andreas K. Hüttel
2021-07-27 3:16 Sam James
2021-07-26 21:04 Sergei Trofimovich
2021-07-26 11:17 Sam James
2021-07-25 20:09 Sam James
2021-07-23 17:58 Sam James
2021-07-23 17:58 Sam James
2021-07-23 17:58 Sam James
2021-05-15 6:17 罗百科
2021-04-15 2:51 Mike Gilbert
2021-03-27 16:04 Sam James
2021-03-26 11:50 Agostino Sarubbo
2021-03-26 11:34 Sam James
2021-03-25 23:44 Sam James
2021-03-25 23:44 Sam James
2021-03-25 23:20 Sam James
2021-03-25 23:17 Sam James
2021-03-25 23:13 Sam James
2021-03-24 21:12 Sergei Trofimovich
2021-03-04 8:31 罗百科
2021-01-06 12:52 Fabian Groffen
2020-12-23 13:57 Sergei Trofimovich
2020-12-22 23:47 Sam James
2020-12-22 6:29 Sam James
2020-12-22 5:05 Sam James
2020-12-22 1:31 Sam James
2020-12-21 18:01 Sam James
2020-12-20 20:06 Sam James
2020-12-20 18:20 Sam James
2020-12-20 16:30 Thomas Deutschmann
2020-12-19 17:42 Sam James
2020-12-17 10:13 罗百科
2020-09-18 10:39 Lars Wendler
2020-06-20 17:56 罗百科
2020-05-10 9:10 Mikle Kolyada
2020-05-05 21:15 Sergei Trofimovich
2020-05-04 19:57 Mart Raudsepp
2020-05-04 15:29 Agostino Sarubbo
2020-05-04 15:15 Agostino Sarubbo
2020-05-04 13:33 Agostino Sarubbo
2020-05-04 13:32 Agostino Sarubbo
2020-05-04 13:31 Agostino Sarubbo
2020-05-04 13:30 Agostino Sarubbo
2020-05-04 13:29 Agostino Sarubbo
2020-03-22 15:34 Sergei Trofimovich
2020-03-20 18:33 Matt Turner
2019-11-20 9:07 Lars Wendler
2019-11-20 9:07 Lars Wendler
2019-11-19 12:31 Manuel Rüger
2019-10-07 8:42 Lars Wendler
2019-10-06 22:22 Michał Górny
2019-07-29 9:06 Manuel Rüger
2019-07-20 7:00 罗百科
2019-04-17 13:43 Mikle Kolyada
2019-04-17 13:21 Lars Wendler
2019-04-17 13:21 Lars Wendler
2019-04-17 12:30 Mikle Kolyada
2019-04-17 12:30 Mikle Kolyada
2019-04-17 12:30 Mikle Kolyada
2019-04-17 5:20 Patrick Lauer
2019-04-10 22:03 Sergei Trofimovich
2019-04-08 18:27 Markus Meier
2019-04-08 8:39 Mart Raudsepp
2019-04-07 20:52 Sergei Trofimovich
2019-03-29 4:41 Matt Turner
2019-03-29 4:41 Matt Turner
2019-03-27 23:44 Thomas Deutschmann
2019-03-27 20:04 Agostino Sarubbo
2019-01-05 17:19 Mikle Kolyada
2018-12-30 16:10 Manuel Rüger
2018-12-27 18:48 Fabian Groffen
2018-12-26 20:02 Sergei Trofimovich
2018-11-17 16:06 Mikle Kolyada
2018-11-11 22:30 Lars Wendler
2018-10-28 17:02 Manuel Rüger
2018-10-28 16:50 Manuel Rüger
2018-10-13 6:56 Tobias Klausmann
2018-10-08 10:12 Mikle Kolyada
2018-10-06 23:47 Matt Turner
2018-10-06 23:47 Matt Turner
2018-10-06 18:23 Sergei Trofimovich
2018-10-06 10:25 Jeroen Roovers
2018-10-05 12:25 Thomas Deutschmann
2018-07-07 6:16 Patrick Lauer
2018-06-10 18:14 Sergei Trofimovich
2018-05-17 21:18 Sergei Trofimovich
2018-04-18 20:41 Sergei Trofimovich
2018-03-27 8:51 Manuel Rüger
2018-03-15 15:00 Mikle Kolyada
2018-02-23 9:41 Tobias Klausmann
2018-01-12 12:23 Manuel Rüger
2017-11-25 14:21 Sergei Trofimovich
2017-11-13 22:28 Sergei Trofimovich
2017-11-13 22:28 Sergei Trofimovich
2017-11-13 22:28 Sergei Trofimovich
2017-11-13 22:28 Sergei Trofimovich
2017-10-28 22:53 Sergei Trofimovich
2017-10-28 22:40 Sergei Trofimovich
2017-10-26 18:54 Thomas Deutschmann
2017-10-24 12:38 Manuel Rüger
2017-10-17 19:04 Markus Meier
2017-10-11 15:19 Manuel Rüger
2017-08-03 10:43 Manuel Rüger
2017-07-31 10:44 Anthony G. Basile
2017-07-09 10:15 Alexis Ballier
2017-06-20 16:07 Patrick Lauer
2017-06-20 5:17 Agostino Sarubbo
2017-06-18 14:01 Agostino Sarubbo
2017-06-02 4:48 Markus Meier
2017-05-24 19:13 Anthony G. Basile
2017-02-21 10:01 Hanno Boeck
2016-10-25 0:08 David Seifert
2016-10-03 23:50 Matthias Maier
2016-09-26 12:52 Patrick Lauer
2016-09-05 10:10 Patrick Lauer
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=1664068794.6121cf31cd310cff467f26b6dfcfdd8df6000aa3.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