Gentoo Archives: gentoo-commits

From: Yixun Lan <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/lttng-ust/
Date: Tue, 26 Apr 2022 22:10:12
Message-Id: 1651010982.2bf0949ed797b1cc899402a5ef21d0f89064d9b0.dlan@gentoo
1 commit: 2bf0949ed797b1cc899402a5ef21d0f89064d9b0
2 Author: Raymond Wong <infiwang <AT> pm <DOT> me>
3 AuthorDate: Tue Apr 26 13:46:58 2022 +0000
4 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 22:09:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bf0949e
7
8 dev-util/lttng-ust: add 2.12.4
9
10 Signed-off-by: Raymond Wong <infiwang <AT> pm.me>
11 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
12
13 dev-util/lttng-ust/Manifest | 1 +
14 dev-util/lttng-ust/lttng-ust-2.12.4.ebuild | 42 ++++++++++++++++++++++++++++++
15 2 files changed, 43 insertions(+)
16
17 diff --git a/dev-util/lttng-ust/Manifest b/dev-util/lttng-ust/Manifest
18 index b2561afbaa1b..6bcf514f2133 100644
19 --- a/dev-util/lttng-ust/Manifest
20 +++ b/dev-util/lttng-ust/Manifest
21 @@ -1,4 +1,5 @@
22 DIST lttng-ust-2.12.0.tar.bz2 853127 BLAKE2B 6a6655a4aa33ec6318255d05d0e000c19fb66d4049873f091b8e19f3f9ea0c15731db70af77dbab1d597edcafcd745f1dae2670cd38759c9b54ea38b1135b590 SHA512 d69772170f57b9669b99cea372ca537777151a31b82002e1e5ec80da3ceb302c23f0f85d63a2c95c90a375b879e266aa5297e7d6444050dd40feb1253d863801
23 DIST lttng-ust-2.12.1.tar.bz2 859667 BLAKE2B 474d03ac0d3c1102ef085230659545f3e12bc0847cebab598f2998741741cb98ac139812a296992614dd90ed9478040ee0567822eb20e960e0a6489836274394 SHA512 6d5116a88be601f96513535ef7dfda409780cbacaab0831dc76b86070da60d5eac719d7020f70a6821e1c6dbbfae05ddf5a431662ef5a714fc200c2216eeb80e
24 DIST lttng-ust-2.12.2.tar.bz2 861351 BLAKE2B 0c580285721b3d7932630c8d9f4a3606ee294596eef75fcf8b3c892ebdfaa1daae4cbfad1b6ef0ef93877b1f7dd143d97fa947758ab476e4a54e746d0f1e1e7e SHA512 e8734deb27b1a4c5efb81ebaa5c100079c1b3eac6b741b4f85487d1cb921d78d9ddf76040be56081404701b3053c6acc83a5d82667e3f49fcc4fa33392462eb8
25 +DIST lttng-ust-2.12.4.tar.bz2 772723 BLAKE2B cf9782d7b0ab39b1eeebd3f21a31d7a249c9f4f4b1c28746d27ad4dfc0196a4d71dd3d837bfa211ab98c1b555b79b4fa6b39b341312d8b5cc6c47708fa0e8963 SHA512 c2935c9aa63446ceeff1d6fe76367883a3b188c113fcc25c83848b4ee89497a614dfc0b32f920a0c5054c6208bc37899482d40938a1fc37ad890b7c5172fc20b
26 DIST lttng-ust-2.13.2.tar.bz2 1327075 BLAKE2B 39296ba62fcf5518b16d67f196ab4788c78b41eeadb5f8037c2445ac13a95754e7723399f58f6b21734d8931ae0d68d1dea28b74759fd531fac6a9308817bc09 SHA512 2392b0aeabbaea6daf62a9c752a04ea3043e1cc2d93064b073fd4438beac0d30832aea9b2f158cc8b90b3d98f427bca2999cce4e873fa3f82e04693e13ed9fb3
27
28 diff --git a/dev-util/lttng-ust/lttng-ust-2.12.4.ebuild b/dev-util/lttng-ust/lttng-ust-2.12.4.ebuild
29 new file mode 100644
30 index 000000000000..28e8ec940860
31 --- /dev/null
32 +++ b/dev-util/lttng-ust/lttng-ust-2.12.4.ebuild
33 @@ -0,0 +1,42 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +inherit autotools
40 +
41 +MY_P="${P/_rc/-rc}"
42 +MY_SLOT="$(ver_cut 1-2)"
43 +
44 +DESCRIPTION="Linux Trace Toolkit - UST library"
45 +HOMEPAGE="https://lttng.org"
46 +SRC_URI="https://lttng.org/files/${PN}/${MY_P}.tar.bz2"
47 +
48 +LICENSE="GPL-2"
49 +SLOT="0/${MY_SLOT}"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
51 +IUSE="examples numa"
52 +
53 +DEPEND="
54 + dev-libs/userspace-rcu:=
55 + numa? ( sys-process/numactl )"
56 +RDEPEND="${DEPEND}"
57 +
58 +S="${WORKDIR}"/${MY_P}
59 +
60 +src_prepare() {
61 + default
62 + if ! use examples; then
63 + sed -i -e '/SUBDIRS/s:examples::' doc/Makefile.am || die
64 + fi
65 + eautoreconf
66 +}
67 +
68 +src_configure() {
69 + econf $(use_enable numa)
70 +}
71 +
72 +src_install() {
73 + default
74 + find "${ED}" -name '*.la' -delete || die
75 +}