diff options
Diffstat (limited to 'dev-util/kernelshark')
-rw-r--r-- | dev-util/kernelshark/Manifest | 2 | ||||
-rw-r--r-- | dev-util/kernelshark/kernelshark-2.2.0.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-util/kernelshark/Manifest b/dev-util/kernelshark/Manifest index 8e25fa962cd2..a0917072ad95 100644 --- a/dev-util/kernelshark/Manifest +++ b/dev-util/kernelshark/Manifest @@ -5,7 +5,9 @@ AUX kernelshark-2.1.0-no-ldconfig.patch 583 BLAKE2B 38cebadb90970f34644915a074cc DIST kernelshark-1.2.tar.gz 4298175 BLAKE2B 2ebe70c2b7c0691b65b0251027f1c558fc2fc5ef9bf61512d3ddd554fbb6ec349e36fca4dd0060c6b7db49eca0ec81a2f1296d635459b91883e54e77146ea3ae SHA512 059ac0ced71fa00de34c30ece433430f1e2fc36acb1b3a3f15cb84ce74d7a4f115e4ee8fbf9a256d5a731050aee02823a90a024dca4b4f6a17061652b871b935 DIST kernelshark-2.1.0.tar.gz 4098666 BLAKE2B 2798626c598ec2464f018b5808a6da460a552920c373dbf1eaba5d243e2f150da2a9a25668f8cb27e2ddc7dc286d4d5215d942893456de9339a63bde0e4d7381 SHA512 4b463cf06a919d67fa38ada8221e4702e2fac725d917e7abd12e1d69880ba964881ac549caf90bd7cb22edea4f28d7937494a05f75218f16fe2edcdff7161c3e DIST kernelshark-2.1.1.tar.gz 4099851 BLAKE2B d686a0c19b9daeb355fa3c57104b9147cd0b4e492a3b0b57e5fdbd450d265f963bb35c99b896039007ea47c983d86649381fd81ec9402e4482a39e962322de3a SHA512 8fd9d117401961bf892a46890a7fd97c17a2d9839704b43730a5bf90f5e2cf73c68da2453a2e208b1732055abfaf5ddd7532efe8de9256b4232abd172a04f89c +DIST kernelshark-2.2.0.tar.gz 4100601 BLAKE2B e68275b91a5a629a868e95c9b5f807c46e445e9d6e131093eb38b5a350af47dec5da9d4ec24a4b60a90ac6b3c70438236f6cd7d80fabccf420bae1603fc13338 SHA512 a2d2d2c9494189322ddb45eabe3aded8db9c72eca3d5afefc8d97b4b5011e9f93a3324aeabe19bc1917c3dbf67c75dcefbda831a2e82722bde5599f01e88c047 EBUILD kernelshark-1.2.ebuild 1256 BLAKE2B b7f5ce31272a8034fea5ecd17e259112d0b0b310e221c861529b5cef6e4a87532c6eb574938534e656171bc703eb546d1a4c60c40b0269f225acd9f7d5aa1b48 SHA512 4a85706ac373a672ed577ef0960583ba9010e2ebe801616a3829344322e1c4efd8882f15efab28aab138191196b4e0564a5d0c01dcec32232c73e04cc53e67e0 EBUILD kernelshark-2.1.0.ebuild 1334 BLAKE2B 36da94dd1146aa980b1bcf06a434e1070e8f1252b3c086d02cfb44985c7324b334510d03e147c0288dde74cb1c22616e616a417859f02b53f3b0a993fe7dcfde SHA512 d9ad05f7c7dff38233ecd71745ca0369508f8928a19690dfcfa9c00b0fd3359954d85b9c6643787d7ce68bc841375c6facc17456ee12b063bc53e92761d5e928 EBUILD kernelshark-2.1.1.ebuild 1295 BLAKE2B 36fd6bfbbcfb82377b4832d7ec04c8ed05adb0eec75e4be544539e9f502944ad88558020715dc195f4d4aa184e98c03eb602729536979486106f72f93969651f SHA512 0d69df0d1b565304c638439171ee9f145f4b7dd40866da9a8312945c923a47225526791b5b80b620019994b66fcf537fb65afef032926903867f1ffc1b4476c9 +EBUILD kernelshark-2.2.0.ebuild 1295 BLAKE2B aa8bd57008ecf363844b5dc6cecc16410c8c3b4d4048b2c89ca490327ac5891d737cfabf94ac6e396d94f2abb3110f654c36d3ba068f88a37b57f541977e3a5d SHA512 6e01fab90dbfd30cbfdeb26847d2067f7ed67b8c39b083bac4f54bf4a59f065ce4737c9a2d57f17f2ea6e3189e1929d7966329d3dd4ce603431f8c8775f69241 MISC metadata.xml 517 BLAKE2B aed46aea75417362e25b9c062134ed09fa831548e146224aa6632415e2250251f609e9db4b4d57027b867254dcc1f010f39efff1537305f09e0ff9fd91d345ec SHA512 37ae8b0aff222d6b52830578f6560514d1da51826df18b383ae7b58da7b7e8c34c2bc1fa4810de3f1dc9e33cf17fba9c2dbe51fefeeeafa3d3e345593e1ef378 diff --git a/dev-util/kernelshark/kernelshark-2.2.0.ebuild b/dev-util/kernelshark/kernelshark-2.2.0.ebuild new file mode 100644 index 000000000000..660f4388e049 --- /dev/null +++ b/dev-util/kernelshark/kernelshark-2.2.0.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 +} |