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:
Magnus Groß 2022-12-18 00:43:09 +01:00
parent b139bf1c47
commit d611eb737a
No known key found for this signature in database
GPG Key ID: 56A1295EB9CA7359

View File

@ -9,6 +9,7 @@
, kio
, kitemmodels
, kitemviews
, kparts
, kwindowsystem
, libelf
, qtbase
@ -21,13 +22,13 @@
mkDerivation rec {
pname = "hotspot";
version = "1.3.0";
version = "1.4.0";
src = fetchFromGitHub {
owner = "KDAB";
repo = "hotspot";
rev = "v${version}";
sha256 = "1f68bssh3p387hkavfjkqcf7qf7w5caznmjfjldicxphap4riqr5";
hash = "sha256-7GuIe8F3QqosW/XaN3KC1WeWcI7woUiEc9Nw0b+fSk0=";
fetchSubmodules = true;
};
@ -36,12 +37,13 @@ mkDerivation rec {
extra-cmake-modules
];
buildInputs = [
elfutils
(elfutils.override { enableDebuginfod = true; }) # perfparser needs to find debuginfod.h
kconfigwidgets
ki18n
kio
kitemmodels
kitemviews
kparts
kwindowsystem
libelf
qtbase
@ -60,11 +62,6 @@ mkDerivation rec {
mkdir -p 3rdparty/{perfparser,PrefixTickLabels}/.git
'';
cmakeFlags = [
"-DRUSTC_DEMANGLE_INCLUDE_DIR=${rustc-demangle}/include"
"-DRUSTC_DEMANGLE_LIBRARY=${rustc-demangle}/lib/librustc_demangle.so"
];
meta = {
description = "A GUI for Linux perf";
longDescription = ''