diff options
author | Yixun Lan <dlan@gentoo.org> | 2024-01-24 06:23:45 +0000 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-05-30 01:34:36 +0000 |
commit | bf825951419f834c79b736004b54a65e8c086856 (patch) | |
tree | 79244bef1beae0f465aee7481015824aba31b3be /dev-libs/libtraceevent | |
parent | dev-python/pypax: Revbump, add py312 (bug #929492) (diff) | |
download | gentoo-bf825951419f834c79b736004b54a65e8c086856.tar.gz gentoo-bf825951419f834c79b736004b54a65e8c086856.tar.bz2 gentoo-bf825951419f834c79b736004b54a65e8c086856.zip |
dev-libs/libtraceevent: add 1.8.2
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.2.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/libtraceevent/Manifest b/dev-libs/libtraceevent/Manifest index 195d6b5bee98..d00587a58d29 100644 --- a/dev-libs/libtraceevent/Manifest +++ b/dev-libs/libtraceevent/Manifest @@ -1,3 +1,4 @@ DIST libtraceevent-1.6.3.tar.gz 140072 BLAKE2B 416fa68e2604c3cc71323171b084261e38f08f630a03afda0e2ecc4860c8b08dae10b2abaa2afae54d2b4e382720b43a6616a9ab8599759de102af918eeb24fc SHA512 8064eb18dda6fdbff020759ed92e785b87d34be9ebc30cb6085785edeb8d7252cabf8d33d8738a3ec407672a3d891884d0f0b4c551fce26c76fa8eaf61b9e2f5 DIST libtraceevent-1.7.2.tar.gz 148242 BLAKE2B 03eae9ea7a8cdf6b015af95031d6fbe8638361f8b0db836f48e9ef47c814465fad583440f80f0103e08758712bd24f7562e1a8678ab24d4a1749a0b88efa7a85 SHA512 aa6d14e6d2e8e64c7d53ba9f93d47331d5f1b5a5a624891ec18a08b0d4e3e82f7845d29957bb3fe4360151bb5870a67c69d5cb1f758bb2956d946221f186546e DIST libtraceevent-1.7.3.tar.gz 152363 BLAKE2B dcbca01f2246045f4f2377f91118e2468bca4344686b9e0349d04270543fea5648d5c227bdaf6e716d623bab8d03cec7a869bf67d03ca6a7836014854bbe40b8 SHA512 81302cb24a3fc71e8bd6a0ba975a2699eaa629ac0e90837bf8fc8e23e04156827d19b25544cdb506b0bf76d5f08699264c9ecb979f9218bdee6b0b0e7339b1e0 +DIST libtraceevent-1.8.2.tar.gz 155682 BLAKE2B afadd9f559bdc071b3741ce42b8bf0c320523f2b39c437bcf4180f277eb804c33b2feac447fae15a869164475fb5f019ef171b69be32c46b74e5f22a3ed3808b SHA512 52b7a23e8bf04feaa568199c99c98217fcb8df1b99d46197ef9edcea19b42e71ff9d2e6c45ebf5335ec782d636ad3d14be4acae5a9e5158650f5f62813081fa2 diff --git a/dev-libs/libtraceevent/libtraceevent-1.8.2.ebuild b/dev-libs/libtraceevent/libtraceevent-1.8.2.ebuild new file mode 100644 index 000000000000..4fa3852012cb --- /dev/null +++ b/dev-libs/libtraceevent/libtraceevent-1.8.2.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://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/" + +if [[ ${PV} =~ [9]{4,} ]]; then + EGIT_REPO_URI="git://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 +} |