diff options
author | Sam James <sam@gentoo.org> | 2023-06-10 09:51:52 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-10 09:58:01 +0100 |
commit | bbebd5d60c2eb16871f99a1b1159f0ac7526f624 (patch) | |
tree | 3e29390ab65943bd937dfba4b7c7bee24495830c /dev-libs/libtraceevent/libtraceevent-1.7.3.ebuild | |
parent | dev-libs/libtraceevent: drop 1.7.1 (diff) | |
download | gentoo-bbebd5d60c2eb16871f99a1b1159f0ac7526f624.tar.gz gentoo-bbebd5d60c2eb16871f99a1b1159f0ac7526f624.tar.bz2 gentoo-bbebd5d60c2eb16871f99a1b1159f0ac7526f624.zip |
dev-libs/libtraceevent: add 1.7.3
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libtraceevent/libtraceevent-1.7.3.ebuild')
-rw-r--r-- | dev-libs/libtraceevent/libtraceevent-1.7.3.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/libtraceevent/libtraceevent-1.7.3.ebuild b/dev-libs/libtraceevent/libtraceevent-1.7.3.ebuild new file mode 100644 index 000000000000..a63395b2503e --- /dev/null +++ b/dev-libs/libtraceevent/libtraceevent-1.7.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 2019-2023 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="~amd64 ~arm64 ~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 + ) + + # 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 +} |