commit:     7f5d182ded4086749ecde90e0e3d6a67505c8ace
Author:     Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com>
AuthorDate: Sat Dec 24 15:01:30 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 10:21:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f5d182d

dev-util/lttng-ust: add 2.13.5

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28785
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/lttng-ust/Manifest                |  1 +
 dev-util/lttng-ust/lttng-ust-2.13.5.ebuild | 42 ++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-util/lttng-ust/Manifest b/dev-util/lttng-ust/Manifest
index 6bcf514f2133..ff5bde28ba82 100644
--- a/dev-util/lttng-ust/Manifest
+++ b/dev-util/lttng-ust/Manifest
@@ -3,3 +3,4 @@ DIST lttng-ust-2.12.1.tar.bz2 859667 BLAKE2B 
474d03ac0d3c1102ef085230659545f3e12
 DIST lttng-ust-2.12.2.tar.bz2 861351 BLAKE2B 
0c580285721b3d7932630c8d9f4a3606ee294596eef75fcf8b3c892ebdfaa1daae4cbfad1b6ef0ef93877b1f7dd143d97fa947758ab476e4a54e746d0f1e1e7e
 SHA512 
e8734deb27b1a4c5efb81ebaa5c100079c1b3eac6b741b4f85487d1cb921d78d9ddf76040be56081404701b3053c6acc83a5d82667e3f49fcc4fa33392462eb8
 DIST lttng-ust-2.12.4.tar.bz2 772723 BLAKE2B 
cf9782d7b0ab39b1eeebd3f21a31d7a249c9f4f4b1c28746d27ad4dfc0196a4d71dd3d837bfa211ab98c1b555b79b4fa6b39b341312d8b5cc6c47708fa0e8963
 SHA512 
c2935c9aa63446ceeff1d6fe76367883a3b188c113fcc25c83848b4ee89497a614dfc0b32f920a0c5054c6208bc37899482d40938a1fc37ad890b7c5172fc20b
 DIST lttng-ust-2.13.2.tar.bz2 1327075 BLAKE2B 
39296ba62fcf5518b16d67f196ab4788c78b41eeadb5f8037c2445ac13a95754e7723399f58f6b21734d8931ae0d68d1dea28b74759fd531fac6a9308817bc09
 SHA512 
2392b0aeabbaea6daf62a9c752a04ea3043e1cc2d93064b073fd4438beac0d30832aea9b2f158cc8b90b3d98f427bca2999cce4e873fa3f82e04693e13ed9fb3
+DIST lttng-ust-2.13.5.tar.bz2 1336658 BLAKE2B 
0e61688c34c7d360829cdc6b265ac5ffb4186f4eddf7f5de10cd2e0b4ee7b570b59c43658c7d9b4853de40ca22add8ad6068047271d7587a43151ba9feba8532
 SHA512 
3bf969e9deb6ce05a1ae30ad48676ae8ff63a73198583e98ce083d52b78e9fc2d171a6e3890c201abfa364600d4471d1ee8b1ee23de3faeec1f0ca84e0f0acd4

diff --git a/dev-util/lttng-ust/lttng-ust-2.13.5.ebuild 
b/dev-util/lttng-ust/lttng-ust-2.13.5.ebuild
new file mode 100644
index 000000000000..c50f2434c11d
--- /dev/null
+++ b/dev-util/lttng-ust/lttng-ust-2.13.5.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_P="${P/_rc/-rc}"
+MY_SLOT="$(ver_cut 1-2)"
+
+DESCRIPTION="Linux Trace Toolkit - UST library"
+HOMEPAGE="https://lttng.org";
+SRC_URI="https://lttng.org/files/${PN}/${MY_P}.tar.bz2";
+
+LICENSE="GPL-2"
+SLOT="0/${MY_SLOT}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+IUSE="examples numa"
+
+DEPEND="
+       dev-libs/userspace-rcu:=
+       numa? ( sys-process/numactl )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+       default
+       if ! use examples; then
+               sed -i -e '/SUBDIRS/s:examples::' doc/Makefile.am || die
+       fi
+       eautoreconf
+}
+
+src_configure() {
+       econf $(use_enable numa)
+}
+
+src_install() {
+       default
+       find "${ED}" -name '*.la' -delete || die
+}

Reply via email to