Unverified Commit 42cc251a authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

mate.libmateweather: build against libsoup_3 (#398828)

parents 68745297 14133797
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  autoreconfHook,
  fetchurl,
  pkg-config,
  gettext,
@@ -8,11 +9,11 @@
  glib-networking,
  libxml2,
  gtk3,
  libsoup_2_4,
  gtk-doc,
  libsoup_3,
  tzdata,
  mateUpdateScript,
}:

stdenv.mkDerivation rec {
  pname = "libmateweather";
  version = "1.28.0";
@@ -22,17 +23,25 @@ stdenv.mkDerivation rec {
    sha256 = "VUNz3rWzk7nYSydd0spmyaSi0ObskgRPq4qlPjAy0rU=";
  };

  patches = [
    # https://github.com/mate-desktop/libmateweather/pull/133
    ./libsoup_3_support.patch
  ];

  strictDeps = true;

  nativeBuildInputs = [
    autoreconfHook # the libsoup patch changes the autoconf file
    pkg-config
    gettext
    glib # glib-compile-schemas
    gtk-doc # required for autoconf
    libxml2 # xmllint
  ];

  buildInputs = [
    libsoup_2_4
    libxml2
    libsoup_3
    tzdata
  ];

@@ -44,7 +53,6 @@ stdenv.mkDerivation rec {

  configureFlags = [
    "--with-zoneinfo-dir=${tzdata}/share/zoneinfo"
    "--enable-locations-compression"
  ];

  preFixup = "rm -f $out/share/icons/mate/icon-theme.cache";
+575 −0

File added.

Preview size limit exceeded, changes collapsed.