mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
dev-libs/libtraceevent: Sync with Gentoo
It's from Gentoo commit 312fe2bd86800ba3bdb9835766b6cf7a8ec376c0.
This commit is contained in:
parent
6bb687f6d4
commit
728031d197
@ -1,2 +1,3 @@
|
||||
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
|
||||
|
||||
@ -6,10 +6,10 @@ EAPI=8
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Linux kernel trace event library"
|
||||
HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/"
|
||||
HOMEPAGE="https://www.trace-cmd.org/"
|
||||
|
||||
if [[ ${PV} =~ [9]{4,} ]]; then
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/"
|
||||
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"
|
||||
|
||||
@ -6,10 +6,10 @@ EAPI=8
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Linux kernel trace event library"
|
||||
HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/"
|
||||
HOMEPAGE="https://www.trace-cmd.org/"
|
||||
|
||||
if [[ ${PV} =~ [9]{4,} ]]; then
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/"
|
||||
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"
|
||||
|
||||
48
sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/libtraceevent-1.8.3.ebuild
vendored
Normal file
48
sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/libtraceevent-1.8.3.ebuild
vendored
Normal file
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user