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

libnotify: 0.8.6 -> 0.8.7 (#447288)

parents 738b9f35 ccbbeaa0
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchurl,
  fetchpatch,
  meson,
  ninja,
  pkg-config,
@@ -19,7 +20,7 @@

stdenv.mkDerivation rec {
  pname = "libnotify";
  version = "0.8.6";
  version = "0.8.7";

  outputs = [
    "out"
@@ -29,11 +30,20 @@ stdenv.mkDerivation rec {

  src = fetchurl {
    url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
    hash = "sha256-xVQKrvtg4dY7HFh8BfIoTr5y7OfQwOXkp3jP1YRLa1g=";
    hash = "sha256-S+FSAuxBhPzhrBWZfs5VMNK+Mv6Vc4da6xDjtXOFh0g=";
  };

  patches = [
    # build: Do not use GDesktopAppInfo if not available
    # https://gitlab.gnome.org/GNOME/libnotify/-/issues/62
    (fetchpatch {
      url = "https://gitlab.gnome.org/GNOME/libnotify/-/commit/13de65ad2a76255ffde5d6da91d246cd7226583b.patch";
      hash = "sha256-a1wiUQnrncPqL2OTY1sUWyvVcoI54bXPvkIkZAcC6kI=";
    })
  ];

  mesonFlags = [
    # disable tests as we don't need to depend on GTK (2/3)
    # disable tests as we don't need to depend on GTK 4
    "-Dtests=false"
    "-Ddocbook_docs=disabled"
    "-Dgtk_doc=false"