2017-08-31 04:03:41 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, glib, dbus_glib, libxklavier, libcanberra_gtk3, libnotify, nss, polkit, gnome3, mate, wrapGAppsHook
|
|
|
|
, pulseaudioSupport ? stdenv.config.pulseaudio or true, libpulseaudio
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mate-settings-daemon-${version}";
|
|
|
|
version = "${major-ver}.${minor-ver}";
|
|
|
|
major-ver = "1.18";
|
2017-12-23 15:46:49 +00:00
|
|
|
minor-ver = "2";
|
2017-08-31 04:03:41 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
|
2017-12-23 15:46:49 +00:00
|
|
|
sha256 = "0v2kdzfmfqq0avlrxnxysmkawy83g7sanmyhivisi5vg4rzsr0a4";
|
2017-08-31 04:03:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dbus_glib
|
|
|
|
libxklavier
|
|
|
|
libcanberra_gtk3
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|