libnotify: 0.7.7 -> 0.7.8
* cleanup a bit using new helpers * move to meson to avoid need for gtk_doc and such * NEWS: https://gitlab.gnome.org/GNOME/libnotify/blob/0.7.8/NEWS * tag: https://gitlab.gnome.org/GNOME/libnotify/tags/0.7.8
This commit is contained in:
parent
c58c079223
commit
83f104a73e
@ -1,22 +1,32 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, autoreconfHook
|
{ stdenv, fetchurl, meson, ninja, pkgconfig
|
||||||
, glib, gdk_pixbuf, gobject-introspection }:
|
, glib, gdk_pixbuf, gobject-introspection, gnome3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
ver_maj = "0.7";
|
pname = "libnotify";
|
||||||
ver_min = "7";
|
version = "0.7.8";
|
||||||
name = "libnotify-${ver_maj}.${ver_min}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/libnotify/${ver_maj}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "017wgq9n00hx39n0hm784zn18hl721hbaijda868cm96bcqwxd4w";
|
sha256 = "1371csx0n92g60b5dmai4mmzdnx8081mc3kcgc6a0xipcq5rw839";
|
||||||
};
|
};
|
||||||
|
|
||||||
# disable tests as we don't need to depend on gtk+(2/3)
|
mesonFlags = [
|
||||||
configureFlags = [ "--disable-tests" ];
|
# disable tests as we don't need to depend on gtk+(2/3)
|
||||||
|
"-Dtests=false"
|
||||||
|
"-Ddocbook_docs=disabled"
|
||||||
|
"-Dgtk_doc=false"
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig autoreconfHook gobject-introspection ];
|
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection ];
|
||||||
buildInputs = [ glib gdk_pixbuf ];
|
buildInputs = [ glib gdk_pixbuf ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
versionPolicy = "none";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://developer.gnome.org/notification-spec/;
|
homepage = https://developer.gnome.org/notification-spec/;
|
||||||
description = "A library that sends desktop notifications to a notification daemon";
|
description = "A library that sends desktop notifications to a notification daemon";
|
||||||
|
Loading…
Reference in New Issue
Block a user