diff options
author | Yixun Lan <dlan@gentoo.org> | 2024-11-01 10:55:28 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-11-01 11:11:41 +0800 |
commit | 42227c888533c4cf51022a3fab7fb2955ff16e24 (patch) | |
tree | d8b514a0bb20e44bf7a36af2b41c58e49e8fc91f /dev-libs/libtraceevent | |
parent | dev-util/trace-cmd: drop 3.2-r3 (diff) | |
download | gentoo-42227c888533c4cf51022a3fab7fb2955ff16e24.tar.gz gentoo-42227c888533c4cf51022a3fab7fb2955ff16e24.tar.bz2 gentoo-42227c888533c4cf51022a3fab7fb2955ff16e24.zip |
dev-libs/libtraceevent: add 1.8.4
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-libs/libtraceevent')
-rw-r--r-- | dev-libs/libtraceevent/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libtraceevent/libtraceevent-1.8.4.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/libtraceevent/Manifest b/dev-libs/libtraceevent/Manifest index c22691f37393..768209b9fd89 100644 --- a/dev-libs/libtraceevent/Manifest +++ b/dev-libs/libtraceevent/Manifest @@ -1,3 +1,4 @@ DIST libtraceevent-1.7.3.tar.gz 152363 BLAKE2B dcbca01f2246045f4f2377f91118e2468bca4344686b9e0349d04270543fea5648d5c227bdaf6e716d623bab8d03cec7a869bf67d03ca6a7836014854bbe40b8 SHA512 81302cb24a3fc71e8bd6a0ba975a2699eaa629ac0e90837bf8fc8e23e04156827d19b25544cdb506b0bf76d5f08699264c9ecb979f9218bdee6b0b0e7339b1e0 DIST libtraceevent-1.8.2.tar.gz 155682 BLAKE2B afadd9f559bdc071b3741ce42b8bf0c320523f2b39c437bcf4180f277eb804c33b2feac447fae15a869164475fb5f019ef171b69be32c46b74e5f22a3ed3808b SHA512 52b7a23e8bf04feaa568199c99c98217fcb8df1b99d46197ef9edcea19b42e71ff9d2e6c45ebf5335ec782d636ad3d14be4acae5a9e5158650f5f62813081fa2 DIST libtraceevent-1.8.3.tar.gz 156029 BLAKE2B 91df67b7ba2bb76f594b9b6ab457394d3fad8e1db5ec2206e58c821ebf8101c4e1c87adb00aa7c59520d1ac2b0820f43ebe01a062e5c0bb586a4f99078c1b3f4 SHA512 25aebdd3f8bd5f9e0fadf4f03af73effdfe6e40c5667dfbe5011f4bfaf536657dde1c085e7c26d13a9da04fa8ce2d7c27210a5d3ab8aabc7e7a485a46a4456ea +DIST libtraceevent-1.8.4.tar.gz 156227 BLAKE2B da8be57eba0003f0fde8dc19f7c6987b0cd3c79bf006093191a1884e535828661d0384309b7ac9cee7870f8e7de51ba4527a9e44ed70d44ad2c95819633443f9 SHA512 8db691d1d8e96c73a30a79aa498fead2d9df2b41fd7b39865a3299a603e8c73a3268930a42324cef38d79b0a87f4f13a43ebf146a8e31aee91ede459d8da7b84 diff --git a/dev-libs/libtraceevent/libtraceevent-1.8.4.ebuild b/dev-libs/libtraceevent/libtraceevent-1.8.4.ebuild new file mode 100644 index 000000000000..04f59e41b8e7 --- /dev/null +++ b/dev-libs/libtraceevent/libtraceevent-1.8.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Linux kernel trace event library" +HOMEPAGE="https://www.trace-cmd.org/" + +if [[ ${PV} =~ [9]{4,} ]]; then + EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/" + inherit git-r3 +else + SRC_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !<dev-util/trace-cmd-3.0 +" +BDEPEND=" + app-text/asciidoc + app-text/xmlto + test? ( dev-util/cunit ) +" + +src_configure() { + local emesonargs=( + -Dasciidoctor=false + -Ddoc=$(usex doc true false) + ) + + # TODO: get docs & tests optional upstream + meson_src_configure +} + +src_install() { + # TODO: get docs & tests optional upstream + meson_src_install + + find "${ED}" -type f -name '*.a' -delete || die +} |