gnome.gnome-logs: 43.0 → 45.beta

https://gitlab.gnome.org/GNOME/gnome-logs/-/compare/gnome-logs-43.0...gnome-logs-45.beta

Requires new libadwaita, use gnome.post_install().

Removes redundant check for pkg-config.

acac71e2c7

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
Bobby Rong 2023-08-09 09:25:56 +00:00 committed by Jan Tojnar
parent bf6a57c423
commit a8d3770df8

View File

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, meson
, ninja
, pkg-config
@ -23,25 +22,13 @@
stdenv.mkDerivation rec {
pname = "gnome-logs";
version = "43.0";
version = "45.beta";
src = fetchurl {
url = "mirror://gnome/sources/gnome-logs/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "M6k7l17CfISHglBIqnuK99XCNWWrz3t0yQKrez7CCGE=";
sha256 = "nbxJ/7J90jQuji/UmK8ltUENsjkQ/I7/XmiTrHa7jK4=";
};
patches = [
# Remove GTK 3 depndency
# https://gitlab.gnome.org/GNOME/gnome-logs/-/merge_requests/46
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-logs/-/commit/32193a1385b95012bc8e7007ada89566bd63697d.patch";
sha256 = "5WsTnfVpWZquU65pSLnk2M6VnY+qQPUi7A0cqMmzfrU=";
postFetch = ''
substituteInPlace "$out" --replace "43.1" "43.0"
'';
})
];
nativeBuildInputs = [
meson
ninja