public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/kernelshark/, dev-util/kernelshark/files/
@ 2019-07-26 17:26 Patrick McLean
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick McLean @ 2019-07-26 17:26 UTC (permalink / raw
  To: gentoo-commits

commit:     87f4a1b2fba5868ef23640c36b01fc3762d0dcb2
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Fri Jul 26 17:26:43 2019 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Jul 26 17:26:43 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87f4a1b2

dev-util/kernelshark: New package

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-util/kernelshark/Manifest                      |  1 +
 .../kernelshark/files/kernelshark-1.0-build.patch  | 33 ++++++++++++
 .../files/kernelshark-1.0-desktop-version.patch    | 11 ++++
 dev-util/kernelshark/kernelshark-1.0.ebuild        | 58 ++++++++++++++++++++++
 dev-util/kernelshark/kernelshark-9999.ebuild       | 58 ++++++++++++++++++++++
 dev-util/kernelshark/metadata.xml                  | 12 +++++
 6 files changed, 173 insertions(+)

diff --git a/dev-util/kernelshark/Manifest b/dev-util/kernelshark/Manifest
new file mode 100644
index 00000000000..dcdebcda120
--- /dev/null
+++ b/dev-util/kernelshark/Manifest
@@ -0,0 +1 @@
+DIST kernelshark-1.0.tar.gz 4238163 BLAKE2B edae4bcaf646a8c430e64205cd5d137d8df7eb839075b4bb5da459852e1bb887eaa98de51afd1884cfd27833d3513fc26995fba6964220eb8b95a317d3e4e057 SHA512 ff9f0846ba7105813742bb56887870eff8af4f525864ab75d37dcb2dd6c2222fbd500fd08140d605c3f0021d88991c114e0ffeb7da9ada979bdd78defaa1c266

diff --git a/dev-util/kernelshark/files/kernelshark-1.0-build.patch b/dev-util/kernelshark/files/kernelshark-1.0-build.patch
new file mode 100644
index 00000000000..411d4235a21
--- /dev/null
+++ b/dev-util/kernelshark/files/kernelshark-1.0-build.patch
@@ -0,0 +1,33 @@
+diff --git a/CMakeLists.txt b/kernel-shark/CMakeLists.txt
+index 45c6f23..e2394d9 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -63,11 +63,11 @@ set(KS_LOGO_LABEL  KS_logo_horizontal.svg)
+ 
+ set(CMAKE_INSTALL_RPATH "${_INSTALL_PREFIX}/lib/${KS_APP_NAME}/")
+ 
+-if (CMAKE_BUILD_TYPE MATCHES Package)
++if (NOT CMAKE_BUILD_TYPE MATCHES Package)
+ 
+     set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
+ 
+-else (CMAKE_BUILD_TYPE MATCHES Package)
++else (CMAKE_BUILD_TYPE MATCHES Gentoo)
+ 
+     set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
+ 
+diff --git a/build/FindTraceCmd.cmake b/kernel-shark/build/FindTraceCmd.cmake
+index 2da4eee..c454ce6 100644
+--- a/build/FindTraceCmd.cmake
++++ b/build/FindTraceCmd.cmake
+@@ -40,8 +40,8 @@ find_library(TRACEEVENT_LIBRARY NAMES  traceevent/libtraceevent.a
+ # search was successful "find_path" will do nothing this time.
+ find_program(TRACECMD_EXECUTABLE   NAMES  trace-cmd)
+ find_path(TRACECMD_INCLUDE_DIR  NAMES  trace-cmd/trace-cmd.h)
+-find_library(TRACECMD_LIBRARY   NAMES  trace-cmd/libtracecmd.so)
+-find_library(TRACEEVENT_LIBRARY NAMES  traceevent/libtraceevent.so)
++find_library(TRACECMD_LIBRARY   NAMES  libtracecmd.so)
++find_library(TRACEEVENT_LIBRARY NAMES  libtraceevent.so)
+ 
+ IF (TRACECMD_INCLUDE_DIR AND TRACECMD_LIBRARY AND TRACECMD_EXECUTABLE)
+ 

diff --git a/dev-util/kernelshark/files/kernelshark-1.0-desktop-version.patch b/dev-util/kernelshark/files/kernelshark-1.0-desktop-version.patch
new file mode 100644
index 00000000000..2b9b444958d
--- /dev/null
+++ b/dev-util/kernelshark/files/kernelshark-1.0-desktop-version.patch
@@ -0,0 +1,11 @@
+diff --git a/kernel-shark/build/ks.desktop.cmake b/kernel-shark/build/ks.desktop.cmake
+index 2b02c0d..34c02ea 100644
+--- a/build/ks.desktop.cmake
++++ b/build/ks.desktop.cmake
+@@ -1,5 +1,5 @@
+ [Desktop Entry]
+-Version=@KS_VERSION_STRING@
++Version=1.1
+ Type=Application
+ Name=Kernel Shark
+ GenericName=Kernel Shark

diff --git a/dev-util/kernelshark/kernelshark-1.0.ebuild b/dev-util/kernelshark/kernelshark-1.0.ebuild
new file mode 100644
index 00000000000..44d6447fb0e
--- /dev/null
+++ b/dev-util/kernelshark/kernelshark-1.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic cmake-utils
+
+DESCRIPTION="Graphical reader for trace-cmd output"
+HOMEPAGE="http://kernelshark.org/"
+
+if [[ ${PV} =~ [9]{4,} ]]; then
+	EGIT_REPO_URI="https://github.com/rostedt/trace-cmd.git"
+	inherit git-r3
+	S="${WORKDIR}/${P}/kernel-shark"
+
+else
+	MY_P="${PN}-v${PV}"
+	SRC_URI="https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-${MY_P}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+	S="${WORKDIR}/trace-cmd-${MY_P}/kernel-shark"
+
+fi
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+IUSE="custom-optimization doc"
+
+DEPEND=">=dev-util/trace-cmd-2.8.3:=
+	dev-libs/json-c:=
+	>=media-libs/freeglut-3.0.0:=
+	x11-libs/libXmu:=
+	x11-libs/libXi:=
+	dev-qt/qtcore:5=
+	dev-qt/qtwidgets:5=
+	dev-qt/qtnetwork:5=
+"
+RDEPEND="${DEPEND}"
+BDEPEND=">=dev-util/cmake-2.8.11
+	doc? (
+		media-gfx/graphviz
+		app-doc/doxygen
+	)
+"
+
+PATCHES=(
+	"${FILESDIR}/kernelshark-1.0-build.patch"
+	"${FILESDIR}/kernelshark-1.0-desktop-version.patch"
+)
+
+src_configure() {
+	local mycmakeargs=(
+		-D_INSTALL_PREFIX="${EPREFIX}/usr"
+		-DTRACECMD_INCLUDE_DIR="${EPREFIX}/usr/include/trace-cmd"
+		-D_DOXYGEN_DOC="$(usex doc)"
+	)
+	use custom-optimization || replace-flags -O? -O3
+	cmake-utils_src_configure
+}

diff --git a/dev-util/kernelshark/kernelshark-9999.ebuild b/dev-util/kernelshark/kernelshark-9999.ebuild
new file mode 100644
index 00000000000..44d6447fb0e
--- /dev/null
+++ b/dev-util/kernelshark/kernelshark-9999.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic cmake-utils
+
+DESCRIPTION="Graphical reader for trace-cmd output"
+HOMEPAGE="http://kernelshark.org/"
+
+if [[ ${PV} =~ [9]{4,} ]]; then
+	EGIT_REPO_URI="https://github.com/rostedt/trace-cmd.git"
+	inherit git-r3
+	S="${WORKDIR}/${P}/kernel-shark"
+
+else
+	MY_P="${PN}-v${PV}"
+	SRC_URI="https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-${MY_P}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+	S="${WORKDIR}/trace-cmd-${MY_P}/kernel-shark"
+
+fi
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+IUSE="custom-optimization doc"
+
+DEPEND=">=dev-util/trace-cmd-2.8.3:=
+	dev-libs/json-c:=
+	>=media-libs/freeglut-3.0.0:=
+	x11-libs/libXmu:=
+	x11-libs/libXi:=
+	dev-qt/qtcore:5=
+	dev-qt/qtwidgets:5=
+	dev-qt/qtnetwork:5=
+"
+RDEPEND="${DEPEND}"
+BDEPEND=">=dev-util/cmake-2.8.11
+	doc? (
+		media-gfx/graphviz
+		app-doc/doxygen
+	)
+"
+
+PATCHES=(
+	"${FILESDIR}/kernelshark-1.0-build.patch"
+	"${FILESDIR}/kernelshark-1.0-desktop-version.patch"
+)
+
+src_configure() {
+	local mycmakeargs=(
+		-D_INSTALL_PREFIX="${EPREFIX}/usr"
+		-DTRACECMD_INCLUDE_DIR="${EPREFIX}/usr/include/trace-cmd"
+		-D_DOXYGEN_DOC="$(usex doc)"
+	)
+	use custom-optimization || replace-flags -O? -O3
+	cmake-utils_src_configure
+}

diff --git a/dev-util/kernelshark/metadata.xml b/dev-util/kernelshark/metadata.xml
new file mode 100644
index 00000000000..8de31ac92c9
--- /dev/null
+++ b/dev-util/kernelshark/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>chutzpah@gentoo.org</email>
+    <name>Patrick McLean</name>
+  </maintainer>
+  <use>
+    <flag name="custom-optimization">Build with user-specified compiler optimizations
+      (-Os, -O0, -O1, -O2, -O3) from CFLAGS</flag>
+  </use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/kernelshark/, dev-util/kernelshark/files/
@ 2021-05-23 17:46 Andreas Sturmlechner
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2021-05-23 17:46 UTC (permalink / raw
  To: gentoo-commits

commit:     4175029b23c735769cb490583befe77d091608e5
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat May 22 18:45:34 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun May 23 17:45:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4175029b

dev-util/kernelshark: Drop unmaintained and broken 9999 ebuild

Closes: https://bugs.gentoo.org/726682
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../kernelshark/files/kernelshark-1.0-build.patch  | 33 ------------
 .../files/kernelshark-1.0-desktop-version.patch    | 11 ----
 dev-util/kernelshark/kernelshark-9999.ebuild       | 58 ----------------------
 3 files changed, 102 deletions(-)

diff --git a/dev-util/kernelshark/files/kernelshark-1.0-build.patch b/dev-util/kernelshark/files/kernelshark-1.0-build.patch
deleted file mode 100644
index 411d4235a21..00000000000
--- a/dev-util/kernelshark/files/kernelshark-1.0-build.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff --git a/CMakeLists.txt b/kernel-shark/CMakeLists.txt
-index 45c6f23..e2394d9 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -63,11 +63,11 @@ set(KS_LOGO_LABEL  KS_logo_horizontal.svg)
- 
- set(CMAKE_INSTALL_RPATH "${_INSTALL_PREFIX}/lib/${KS_APP_NAME}/")
- 
--if (CMAKE_BUILD_TYPE MATCHES Package)
-+if (NOT CMAKE_BUILD_TYPE MATCHES Package)
- 
-     set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
- 
--else (CMAKE_BUILD_TYPE MATCHES Package)
-+else (CMAKE_BUILD_TYPE MATCHES Gentoo)
- 
-     set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
- 
-diff --git a/build/FindTraceCmd.cmake b/kernel-shark/build/FindTraceCmd.cmake
-index 2da4eee..c454ce6 100644
---- a/build/FindTraceCmd.cmake
-+++ b/build/FindTraceCmd.cmake
-@@ -40,8 +40,8 @@ find_library(TRACEEVENT_LIBRARY NAMES  traceevent/libtraceevent.a
- # search was successful "find_path" will do nothing this time.
- find_program(TRACECMD_EXECUTABLE   NAMES  trace-cmd)
- find_path(TRACECMD_INCLUDE_DIR  NAMES  trace-cmd/trace-cmd.h)
--find_library(TRACECMD_LIBRARY   NAMES  trace-cmd/libtracecmd.so)
--find_library(TRACEEVENT_LIBRARY NAMES  traceevent/libtraceevent.so)
-+find_library(TRACECMD_LIBRARY   NAMES  libtracecmd.so)
-+find_library(TRACEEVENT_LIBRARY NAMES  libtraceevent.so)
- 
- IF (TRACECMD_INCLUDE_DIR AND TRACECMD_LIBRARY AND TRACECMD_EXECUTABLE)
- 

diff --git a/dev-util/kernelshark/files/kernelshark-1.0-desktop-version.patch b/dev-util/kernelshark/files/kernelshark-1.0-desktop-version.patch
deleted file mode 100644
index 2b9b444958d..00000000000
--- a/dev-util/kernelshark/files/kernelshark-1.0-desktop-version.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff --git a/kernel-shark/build/ks.desktop.cmake b/kernel-shark/build/ks.desktop.cmake
-index 2b02c0d..34c02ea 100644
---- a/build/ks.desktop.cmake
-+++ b/build/ks.desktop.cmake
-@@ -1,5 +1,5 @@
- [Desktop Entry]
--Version=@KS_VERSION_STRING@
-+Version=1.1
- Type=Application
- Name=Kernel Shark
- GenericName=Kernel Shark

diff --git a/dev-util/kernelshark/kernelshark-9999.ebuild b/dev-util/kernelshark/kernelshark-9999.ebuild
deleted file mode 100644
index 969302e6c70..00000000000
--- a/dev-util/kernelshark/kernelshark-9999.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 2019-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic cmake-utils
-
-DESCRIPTION="Graphical reader for trace-cmd output"
-HOMEPAGE="https://kernelshark.org/"
-
-if [[ ${PV} =~ [9]{4,} ]]; then
-	EGIT_REPO_URI="https://github.com/rostedt/trace-cmd.git"
-	inherit git-r3
-	S="${WORKDIR}/${P}/kernel-shark"
-
-else
-	MY_P="${PN}-v${PV}"
-	SRC_URI="https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-${MY_P}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
-	S="${WORKDIR}/trace-cmd-${MY_P}/kernel-shark"
-
-fi
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-IUSE="custom-optimization doc"
-
-DEPEND=">=dev-util/trace-cmd-2.8.3:=
-	dev-libs/json-c:=
-	>=media-libs/freeglut-3.0.0:=
-	x11-libs/libXmu:=
-	x11-libs/libXi:=
-	dev-qt/qtcore:5=
-	dev-qt/qtwidgets:5=
-	dev-qt/qtnetwork:5=
-"
-RDEPEND="${DEPEND}"
-BDEPEND=">=dev-util/cmake-2.8.11
-	doc? (
-		media-gfx/graphviz
-		app-doc/doxygen
-	)
-"
-
-PATCHES=(
-	"${FILESDIR}/kernelshark-1.0-build.patch"
-	"${FILESDIR}/kernelshark-1.0-desktop-version.patch"
-)
-
-src_configure() {
-	local mycmakeargs=(
-		-D_INSTALL_PREFIX="${EPREFIX}/usr"
-		-DTRACECMD_INCLUDE_DIR="${EPREFIX}/usr/include/trace-cmd"
-		-D_DOXYGEN_DOC="$(usex doc)"
-	)
-	use custom-optimization || replace-flags -O? -O3
-	cmake-utils_src_configure
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/kernelshark/, dev-util/kernelshark/files/
@ 2024-05-30  1:51 Yixun Lan
  0 siblings, 0 replies; 3+ messages in thread
From: Yixun Lan @ 2024-05-30  1:51 UTC (permalink / raw
  To: gentoo-commits

commit:     9219b2f0c7714280769956b831dc7807b279e6cc
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 24 09:29:45 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu May 30 01:35:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9219b2f0

dev-util/kernelshark: add 2.3.1

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-util/kernelshark/Manifest                      |  1 +
 .../files/kernelshark-2.3.1-algorithm.patch        | 12 +++++
 dev-util/kernelshark/kernelshark-2.3.1.ebuild      | 59 ++++++++++++++++++++++
 3 files changed, 72 insertions(+)

diff --git a/dev-util/kernelshark/Manifest b/dev-util/kernelshark/Manifest
index f3b6bab4411a..5db8967c1806 100644
--- a/dev-util/kernelshark/Manifest
+++ b/dev-util/kernelshark/Manifest
@@ -1,2 +1,3 @@
 DIST kernelshark-2.2.0.tar.gz 4100601 BLAKE2B e68275b91a5a629a868e95c9b5f807c46e445e9d6e131093eb38b5a350af47dec5da9d4ec24a4b60a90ac6b3c70438236f6cd7d80fabccf420bae1603fc13338 SHA512 a2d2d2c9494189322ddb45eabe3aded8db9c72eca3d5afefc8d97b4b5011e9f93a3324aeabe19bc1917c3dbf67c75dcefbda831a2e82722bde5599f01e88c047
 DIST kernelshark-2.2.1.tar.gz 4100400 BLAKE2B a11e61660cbf98bbbb7c5060014b4de8e05f6957f2eb5519c3a109d91e5297a4532af3c958471ab181ddc8cbb061d1a493b3f40b71efb3abe3d47640a4ab87cc SHA512 1e0b17de02b82a20f6f78ebbfe61c63550947c3275e1262ae6edfd4675f7d1f976955ed37b14f2a214675a83e43135e605c244b4a5f920ebcdeaabcda7510d10
+DIST kernelshark-2.3.1.tar.gz 4100178 BLAKE2B 818448c3d2e01412e12fc3406b13ffd4d6ab7d442aef7867048913996edbc7f64b2c2c9e88810d6c0bd9e8a6ee9726369ab097d2164ec9966660f098e123c702 SHA512 ba5e7ebc713d296bef211174869445ccb3dffb8a96d0634776bd28c183487225e7c8082c8be5957795973833d6ac67851fb46f75cf68aae66eb3e5e06c081f5f

diff --git a/dev-util/kernelshark/files/kernelshark-2.3.1-algorithm.patch b/dev-util/kernelshark/files/kernelshark-2.3.1-algorithm.patch
new file mode 100644
index 000000000000..8a007bb02bc2
--- /dev/null
+++ b/dev-util/kernelshark/files/kernelshark-2.3.1-algorithm.patch
@@ -0,0 +1,12 @@
+diff --git a/src/plugins/LatencyPlot.cpp b/src/plugins/LatencyPlot.cpp
+index d412917..3597f5d 100644
+--- a/src/plugins/LatencyPlot.cpp
++++ b/src/plugins/LatencyPlot.cpp
+@@ -13,6 +13,7 @@
+ #include <math.h>
+ 
+ // C++
++#include <algorithm>
+ #include <unordered_map>
+ #include <iostream>
+ 

diff --git a/dev-util/kernelshark/kernelshark-2.3.1.ebuild b/dev-util/kernelshark/kernelshark-2.3.1.ebuild
new file mode 100644
index 000000000000..dccf255b4d8c
--- /dev/null
+++ b/dev-util/kernelshark/kernelshark-2.3.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2019-2024 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-libs/libtracecmd <dev-util/trace-cmd-3.2 )
+	dev-libs/json-c:=
+	dev-qt/qtbase:6=[network,widgets]
+	dev-qt/qtscxml:6=
+	>=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-text/doxygen
+	)"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.1.0-no-ldconfig.patch
+	"${FILESDIR}"/${PN}-2.3.1-algorithm.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
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-30  1:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-23 17:46 [gentoo-commits] repo/gentoo:master commit in: dev-util/kernelshark/, dev-util/kernelshark/files/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2024-05-30  1:51 Yixun Lan
2019-07-26 17:26 Patrick McLean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox