diff options
author | Yixun Lan <dlan@gentoo.org> | 2024-08-23 12:09:40 +0000 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-08-23 12:33:31 +0000 |
commit | 79450047d9fe0858cd39ada583520f5d2d15d11c (patch) | |
tree | 1d35b7159ee167137c0b0c020158c260c98758c6 /dev-libs/libtracefs | |
parent | dev-libs/libtraceevent: add 1.8.3 (diff) | |
download | gentoo-79450047d9fe0858cd39ada583520f5d2d15d11c.tar.gz gentoo-79450047d9fe0858cd39ada583520f5d2d15d11c.tar.bz2 gentoo-79450047d9fe0858cd39ada583520f5d2d15d11c.zip |
dev-libs/libtracefs: add 1.8.1
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-libs/libtracefs')
-rw-r--r-- | dev-libs/libtracefs/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libtracefs/libtracefs-1.8.1.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/libtracefs/Manifest b/dev-libs/libtracefs/Manifest index fcc9ea55ab68..666668a135ed 100644 --- a/dev-libs/libtracefs/Manifest +++ b/dev-libs/libtracefs/Manifest @@ -1,2 +1,3 @@ DIST libtracefs-1.7.0.tar.gz 205716 BLAKE2B 7e11ed75e65ddfb6e95fa67db2d3a3000e722108b6cb9d8efe7f057bf96afa608f0452e42090dab077b59044d3cbaebf2e4361812b994943964ea611b0ec6a49 SHA512 8b95c798a9013c0278da1c68ab4625446e1cc9d437eed91a6ce16660e7787f0af04ab65ce0dba536039f2facca39c50df5e45335b1af630e7bcce70b584e2f0c DIST libtracefs-1.8.0.tar.gz 224662 BLAKE2B 06ee6872ec5cd6c671ee2ddd3de19356ffa560b3ae20318e36be6a95bfe37bf61233841e32c530ab0a3463d13dd57ff1b09bba296663b25d76da2a2ea3e89f51 SHA512 2d9728186de63f03a2222d56efe6b373c038519ad1e81dd10d97640c296696df6b0661743dcd9e851edda5225342ea10a8746434439f7ad878e26780b797eb6c +DIST libtracefs-1.8.1.tar.gz 225995 BLAKE2B cb4f491464d54f1271591cdc5ed61fa67f49e63b94ff91162e3b4f59387d3f27d866e288b69dacdbea7c145989d50e8c00e3f63b066eef93164a8748c535420d SHA512 1d8775cf511982a99e2dd17afcf48da272ff8ec189710a27420befe8765155ed21fd62db8fb2b75a0965e0a52ef810459c826f9b4989093c6a64d0cb7894cfca diff --git a/dev-libs/libtracefs/libtracefs-1.8.1.ebuild b/dev-libs/libtracefs/libtracefs-1.8.1.ebuild new file mode 100644 index 000000000000..151fb60d926f --- /dev/null +++ b/dev-libs/libtracefs/libtracefs-1.8.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Linux kernel trace file system library" +HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" + +if [[ ${PV} =~ [9]{4,} ]]; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" + inherit git-r3 +else + SRC_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" + +# Please double check the minimum libtraceevent version! +RDEPEND=" + >=dev-libs/libtraceevent-1.8.1 +" +DEPEND="${RDEPEND}" +# source-highlight is needed, see bug https://bugs.gentoo.org/865469 +BDEPEND=" + app-text/asciidoc + app-text/xmlto + dev-util/source-highlight + app-alternatives/yacc + app-alternatives/lex + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + -Dasciidoctor=false + -Ddoc=false + ) + + # TODO: get docs & tests optional upstream + meson_src_configure +} + +src_install() { + meson_src_install + + find "${ED}" -type f -name '*.a' -delete || die +} |