mate.mate-system-monitor: 1.26.3 -> 1.28.1

https://github.com/mate-desktop/mate-system-monitor/compare/v1.26.3...v1.28.1

Drops libwnck since upstream discourages building wnck support.
https://github.com/mate-desktop/mate-system-monitor/blob/v1.28.0/meson_options.txt#L2

Systemd support is now enabled by default.
bc1296b16d

Also fixes mate-version.xml path.
This commit is contained in:
Bobby Rong 2024-02-17 09:53:57 +00:00
parent beb53ce8fe
commit 1340971c12
No known key found for this signature in database

View File

@ -7,21 +7,21 @@
, gtkmm3
, libxml2
, libgtop
, libwnck
, librsvg
, polkit
, systemd
, wrapGAppsHook
, mate-desktop
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-system-monitor";
version = "1.26.3";
version = "1.28.1";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "WFthNBX3bucDt7XlK1WWKUKVB+A8kwVKSq3Pb5xlIkk=";
sha256 = "QtZj1rkPtTYevBP2VHmD1vHirHXcKuTxysbqYymWWiU=";
};
nativeBuildInputs = [
@ -35,13 +35,16 @@ stdenv.mkDerivation rec {
gtkmm3
libxml2
libgtop
libwnck
librsvg
polkit
systemd
];
configureFlags = [ "--enable-systemd" ];
postPatch = ''
# This package does not provide mate-version.xml.
substituteInPlace src/sysinfo.cpp \
--replace-fail 'DATADIR "/mate-about/mate-version.xml"' '"${mate-desktop}/share/mate-about/mate-version.xml"'
'';
enableParallelBuilding = true;