libwnck: 40.1 → 43.0

https://gitlab.gnome.org/GNOME/libwnck/-/compare/40.1...43.0

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>

Co-Authored-By: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
Jan Tojnar 2022-09-16 23:41:26 +00:00
parent 1a3ac3b8aa
commit 77ac301054

View file

@ -1,4 +1,5 @@
{ lib, stdenv
{ stdenv
, lib
, fetchurl
, fetchpatch
, meson
@ -21,16 +22,25 @@
stdenv.mkDerivation rec {
pname = "libwnck";
version = "40.1";
version = "43.0";
outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "AxNPoRTvP740B1qoNnj1iqLevp/O9OojwHeeKGAdZhE=";
sha256 = "kFvNuFhH1rj4hh5WswzW3GHq5n7O9M2ZSp+SWiaiwf4=";
};
patches = [
# bamfdaemon crashes with libwnck3 43.0
# https://bugs.launchpad.net/ubuntu/+source/libwnck3/+bug/1990263
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/libwnck/-/commit/6ceb684442eb26e3bdb8a38bf52264ad55f96a7b.patch";
sha256 = "/1wCnElCrZB7XTDW/l3dxMKZ9czGnukbGu4/aQStoXE=";
})
];
nativeBuildInputs = [
meson
ninja