From e1114f7a914a6679ee7751c878b857b2fc193b52 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 1 Jul 2023 17:28:37 +0100 Subject: gentoo auto-resync : 01:07:2023 - 17:28:37 --- dev-util/Manifest.gz | Bin 68450 -> 68450 bytes dev-util/kernelshark/Manifest | 2 + dev-util/kernelshark/kernelshark-2.2.1.ebuild | 59 ++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 dev-util/kernelshark/kernelshark-2.2.1.ebuild (limited to 'dev-util') diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz index 2a712927522c..c225427e1fc4 100644 Binary files a/dev-util/Manifest.gz and b/dev-util/Manifest.gz differ diff --git a/dev-util/kernelshark/Manifest b/dev-util/kernelshark/Manifest index d548c391fc8c..5c3aa4e8a2a0 100644 --- a/dev-util/kernelshark/Manifest +++ b/dev-util/kernelshark/Manifest @@ -1,4 +1,6 @@ AUX kernelshark-2.1.0-no-ldconfig.patch 583 BLAKE2B 38cebadb90970f34644915a074cc14867e495e44df35714131d7bd302029dc80b79645f443b5d1f0b6228860535848de60a8930ed94b0c54aeb09f0a606a2539 SHA512 60031ff80c80c7f533c59dd997128ef23091bb693473d2177d2731705e3bd5e516027c424020dfe9f8aa8613d62e8477745f27f187eb5a3b84ccf7d31947cc4c DIST kernelshark-2.2.0.tar.gz 4100601 BLAKE2B e68275b91a5a629a868e95c9b5f807c46e445e9d6e131093eb38b5a350af47dec5da9d4ec24a4b60a90ac6b3c70438236f6cd7d80fabccf420bae1603fc13338 SHA512 a2d2d2c9494189322ddb45eabe3aded8db9c72eca3d5afefc8d97b4b5011e9f93a3324aeabe19bc1917c3dbf67c75dcefbda831a2e82722bde5599f01e88c047 +DIST kernelshark-2.2.1.tar.gz 4100400 BLAKE2B a11e61660cbf98bbbb7c5060014b4de8e05f6957f2eb5519c3a109d91e5297a4532af3c958471ab181ddc8cbb061d1a493b3f40b71efb3abe3d47640a4ab87cc SHA512 1e0b17de02b82a20f6f78ebbfe61c63550947c3275e1262ae6edfd4675f7d1f976955ed37b14f2a214675a83e43135e605c244b4a5f920ebcdeaabcda7510d10 EBUILD kernelshark-2.2.0.ebuild 1295 BLAKE2B aa8bd57008ecf363844b5dc6cecc16410c8c3b4d4048b2c89ca490327ac5891d737cfabf94ac6e396d94f2abb3110f654c36d3ba068f88a37b57f541977e3a5d SHA512 6e01fab90dbfd30cbfdeb26847d2067f7ed67b8c39b083bac4f54bf4a59f065ce4737c9a2d57f17f2ea6e3189e1929d7966329d3dd4ce603431f8c8775f69241 +EBUILD kernelshark-2.2.1.ebuild 1295 BLAKE2B aa8bd57008ecf363844b5dc6cecc16410c8c3b4d4048b2c89ca490327ac5891d737cfabf94ac6e396d94f2abb3110f654c36d3ba068f88a37b57f541977e3a5d SHA512 6e01fab90dbfd30cbfdeb26847d2067f7ed67b8c39b083bac4f54bf4a59f065ce4737c9a2d57f17f2ea6e3189e1929d7966329d3dd4ce603431f8c8775f69241 MISC metadata.xml 517 BLAKE2B aed46aea75417362e25b9c062134ed09fa831548e146224aa6632415e2250251f609e9db4b4d57027b867254dcc1f010f39efff1537305f09e0ff9fd91d345ec SHA512 37ae8b0aff222d6b52830578f6560514d1da51826df18b383ae7b58da7b7e8c34c2bc1fa4810de3f1dc9e33cf17fba9c2dbe51fefeeeafa3d3e345593e1ef378 diff --git a/dev-util/kernelshark/kernelshark-2.2.1.ebuild b/dev-util/kernelshark/kernelshark-2.2.1.ebuild new file mode 100644 index 000000000000..660f4388e049 --- /dev/null +++ b/dev-util/kernelshark/kernelshark-2.2.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic cmake + +DESCRIPTION="Graphical reader for trace-cmd output" +HOMEPAGE="https://kernelshark.org/" + +if [[ ${PV} =~ [9]{4,} ]]; then + EGIT_REPO_URI="https://git.kernel.org/pub/scm/utils/trace-cmd/kernel-shark.git/" + inherit git-r3 + S="${WORKDIR}/${P}/kernel-shark" + +else + MY_P="kernel-shark-${PN}-v${PV}" + SRC_URI="https://git.kernel.org/pub/scm/utils/trace-cmd/kernel-shark.git/snapshot/${MY_P}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +IUSE="custom-optimization doc" + +DEPEND=" + >=dev-util/trace-cmd-3.0.2 + dev-libs/json-c:= + dev-qt/qtcore:5= + dev-qt/qtnetwork:5= + dev-qt/qtwidgets:5= + >=media-libs/freeglut-3.0.0:= + x11-libs/libXmu:= + x11-libs/libXi:= + >=dev-libs/libtracefs-1.3 + >=dev-libs/libtraceevent-1.5 + media-fonts/freefont +" +RDEPEND="${DEPEND}" +BDEPEND=" + doc? ( + media-gfx/graphviz + app-doc/doxygen + )" + +PATCHES=( + "${FILESDIR}"/${PN}-2.1.0-no-ldconfig.patch +) + +src_configure() { + local mycmakeargs=( + -D_INSTALL_PREFIX="${EPREFIX}/usr" + -D_LIBDIR="${EPREFIX}/usr/$(get_libdir)" + -D_DOXYGEN_DOC=$(usex doc) + ) + use custom-optimization || replace-flags -O? -O3 + cmake_src_configure +} -- cgit v1.2.3