2018-02-25 03:23:58 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, dbus-glib, libXScrnSaver, libnotify, pam, systemd, mate, wrapGAppsHook }:
|
2017-12-31 15:11:14 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "mate-screensaver";
|
2019-09-23 12:00:58 +02:00
|
|
|
version = "1.22.2";
|
2017-12-31 15:11:14 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-12-13 23:37:37 +01:00
|
|
|
url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-09-23 12:00:58 +02:00
|
|
|
sha256 = "1y8828g4bys8y4r5y478z6i7dgdqm2wkymi5fq75vxx4lzq919cb";
|
2017-12-31 15:11:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
2018-02-25 03:23:58 +01:00
|
|
|
dbus-glib
|
2017-12-31 15:11:14 +01:00
|
|
|
libXScrnSaver
|
|
|
|
libnotify
|
|
|
|
pam
|
|
|
|
systemd
|
2018-02-13 23:44:07 +01:00
|
|
|
mate.mate-desktop
|
|
|
|
mate.mate-menus
|
2017-12-31 15:11:14 +01:00
|
|
|
];
|
|
|
|
|
2018-07-25 23:44:21 +02:00
|
|
|
configureFlags = [ "--without-console-kit" ];
|
2017-12-31 15:11:14 +01:00
|
|
|
|
2019-10-27 14:03:25 +01:00
|
|
|
makeFlags = [ "DBUS_SESSION_SERVICE_DIR=$(out)/etc" ];
|
2017-12-31 15:11:14 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Screen saver and locker for the MATE desktop";
|
2019-04-15 01:25:45 +02:00
|
|
|
homepage = https://mate-desktop.org;
|
2017-12-31 15:11:14 +01:00
|
|
|
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|