summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2024-08-23 12:23:17 +0000
committerYixun Lan <dlan@gentoo.org>2024-08-23 12:34:40 +0000
commitfeefb63145db9b5fd0397e87c5579b341145cb4b (patch)
tree8243246b0923cd17d690c6a3b015ef1fa7ae94df /dev-libs
parentdev-util/trace-cmd: add 3.3 (diff)
downloadgentoo-feefb63145db9b5fd0397e87c5579b341145cb4b.tar.gz
gentoo-feefb63145db9b5fd0397e87c5579b341145cb4b.tar.bz2
gentoo-feefb63145db9b5fd0397e87c5579b341145cb4b.zip
dev-libs/libtracecmd: add 1.5.2
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libtracecmd/Manifest1
-rw-r--r--dev-libs/libtracecmd/libtracecmd-1.5.2.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-libs/libtracecmd/Manifest b/dev-libs/libtracecmd/Manifest
index 1f926db9b119..9c95f72138d9 100644
--- a/dev-libs/libtracecmd/Manifest
+++ b/dev-libs/libtracecmd/Manifest
@@ -1 +1,2 @@
DIST libtracecmd-1.5.1.tar.gz 357041 BLAKE2B 84410dda0f50d536606727b9c99cd094aad3efbb0410fa78b1973dce4c3c2c7e8fef46614a210b22daa88f56a410b9216acf4d247c054c8c948b4716cb0d7aa5 SHA512 0fa0b6a912164284e6db3c95d99c46e0f6726021fa7f76e531871d6424c0a5d8f316244f75a5c85b06b1cd5aa7349dcb286185fa3a0b36a08c8b7eac38ad8192
+DIST libtracecmd-1.5.2.tar.gz 363431 BLAKE2B c21523f3b487ed742cc3fa67ccfdeca89ea3f571aef1240e3c6dea55588661752dee772948376e5d5612de588aae5dd02f9c407a30e6c5fb537a71fbeaad473b SHA512 aaaa65fde06d71bf0e2199bf32a767f900b68c1bf5adc726adad5b76123daf0c9118ef10a5d276fcc375b63614a11428998c837a8c7e01c78c0411087a095f2f
diff --git a/dev-libs/libtracecmd/libtracecmd-1.5.2.ebuild b/dev-libs/libtracecmd/libtracecmd-1.5.2.ebuild
new file mode 100644
index 000000000000..3e8cf3fbeba3
--- /dev/null
+++ b/dev-libs/libtracecmd/libtracecmd-1.5.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Linux kernel tracecmd library"
+HOMEPAGE="https://git.kernel.org/pub/scm/libs/trace-cmd/trace-cmd.git/"
+
+if [[ ${PV} =~ [9]{4,} ]]; then
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/"
+ inherit git-r3
+else
+ SRC_URI="https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-${P}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+fi
+S="${WORKDIR}/trace-cmd-${P}/lib"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+RDEPEND="
+ !<dev-util/trace-cmd-3.2
+ dev-libs/libtraceevent
+ dev-libs/libtracefs
+"
+DEPEND="${RDEPEND}
+ sys-kernel/linux-headers
+"
+BDEPEND="app-text/asciidoc"
+
+src_configure() {
+ local emesonargs=(
+ -Dasciidoctor=false
+ )
+
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+
+ find "${ED}" -type f -name '*.a' -delete || die
+}