hotspot: 1.3.0 -> 1.4.0
- Hotspot now depends on kparts. - Enable debuginfod for elfutils, because perfparser needs debuginfod.h - Remove rust demangle cmake flags, because it is found at runtime now, see https://github.com/KDAB/hotspot/issues/269
This commit is contained in:
parent
b139bf1c47
commit
d611eb737a
1 changed files with 5 additions and 8 deletions
|
@ -9,6 +9,7 @@
|
||||||
, kio
|
, kio
|
||||||
, kitemmodels
|
, kitemmodels
|
||||||
, kitemviews
|
, kitemviews
|
||||||
|
, kparts
|
||||||
, kwindowsystem
|
, kwindowsystem
|
||||||
, libelf
|
, libelf
|
||||||
, qtbase
|
, qtbase
|
||||||
|
@ -21,13 +22,13 @@
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "hotspot";
|
pname = "hotspot";
|
||||||
version = "1.3.0";
|
version = "1.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "KDAB";
|
owner = "KDAB";
|
||||||
repo = "hotspot";
|
repo = "hotspot";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1f68bssh3p387hkavfjkqcf7qf7w5caznmjfjldicxphap4riqr5";
|
hash = "sha256-7GuIe8F3QqosW/XaN3KC1WeWcI7woUiEc9Nw0b+fSk0=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -36,12 +37,13 @@ mkDerivation rec {
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
elfutils
|
(elfutils.override { enableDebuginfod = true; }) # perfparser needs to find debuginfod.h
|
||||||
kconfigwidgets
|
kconfigwidgets
|
||||||
ki18n
|
ki18n
|
||||||
kio
|
kio
|
||||||
kitemmodels
|
kitemmodels
|
||||||
kitemviews
|
kitemviews
|
||||||
|
kparts
|
||||||
kwindowsystem
|
kwindowsystem
|
||||||
libelf
|
libelf
|
||||||
qtbase
|
qtbase
|
||||||
|
@ -60,11 +62,6 @@ mkDerivation rec {
|
||||||
mkdir -p 3rdparty/{perfparser,PrefixTickLabels}/.git
|
mkdir -p 3rdparty/{perfparser,PrefixTickLabels}/.git
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
|
||||||
"-DRUSTC_DEMANGLE_INCLUDE_DIR=${rustc-demangle}/include"
|
|
||||||
"-DRUSTC_DEMANGLE_LIBRARY=${rustc-demangle}/lib/librustc_demangle.so"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A GUI for Linux perf";
|
description = "A GUI for Linux perf";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in a new issue