1 |
commit: 0eeb7a5c11229288f716b1e8a26847f9adb7af2d |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Wed Dec 30 12:02:35 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 30 12:02:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eeb7a5c |
7 |
|
8 |
dev-util/lttng-ust: Bring back stable 2.11 ebuild |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/18881 |
11 |
Closes: https://bugs.gentoo.org/762616 |
12 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
13 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
14 |
|
15 |
dev-util/lttng-ust/Manifest | 1 + |
16 |
dev-util/lttng-ust/lttng-ust-2.11.0.ebuild | 40 ++++++++++++++++++++++++++++++ |
17 |
2 files changed, 41 insertions(+) |
18 |
|
19 |
diff --git a/dev-util/lttng-ust/Manifest b/dev-util/lttng-ust/Manifest |
20 |
index edc6ca21cf3..c19ca764241 100644 |
21 |
--- a/dev-util/lttng-ust/Manifest |
22 |
+++ b/dev-util/lttng-ust/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
+DIST lttng-ust-2.11.0.tar.bz2 824285 BLAKE2B 161d50282a95cce47ab3811216241ade73e2002d8f03aa2266b5add36d06552f5620b912eeecff1173f43eec107b385f1b93783905f36a42baf5a63c37ea35fc SHA512 fb7258961a7e913487806a7e0129c95becff8c631382b119ff1d78f95cdd7460ec24e62671642160fdb006a3a292b2b10f35c8424f0367ce7c6a41cbcca77a09 |
25 |
DIST lttng-ust-2.12.0.tar.bz2 853127 BLAKE2B 6a6655a4aa33ec6318255d05d0e000c19fb66d4049873f091b8e19f3f9ea0c15731db70af77dbab1d597edcafcd745f1dae2670cd38759c9b54ea38b1135b590 SHA512 d69772170f57b9669b99cea372ca537777151a31b82002e1e5ec80da3ceb302c23f0f85d63a2c95c90a375b879e266aa5297e7d6444050dd40feb1253d863801 |
26 |
DIST lttng-ust-2.8.1.tar.bz2 743271 BLAKE2B d6adac00525ab747306288dd71f27ce982dd93e4ff42b9938064ae1435ad1c0867acebe3030a33748dc9aa78b6200ba2c47631e4359a963772fc4685472d21ae SHA512 15c459620cb73ef5be8c7df2ef02663ef650555b973a3d1ed976ae38068b53a8c83143a611bcb53e91a3f211361c44cd2a331cb41dd53d28a69924f7ac44cc95 |
27 |
|
28 |
diff --git a/dev-util/lttng-ust/lttng-ust-2.11.0.ebuild b/dev-util/lttng-ust/lttng-ust-2.11.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..bbe2663203d |
31 |
--- /dev/null |
32 |
+++ b/dev-util/lttng-ust/lttng-ust-2.11.0.ebuild |
33 |
@@ -0,0 +1,40 @@ |
34 |
+# Copyright 1999-2020 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
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 ~sparc x86" |
51 |
+IUSE="examples numa" |
52 |
+ |
53 |
+DEPEND=" |
54 |
+ dev-libs/userspace-rcu:= |
55 |
+ numa? ( sys-process/numactl ) |
56 |
+ " |
57 |
+RDEPEND="${DEPEND}" |
58 |
+ |
59 |
+PATCHES=("${FILESDIR}"/${P}-fno-common.patch) |
60 |
+ |
61 |
+S="${WORKDIR}"/${MY_P} |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ default |
65 |
+ if ! use examples; then |
66 |
+ sed -i -e '/SUBDIRS/s:examples::' doc/Makefile.am || die |
67 |
+ fi |
68 |
+ eautoreconf |
69 |
+} |
70 |
+ |
71 |
+src_configure() { |
72 |
+ econf $(use_enable numa) |
73 |
+} |