Skip to content

Commit 914d16e

Browse files
committed
mate.libmateweather: build against libsoup_3
1 parent 4f1cb3e commit 914d16e

File tree

2 files changed

+587
-2
lines changed

2 files changed

+587
-2
lines changed

pkgs/desktops/mate/libmateweather/default.nix

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{
22
lib,
33
stdenv,
4+
autoreconfHook,
45
fetchurl,
56
pkg-config,
67
gettext,
78
glib,
89
glib-networking,
910
libxml2,
1011
gtk3,
11-
libsoup_2_4,
12+
gtk-doc,
13+
libsoup_3,
1214
tzdata,
1315
mateUpdateScript,
1416
}:
@@ -22,17 +24,25 @@ stdenv.mkDerivation rec {
2224
sha256 = "VUNz3rWzk7nYSydd0spmyaSi0ObskgRPq4qlPjAy0rU=";
2325
};
2426

27+
patches = [
28+
# https://github.com/mate-desktop/libmateweather/pull/133
29+
./libsoup_3_support.patch
30+
];
31+
2532
strictDeps = true;
2633

2734
nativeBuildInputs = [
35+
autoreconfHook # the libsoup patch changes the autoconf file
2836
pkg-config
2937
gettext
3038
glib # glib-compile-schemas
39+
gtk-doc # required for autoconf
3140
libxml2 # xmllint
3241
];
3342

3443
buildInputs = [
35-
libsoup_2_4
44+
libxml2
45+
libsoup_3
3646
tzdata
3747
];
3848

0 commit comments

Comments
 (0)