2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, glib, dbus-glib, libxklavier, libcanberra-gtk3, libnotify, nss, polkit, gnome3, mate, wrapGAppsHook
|
2017-08-31 04:03:41 +01:00
|
|
|
, pulseaudioSupport ? stdenv.config.pulseaudio or true, libpulseaudio
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mate-settings-daemon-${version}";
|
2018-06-18 21:57:10 +01:00
|
|
|
version = "1.20.3";
|
2017-08-31 04:03:41 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-13 22:44:07 +00:00
|
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
2018-06-18 21:57:10 +01:00
|
|
|
sha256 = "018f2yg4jd6hy0z7ks0s3jyjgpyi3vhd9j61951v5lb1x8ckzxhk";
|
2017-08-31 04:03:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2018-02-25 02:23:58 +00:00
|
|
|
dbus-glib
|
2017-08-31 04:03:41 +01:00
|
|
|
libxklavier
|
2018-02-25 02:23:58 +00:00
|
|
|
libcanberra-gtk3
|
2017-08-31 04:03:41 +01:00
|
|
|
libnotify
|
|
|
|
nss
|
|
|
|
polkit
|
|
|
|
gnome3.gtk
|
|
|
|
gnome3.dconf
|
|
|
|
mate.mate-desktop
|
|
|
|
mate.libmatekbd
|
|
|
|
mate.libmatemixer
|
|
|
|
] ++ stdenv.lib.optional pulseaudioSupport libpulseaudio;
|
|
|
|
|
|
|
|
configureFlags = stdenv.lib.optional pulseaudioSupport "--enable-pulse";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "MATE settings daemon";
|
|
|
|
homepage = https://github.com/mate-desktop/mate-settings-daemon;
|
|
|
|
license = with licenses; [ gpl2 lgpl21 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|